Viewing 15 posts - 9,451 through 9,465 (of 26,489 total)
This?
CREATE TABLE Test (Test char(1));
go
INSERT INTO Test SELECT 'A' UNION SELECT 'B';
go
select * from Test;
go
begin try
begin transaction
TRUNCATE TABLE Test;
--If this insert fails I want to rollback the truncate
INSERT INTO Test...
September 19, 2012 at 11:13 am
I never said don't disable xp_cmdshell. My comment about locked doors only keep out honest people was based on the comment that admins can turn it on and off....
September 19, 2012 at 11:08 am
opc.three (9/19/2012)
Lynn Pettis (9/19/2012)
opc.three (9/19/2012)
Lynn Pettis (9/19/2012)
opc.three (9/4/2012)
Jeff Moden (9/4/2012)
opc.three (9/4/2012)
September 19, 2012 at 10:48 am
Eric M Russell (9/19/2012)
Lynn Pettis (9/19/2012)
tutblog1 (9/19/2012)
Want to learn SQL?Goto
easysqlguide.blogspot.in
Easily learn SQL with the help of images.
Two year old thread, and no, I don't want to learn SQL from...
September 19, 2012 at 10:22 am
Lowell (9/19/2012)
Sean Lange (9/19/2012)
1.How many columns a SQL table can hold.
I did know this one, 1024 or 30,000, depending on whether we are...
September 19, 2012 at 10:09 am
opc.three (9/19/2012)
Lynn Pettis (9/19/2012)
opc.three (9/4/2012)
Jeff Moden (9/4/2012)
opc.three (9/4/2012)
September 19, 2012 at 10:08 am
Brandie Tarvin (9/19/2012)
Lynn Pettis (9/19/2012)
Do you ever feel that no matter how many times you tell someone what the problem may be that they just aren't listening?
Yep.
My current drama is...
September 19, 2012 at 9:58 am
The following worked on my laptop system which uses a named instance for SQL Server 2005:
bcp "select * from master.sys.databases" queryout C:\Users\lynn.pettis\testfile.txt -S ISS203897\ISS2K5 -T -c
The following failed on my...
September 19, 2012 at 9:53 am
On the new server, what was the error message? (Sorry, but saying it failed doesn't tell us anything.)
September 19, 2012 at 9:43 am
Grant Fritchey (9/19/2012)
Lynn Pettis (9/19/2012)
Stefan Krzywicki (9/19/2012)
SQLRNNR (9/19/2012)
Grant Fritchey (9/19/2012)
1. Check DB Integrity
2. Back Up Db Full
3. Back up Db...
September 19, 2012 at 9:31 am
Do you ever feel that no matter how many times you tell someone what the problem may be that they just aren't listening?
September 19, 2012 at 9:26 am
Stefan Krzywicki (9/19/2012)
SQLRNNR (9/19/2012)
Grant Fritchey (9/19/2012)
1. Check DB Integrity
2. Back Up Db Full
3. Back up Db transaction log
4. Shrink Db
5....
September 19, 2012 at 9:22 am
opc.three (9/4/2012)
Jeff Moden (9/4/2012)
opc.three (9/4/2012)
September 19, 2012 at 9:17 am
JC-3113 (9/19/2012)
I am on 2005.Will this not work then ?
Jim
Yes, it will work on SQL Server 2005. You need to check the settings for QUOTED_IDENTIFIER on your server.
Just...
September 19, 2012 at 9:08 am
tutblog1 (9/19/2012)
Want to learn SQL?Goto
easysqlguide.blogspot.in
Easily learn SQL with the help of images.
Two year old thread, and no, I don't want to learn SQL from your blog. I already...
September 19, 2012 at 9:06 am
Viewing 15 posts - 9,451 through 9,465 (of 26,489 total)