Viewing 15 posts - 8,401 through 8,415 (of 9,713 total)
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...
March 10, 2009 at 7:50 am
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...
March 10, 2009 at 7:34 am
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...
March 10, 2009 at 7:25 am
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...
March 10, 2009 at 7:24 am
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...
March 10, 2009 at 7:21 am
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...
March 10, 2009 at 7:15 am
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...
March 10, 2009 at 7:13 am
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...
March 10, 2009 at 7:05 am
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.
March 10, 2009 at 6:22 am
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.
March 10, 2009 at 6:20 am
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...
March 10, 2009 at 6:18 am
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...
March 10, 2009 at 4:40 am
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...
March 10, 2009 at 4:37 am
Glad we could help. @=)
And thanks for posting your solution.
March 10, 2009 at 4:28 am
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...
March 10, 2009 at 4:23 am
Viewing 15 posts - 8,401 through 8,415 (of 9,713 total)