Forum Replies Created

Viewing 15 posts - 13,891 through 13,905 (of 19,560 total)

  • RE: sum() returns no record, and result is involved in summation

    Atif Sheikh (5/20/2010)


    Why dont you write the query as;

    Select Sum(CPC)

    from campaignclicks

    where campaignID = 8

    Throw in the isnull and it seems this would work as well.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Today's Random Word!

    Paul White NZ (5/20/2010)


    Chris Morris-439714 (5/20/2010)


    Paul White NZ (5/20/2010)


    Chris Morris-439714 (5/20/2010)


    Paul White NZ (5/20/2010)


    Dynamic SQL - versus - not very dynamic DBAs.

    Hey Chris, what's with the paint tin avatar?

    Paint tin?...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Today's Random Word!

    John Rowan (5/20/2010)


    sing4you (5/20/2010)


    Not pregnant 😀

    Congrats! I'm happy for you too.

    If you don't wish to be then - Congrats.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Strange variable behaviour.....

    Swirl80 (5/20/2010)


    What i've done is added an additional filter to the query saying

    ISNULL(pe.Col3, pe.Col4) >= @dteFrom

    AND ISNULL(pe.Col3, pe.Col4) <= @dteTo

    AND ISNULL(pe.Col3, pe.Col4) >= dateadd(mm,-12,getdate())

    as i know that it...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Shrink database

    700 MB is really a small database. 30 MB is tiny for a log file as well.

    There really is no reason to shrink this database unless you are...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Does the Job Matter To You?

    If all compensation things were equal, then it would come down to hours required to work. If that was equal as well - I would still be doing what...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Today's Random Word!

    crookj (5/20/2010)


    mbricker-600840 (5/20/2010)


    Stark

    Tony

    Industries

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Today's Random Word!

    Chris Morris-439714 (5/20/2010)


    sing4you (5/20/2010)


    Not pregnant 😀

    Speak to Barry - he's got his modulus back 😀

    SOM

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: need to know the truth

    I think I would swap the descriptions between checksum and torn page detection.

    reference:

    http://msdn.microsoft.com/en-us/library/aa337525.aspx

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Shrink database

    dbcc shrinkfile

    You can use this command to shrink the individual files (log or data) to a size that suits your needs.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: grant Permissions to all store procs at a time

    That depends, do you want to give them access to modify the procs or just execute the procs?

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: A regression of the art of database development

    Test test and test some more. Once you have finished that, test it some more. It is always good to hammer out any errors before releasing it to...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Is SQL Server 2005 SP4 release?

    Not yet but it should be by the end of the year.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: size of transaction log

    That is a very good reason!!

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Question on explicit transaction

    It is a natural progression that SQL server uses to improve performance. If you are locking a row for long enough it will escalate into a table lock.

    Thus, to...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

Viewing 15 posts - 13,891 through 13,905 (of 19,560 total)