sql-server-2000
Can a SQL Server 2000 table have no PK, and therefore contain duplicate records?
I have an audit table and instead of defining an identity or ticketed column, I\'m considering just pushing in the records of the recorded table (via triggers).[详细]
2023-04-07 00:39 分类:问答"Error 8525:Eithe enlist this session in a new transaction or the null transaction" in a distributed transaction with many records transfer
I have a linked server from SQL2008 to SQL2kSp3. I want to Insert,Update,Delete records in SQL2008 according to inserted,updated,deleted records in SQL2kSp3.[详细]
2023-04-06 14:17 分类:问答Case when exists then select
I have requirement to select the field from the table in case statement like instead of some static value.[详细]
2023-04-06 07:43 分类:问答SQL Server 2000 and SQL Server 2008 queries
We are testing the a procedure in 2008 sql server. This procedure have only following delete query. delete from dbo.tgrid_detl[详细]
2023-04-06 00:41 分类:问答In sql2000 through sql 2008r2 is it ok to use bigint for primary key and foreign keys on all tables in a database?
I want to standardize my database to a consistent primary key because of a move from sql 2000 to sql 2008r2.Is using bigint a good way to go for use with primary keys and foreign keys and can it be au[详细]
2023-04-05 17:36 分类:问答SQL Server 2000 - Bulk insert from dataset/or C# collection
I know SQL Server 2000 has a bulk insert.Does it support bulk insert from a C# collection, such as a 开发者_Go百科dataset?[详细]
2023-04-04 20:42 分类:问答using @@identity when a trigger is fired in response to an INSERT, and the trigger executes another INSERT statement
I have following tables: tbl_workshop idintidentity Name nvarchar(10) Address nvarchar(40) tbl_workshop_temp[详细]
2023-04-04 15:29 分类:问答SQL Server 2000 - How to create a new table in existing database with prefix dbo?
All existing tables are with prefix dbo.TableNames When I create a new table, it creates as login.MyTable instead of dbo.MyTable.[详细]
2023-04-04 08:47 分类:问答SQL - Programmatically rename all table columns in a database
Say I have a table: UltimateTable.It has columns:UltimateColumn1, UltimateColumn2.They should be renamed[详细]
2023-04-04 07:26 分类:问答Concatenate date ranges in SQL (T/SQL preferred)
I need to concatenate rows with a date and a code into a date range Table with two columns that are a composite primary key (date and a code )[详细]
2023-04-03 12:56 分类:问答