Viewing 15 posts - 5,971 through 5,985 (of 7,187 total)
Yes, I should have spotted this the first time. Just get rid of the SELECT and it should work.
If you ever get a syntax error message, your first port...
April 28, 2008 at 3:33 am
Chandrachurh Ghosh (4/28/2008)
a #table has a local scope, so it will not work.....
Not true. A temp table will persist until it is dropped or the user connection terminates. ...
April 28, 2008 at 3:23 am
Raghu
Not sure what you're asking. A trigger is a spcecial kind of stored procedure that runs when a table is updated, inserted into or deleted from. Could you...
April 28, 2008 at 3:20 am
We know that, but we don't know what help you need. Was the query you posted successful? If not, in what way was it not? Did it...
April 28, 2008 at 3:17 am
Do the two databases have the same amount of data on them? Do you rebuild your indexes and update your statistics regularly? Have you compared the execution plans...
April 25, 2008 at 9:31 am
Rajesh
Can you not just use dbcc checkident (Discount, reseed, 1)?
John
April 24, 2008 at 6:10 am
I would say give them read-only access, and if they want anything changed, ask them to supply you with a script. I think if you go for anything less...
April 24, 2008 at 4:26 am
Rajesh
Please will you post your CREATE TABLE statement and the code you are using to reseed the identity value.
John
April 24, 2008 at 4:23 am
Karthik
Use sp_executesql with an output parameter.
John
April 23, 2008 at 8:33 am
... and it's helpful to have SQL Server 2000 Books Online, although I think you can download and install that separately. Speaking of which, make sure you regularly download...
April 23, 2008 at 6:49 am
Yes, install the SQL Server 2000 and SQL Server 2005 client tools on your desktop and you'll save time connecting to your servers - assuming there are no firewalls stopping...
April 23, 2008 at 4:09 am
James
If you suspect the databases aren't being used at all, then run a Profiler trace against them for a week or a month or however long you need to. ...
April 23, 2008 at 4:01 am
Karthik
I would advise you to write a script that uses INFORMATION_SCHEMA.COLUMNS to generate the query that will count the NULLS in each column in each database. It won't be...
April 23, 2008 at 3:50 am
One way of doing it is to pipe the output of net start to a text file and then examine the contents of that file. I'm not saying that...
April 23, 2008 at 3:42 am
Viewing 15 posts - 5,971 through 5,985 (of 7,187 total)