Forum Replies Created

Viewing 15 posts - 8,386 through 8,400 (of 9,707 total)

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

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

    Anurag Tripathi (3/10/2009)


    Hi,

    The above job is not for taking a Database backup. Infact, I have made one Maint plan which is having two steps:

    Ah. In that case, you shouldn't have...

  • RE: Problem with adding datafile, error 1105

    Gags,

    Please elaborate. What do you mean "fixed it the same way"?

    What precisely did you do to fix the index=0 issue to allow the datafile to grow, please?

  • RE: Database Mail not sending the attached text file

    Okay. This is different from what I thought you were doing.

    Check the plan history. Any errors or informational messages regarding the email part?

  • RE: Stored Procedures

    Lee,

    I just caught up to the fact that you're using SQL 2000. You need to repost this in that forum. However, you can still use Temp Tables (look them up...

  • RE: Stored Procedures

    lee.pollack (3/10/2009)


    Everything is already in one stored procedures.

    Lee, according to your pseudo-code in the OP, you're calling at least 4 different stored procedures. That's not really containing everything in...

  • RE: Trigger which gives the information through Mail

    ACK! let me rephrase.

    I'm suggesting you use the DDL trigger to update the staging table. Then use a normal T-SQL SELECT within a job to get the staged data and...

  • RE: Trigger which gives the information through Mail

    What Jack said. I'm not suggesting a Trigger at all. In fact, I strongly urge you not to use a trigger. Triggers play merry heck with the database processing power.

    A...

  • RE: Stored Procedures

    Slam? I didn't mean to slam. Sorry if you took offense at my reply.

    Roy is correct about the procs, though. What you've got will work, but it'll be heck on...

  • RE: Stored Procedures

    Lee,

    I think they do, but don't take our word for it. Stick in a dummy proc in your GOTO that creates some fake data, then stick another dummy proc in...

Viewing 15 posts - 8,386 through 8,400 (of 9,707 total)