Forum Replies Created

Viewing 15 posts - 1,006 through 1,020 (of 2,647 total)

  • RE: Proc behaviour during error

    So Gail, in this scenario we have 1 case that just terminates the statement (divide by zero error) and one that terminates the batch (error converting varchar to int), am...

  • RE: Proc behaviour during error

    GilaMonster (4/25/2012)


    SQLKnowItAll (4/25/2012)


    S_Kumar_S (4/25/2012)


    Hi

    The sample code is at bottom. I have introduced 2 erros in the proc. Both are level 16 errors. I was expecting that the insert statements after...

  • RE: Column in a case statement is not working

    This code with the variable set as 'TST2' is essentially doing this:

    SELECT Col5

    ,Col6

    ,Col7

    FROM table

    WHERE Col7 = 'A'

    AND Col6 = 'S'

    AND Col2 = 0 --kind of, your syntax is wrong

    Not to...

  • RE: Proc behaviour during error

    S_Kumar_S (4/25/2012)


    Hi

    The sample code is at bottom. I have introduced 2 erros in the proc. Both are level 16 errors. I was expecting that the insert statements after error generating...

  • RE: timeout even after (NoLock)??

    You say you have indexes, but do you know if they are

    1. being used?

    2. selective enough for the filter parameter to make a difference?

  • RE: please give the solution for this

    vinu512 (4/24/2012)


    MAAAAN!!!!...He really knows it all....lol 😀

    +1 SQLKnowItAll....I agree.

    Hehehehe... I certainly don't! Of course, that's what makes it a clever name for my blog. Anyone want to buy it?...

  • RE: Reindex after insert to empty table?

    Not going to have fragmentation when the clustered index is on an identity column after the data has been truncated.

  • RE: Reindex after insert to empty table?

    They should. That's why I was asking about other non-clustered indexes. You should not have to reindex, but if you have doubs you can simply look at the...

  • RE: Reindex after insert to empty table?

    How much data? Is the non-clustered index going to change to be on the identity or is it on a column that is not ordered? How is the data loaded?

  • RE: SQL Server 2008 Running Total Calculation

    I know this is a 2008 forum, but I thought it worth mentioning that there are now wonderful window functions in 2012 that make this nice and easy.

    Variant of what...

  • RE: sql server process memory has been paged out

    Sapen (4/24/2012)


    Hi Everyone,

    Hope all is well.

    I have noticed the following error around 5:00AM this morning on our SQL Server staging environment.

    A significant part of sql server process memory has been...

  • RE: What are the best alerts to set up on a SQL server?

    Geoff A (4/24/2012)


    SQLKnowItAll (4/24/2012)


    Duran (4/24/2012)


    Hello everyone,

    I would like to set up some alerts on my SQL server 2008 machine, and I was wondering if there were any specific ones that...

  • RE: What are the best alerts to set up on a SQL server?

    GilaMonster (4/24/2012)


    SQLKnowItAll (4/24/2012)


    GilaMonster (4/24/2012)


    All errors of severity 19 and higher and error number 825

    I assume that since you said 19 and higher, but then specifically 825 that it is not...

  • RE: What are the best alerts to set up on a SQL server?

    GilaMonster (4/24/2012)


    All errors of severity 19 and higher and error number 825

    I assume that since you said 19 and higher, but then specifically 825 that it is not included for...

  • RE: What are the best alerts to set up on a SQL server?

    Duran (4/24/2012)


    Hello everyone,

    I would like to set up some alerts on my SQL server 2008 machine, and I was wondering if there were any specific ones that would be good...

Viewing 15 posts - 1,006 through 1,020 (of 2,647 total)