Viewing 15 posts - 2,446 through 2,460 (of 3,655 total)
Has your database been backed up to append(rather than overwrite) the backup to a previous backup file?
February 15, 2006 at 1:15 am
Float is an approximate datatype so you can get some unusual values for seemingly simple maths.
Decimal and Numeric are precise values.
February 15, 2006 at 1:14 am
If you want to reset an identity range then
DBCC CHECKIDENT('YourTable',RESEED,0)
If you want to explicitly add a record that over rides the identity then
SET IDENTITY_INSERT dbo.YourTable ON
INSERT Yourtable(PKField,OtherFields) VALUES (0,Yourvalues)
SET IDENTITY_INSERT...
February 15, 2006 at 1:11 am
If all you want is a rowcount and you are prepared to put up with an estimate then set up your function to pass in the name of your table...
February 14, 2006 at 10:44 am
I've got both SQL2000 and SQL2005 on my box at work without any problems.
I don't think it will be SQL2005 that hosed EM because SQL2005 does not use MMC.
February 14, 2006 at 10:39 am
OK my eventual solution (which probably isn't the best) was to have my begin loop code enable/disable the relevant steps but store the number of steps in a global variable.
At...
February 14, 2006 at 10:31 am
Yes I did mean "This doesn't".
In both SQL 2000 and SQL 2005 the statement forces an index seek however in SQL2005 a "Filter" step is added into the execution plan...
February 14, 2006 at 10:27 am
Don't do it as a trigger, do it as a stored procedure and schedule it for 1st July and 1st Jan.
February 14, 2006 at 7:09 am
From previous posts the native defragger is a cut down version of Diskeeper.
If your files are across a RAID array or a SAN then be careful with your chosen defrag...
February 13, 2006 at 4:15 pm
Don't all indexes hang of the clustered index?
If you rebuild a non-clustered index and then rebuild the clustered index doesn't that alter the first index?
I have noticed that DBCC UPDATEUSAGE(0)...
February 13, 2006 at 1:18 pm
Have you asked the job to notify you on success.
I had a situation where I got SQLMail to email me on successful completion. Something went pear shaped on the...
February 13, 2006 at 12:38 pm
If an attempt is made to insert a value in a table with an identity value and it fails the identity value still increments.
I would run a SQL Profiler to...
February 13, 2006 at 12:34 pm
What value do you have for adCmdStoredProc?
February 13, 2006 at 12:23 pm
In terms of performance I don't think there will be any difference.
I prefer to specify the columns because if the underlying table changes its structure my query is still bringing...
February 11, 2006 at 4:58 am
Firstly SQL Server has two functions that get the system date
GETDATE() retrieves the current system date
GETUTCDATE() which retrieves the Greenwich Meantime Date and Time
There are several ways of getting the...
February 11, 2006 at 4:51 am
Viewing 15 posts - 2,446 through 2,460 (of 3,655 total)