Questions tagged by "sql-server"


$0
 bounty
1
answers
.Net - Error - SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM
5 years ago • lampego1@qrid
I am creating an object in C#, populating it with some data and then trying to save it into SQL Server table: User someUser = new User() { UserName = "TestUser", CreateDate = DateTime.MinValue }; I am getting the following error from MS SQL Server: > Error - SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM Please help! Thanks!
$0
 bounty
1
answers
Cannot drop an index that is being used for PK constraint enforcement (MS SQL Server 2008)
5 years ago • lampego1@qrid
I am trying to execute the following SQL command: DROP INDEX pk_name_PK ON [dbo].[TableName]; I am getting the following error: It is being used for PRIMARY KEY constraint enforcement. Please help! Thanks!
1 - 2 of 2 items