Forum Replies Created

Viewing 15 posts - 8,401 through 8,415 (of 9,713 total)

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

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

    Okay. DB Maintenance plans are created as SSIS packages, so that explains the error format.

    More questions & some suggestions.

    Do you have any third party software installed for backing up your...

  • RE: Database Mail not sending the attached text file

    Kevin,

    Can you give us the details of the job step that sends out the mail and is supposed to include the attachment? Things like Step Type, the database it's running...

  • RE: DB Backup

    BOL (Books Online) is also a good resource.

    I'm pretty sure that backing up a standby database is not really any different from backing up a regular database.

  • RE: Stored Procedures

    I have rarely seen stored procedures that call other stored procedures. Mostly they call functions.

    Have you tested your Exec statements yet? Your pseudo-code looks basically correct.

  • RE: SQL DBA Metrials

    Another suggestion is to look at the DBA cert books. Not to study for an exam, but because some of the better cert books give you detail by detail how...

  • RE: WMI event error

    I can't count the number of times that a wrong phrase in Google had me chasing ghosts. @=)

    Glad I could help. And thank you for posting your resolution. That should...

  • RE: Trigger which gives the information through Mail

    I'm going to reiterate what I said earlier.

    Use DDL triggers to log changes to a table in an Admin database. Use a Datetime column to log the time the...

  • RE: Pivoting Data Without Aggregation

    Glad we could help. @=)

    And thanks for posting your solution.

  • RE: Database Mail not sending the attached text file

    We actually have this working with attachments, but it's been a while since we set it up.

    However, just got a new Dev cluster, so I'll play with it in the...

Viewing 15 posts - 8,401 through 8,415 (of 9,713 total)