Forum Replies Created

Viewing 15 posts - 9,451 through 9,465 (of 26,489 total)

  • RE: Rollback truncate

    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...

  • RE: x-cmdShell access

    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....

  • RE: x-cmdShell access

    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)


    All sysadmins can execute any commands they wish and those commands will run in the context of the SQL Server...

  • RE: Learning Oracle

    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...

  • RE: Attended an Interview

    Lowell (9/19/2012)


    Sean Lange (9/19/2012)


    My answers would have been similar to this.

    1.How many columns a SQL table can hold.

    I did know this one, 1024 or 30,000, depending on whether we are...

  • RE: x-cmdShell access

    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)


    All sysadmins can execute any commands they wish and those commands will run in the context of the SQL Server service account, i.e....

  • RE: Are the posted questions getting worse?

    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...

  • RE: BCP Error On New Server

    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...

  • RE: BCP Error On New Server

    On the new server, what was the error message? (Sorry, but saying it failed doesn't tell us anything.)

  • RE: Are the posted questions getting worse?

    Grant Fritchey (9/19/2012)


    Lynn Pettis (9/19/2012)


    Stefan Krzywicki (9/19/2012)


    SQLRNNR (9/19/2012)


    Grant Fritchey (9/19/2012)


    Nothing wrong with this maintenance plan. I mean, everything is covered:

    1. Check DB Integrity

    2. Back Up Db Full

    3. Back up Db...

  • RE: Are the posted questions getting worse?

    Do you ever feel that no matter how many times you tell someone what the problem may be that they just aren't listening?

  • RE: Are the posted questions getting worse?

    Stefan Krzywicki (9/19/2012)


    SQLRNNR (9/19/2012)


    Grant Fritchey (9/19/2012)


    Nothing wrong with this maintenance plan. I mean, everything is covered:

    1. Check DB Integrity

    2. Back Up Db Full

    3. Back up Db transaction log

    4. Shrink Db

    5....

  • RE: x-cmdShell access

    opc.three (9/4/2012)


    Jeff Moden (9/4/2012)


    opc.three (9/4/2012)


    All sysadmins can execute any commands they wish and those commands will run in the context of the SQL Server service account, i.e. you lose the...

  • RE: Quickest Way to Find an Index

    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...

  • RE: Learning Oracle

    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...

Viewing 15 posts - 9,451 through 9,465 (of 26,489 total)