Viewing 15 posts - 6,016 through 6,030 (of 7,187 total)
Nita
There's plenty of information on database snapshots in Books Online. Have a read through that, and post again if anything doesn't make sense to you.
John
April 17, 2008 at 7:33 am
Another thing to look out for is that INFORMATION_SCHEMA.COLUMNS also lists columns in views. Therefore, if @TableName happens to be the name of a view, it'll also fail because...
April 16, 2008 at 4:17 am
And beware of the following:
(1) The way you have designed this, you need to give the user permission to create tables.
(2) You don't have a check for whether the column...
April 16, 2008 at 4:06 am
SELECT CAST(MyString AS INTEGER)
John
April 16, 2008 at 12:53 am
Jeff Moden (4/15/2008)
April 15, 2008 at 6:27 am
Look up DBCC FREEPROCCACHE, DBCC DROPCLEANBUFFERS and sp_recompile in Books Online. I recommend that you read all the related ("See Also") topics as well. Please post again if...
April 15, 2008 at 4:55 am
It's not really clear what you're trying to do. If you want to open a SQL script file (with a .sql extension), use SQL Server Management Studio.
John
April 15, 2008 at 4:16 am
AMIT GUPTA (4/14/2008)
use the buit in sp of sql server :sp_foreachtable 'delete from ?'
it will delete the values from all the tables.
Thanks ,
Amit Gupta
(MCP)
Not if you have foreign key constraints....
April 14, 2008 at 6:05 am
ALZDBA (4/14/2008)
or use the "multi brand" version:INFORMATION_SCHEMA.ROUTINES
But be careful: this will only give you the first 4000 characters of the procedure definition.
John
April 14, 2008 at 5:47 am
Nisha
I can, but I won't. Look up sys.sql_modules in Books Online, then try to write the query yourself. If you're stuck on anything particular then post back and...
April 14, 2008 at 4:47 am
Ashok
Where will the data you are hoping to insert come from? If you show us what you've tried so far, that should help us to see exactly what you're...
April 14, 2008 at 4:36 am
Nisha
The information you're looking for is in the sys.sql_modules system view.
John
April 14, 2008 at 4:34 am
I believe there's a utility called sqlping, but anyhow, if you search for "ping" in Books Online, you'll probably find what you're looking for.
John
April 11, 2008 at 3:40 pm
Now is the time to go to Books Online and read carefully how sp_executesql works. When variables are involved, it's not as simple as supplying just the query string...
April 11, 2008 at 7:39 am
Viewing 15 posts - 6,016 through 6,030 (of 7,187 total)