Viewing 15 posts - 16 through 30 (of 122 total)
i couldn't get the @@ERROR thing to work... once the EXEC statement failed, the entire batch stopped. but one idea leads to another... try/catch DID work.
and i'm with you on...
September 18, 2008 at 2:10 pm
so i've come up with a script to do what i want... not the prettiest thing in the world, but hey, it works. my next challenge is error trapping. the...
September 18, 2008 at 1:41 pm
but i don't want to rebuild ALL indexes in all databases, just certain indexes in certain databases. i know, i know, but those are the rules i have to play...
September 18, 2008 at 11:56 am
there's only 1 server... multiple databases... even so, i don't want 1 rebuild task per database because:
1. they could create a new database without telling me
2. i don't want to...
September 18, 2008 at 10:36 am
there are a number of ways, but in my case, since i'm using visual studio to develop the reports, i simply repointed the project to the new server and redeployed...
September 18, 2008 at 6:46 am
this may help you:
August 20, 2008 at 2:40 pm
i'm guessing it worked when you EXECed it as SA in a new window?
to find out who's executing the proc, you could run a profiler trace filtered so that it...
August 20, 2008 at 2:30 pm
replace ??? with some date ('1/1/1900'). that should add your columns.
August 20, 2008 at 1:49 pm
awesome... never mind about my last post then... 😉
August 20, 2008 at 1:35 pm
actually, what i was hoping to find out is whether or not it worked. if it did, that takes the troubleshooting down a whole different path.
it's SUPPOSED to work to...
August 20, 2008 at 1:34 pm
just for fun, i created a simple test procedure in one session, then executed it in a second session, then executed the original code in a third session:
DECLARE @handle VARBINARY(64)
SELECT...
August 20, 2008 at 10:41 am
i would think SA has the rights, so i'd look to make sure the step isn't running as some other user (who doesn't have permissions). what do you get if...
August 20, 2008 at 9:52 am
Viewing 15 posts - 16 through 30 (of 122 total)