Forum Replies Created

Viewing 15 posts - 2,701 through 2,715 (of 14,953 total)

  • RE: t sql funny

    CELKO (12/1/2011)


    I am amazed at the dialect you got into one query! Here is how to actually write this in T-SQL using real ANSI SQL instead.

    SELECT X.*

    FROM (VALUES (CAST...

  • RE: Disable all the SQL jobs at once

    Of course, the other option would be to put a first step in those jobs that would check the time/date, and cause the job to abort if run during the...

  • RE: Dynamic SQL not Executing but creates SQL Statement Correctly?

    If the temp table is created in the dynamic SQL command, it will only exist in that scope. That means it goes away as soon as that command finishes...

  • RE: DDL Database Trigger causes error when Droping Table

    Welsh Corgi (12/1/2011)


    GSquared (12/1/2011)


    Welsh Corgi (12/1/2011)


    @GSquared, I just created the Triggers & Table in T-SQL.

    Thanks.

    What are the connection settings you're using when you issue the create table command?

    There are no...

  • RE: Are the posted questions getting worse?

    Dev (12/1/2011)


    Wishes!!!

    CONGRATULATIONS TO YOU BOTH

    +

    Signature

    If everything seems to be going well, you have obviously overlooked something.

    = Hilarious :hehe:

    I have to admit, I too laugh at some of...

  • RE: Deadlock Priority Management

    Most of the time, deadlocks can be avoided by writing code to take locks in the same sequence. If you can't ensure that, then deadlock priority low should do...

  • RE: Are the posted questions getting worse?

    GilaMonster (12/1/2011)


    Today's nugget of wisdom - when computer is giving all sorts of drive-related errors, first check that the sata cables are properly seated, especially if the computer has been...

  • RE: DATEDIFF Question

    You can actually change the zero date at a server-level, so test it before you count on that. Won't matter if it's being used to strip parts off of...

  • RE: SQL Baselines

    I guess I'm not sure exactly what you're testing here.

    On a server that's not in use yet, I'd use performance stats from the server it's replacing, if there is one,...

  • RE: Disable all the SQL jobs at once

    Guras (12/1/2011)


    I took the route of what HowardW sugested since I realized there were some notifications jobs that needed to be running.

    Here is my sp

    CREATE PROCEDURE [dbo].[PROC_SQLJOBS_ENABLE_DISABLE]...

  • RE: Disable all the SQL jobs at once

    Dev (12/1/2011)


    GSquared (12/1/2011)


    Any reason not to just turn off the SQL Agent service during that window? That'll turn off all jobs in one command. You can...

  • RE: Are the posted questions getting worse?

    My wife and I are celebrating our 21st anniversary today. As part of that, I'm taking next week off of work (my third vacation since 1988), and probably won't...

  • RE: DDL Database Trigger causes error when Droping Table

    Welsh Corgi (12/1/2011)


    @GSquared, I just created the Triggers & Table in T-SQL.

    Thanks.

    What are the connection settings you're using when you issue the create table command?

  • RE: Disable all the SQL jobs at once

    Any reason not to just turn off the SQL Agent service during that window? That'll turn off all jobs in one command. You can turn that off and...

  • RE: DDL Database Trigger causes error when Droping Table

    Because it's using an XML data type in the trigger, it has to have the correct settings for ANSI NULLs, ARITHABORT, and a few others. They're the ones applicable...

Viewing 15 posts - 2,701 through 2,715 (of 14,953 total)