Forum Replies Created

Viewing 15 posts - 8,371 through 8,385 (of 9,701 total)

  • RE: Stored Procedures

    You're absolutely right, JacekO. There's nothing left to be said on the subject except, from what I read, you are the only person you proved your point to. I didn't...

  • RE: Stored Procedures

    lee.pollack (3/19/2009)


    please remember that my company is still using sql2000 - so WHILE does not exist for me

    Lee,

    You can also nest IF...ELSE statements and CASE statements. It could be...

  • RE: Stored Procedures

    JacekO (3/19/2009)


    The SQL Server transactions can be called nested transactions but they are not. Plain and simple. If they were nested they should work the way I described. There might...

  • RE: Stored Procedures

    Lee,

    Before I go any further, Label 1 confuses me.

    label1:

    -- 1st check - do we have a customer record in CP

    IF EXISTS (Select * From DATABASE.OWNER.TABLE 6 WHERE cust_id = @memvar...

  • RE: Stored Procedures

    JacekO (3/19/2009)


    From my point of view they are not nested but maybe I could call them chained. To explain how I understand the term nested I provided an example...

  • RE: Microsoft Documentation

    Ah. I forgot local help could be disabled.

    But shouldn't he still be getting something from the online stuff, assuming he has a network connection?

  • RE: Microsoft Documentation

    Wow. That's a new one.

    You say it was working before?

    Has anything changed since then? Any programs removed from your box? Anything added (service packs,etc.)?

    Check Windows Explorer and see if you...

  • RE: Stored Procedures

    Nesting is a broad term. You can nest triggers, stored procedures, transactions, IF..Else statements and loops.

    Basically, a "nest" is when you embed one thing inside of another and the internal...

  • RE: Stored Procedures

    I should also clarify that I don't advocate nested stored procedures (which is different from nested transactions).

    I've never had any reason to use them, though, and I know of at...

  • RE: Stored Procedures

    Lee,

    I think you misunderstood me. Nested transactions can be wonderful things, if you need them. If you don't, I don't advise indulging because it's a lot of wasted effort.

    What I'm...

  • RE: SQL 2005 DBmail via SMTP server

    At this point, you need to contact the help desk of your third party mail server and maybe even engage Microsoft in the problem. It sounds like an issue on...

  • RE: I am getting the below error while executing the Job. Can any one advice me on this

    I know you said things are working fine, but curiousity just struck.

    Did you create the MP while your SQL Server was at SP1 patch level, then create the new job...

  • RE: (Not so) Simple update query

    Another way, if that doesn't find everything, is to use NOT IN. However, you should be aware that NOT IN uses more processing power than an IN statement.

    So:

    Select * from...

  • RE: SQL Query not running...

    Lynn Pettis (3/11/2009)


    Nice it would be if feedback OP would provide.

    Hee! True. @=)

    Everytime I run into this issue, it's because I'm either using an = sign with a date...

  • RE: Stored Procedures

    Finally catching up to this thread, now that I have a break from major projectness. Sorry, Lee, that I wasn't able to re-respond earlier.

    As far as JacekO's (I think it...

Viewing 15 posts - 8,371 through 8,385 (of 9,701 total)