Forum Replies Created

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

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

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

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

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

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

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

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

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

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

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

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

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

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

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

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

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

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

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

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

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

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

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

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

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

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

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

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

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

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

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

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