Viewing 15 posts - 6,826 through 6,840 (of 7,472 total)
that way your usp_ only returns a value.
use raiserror of you want to have an error raised and set the jobstep's "on error" action to "quit job with failure"
Check BOL.
e.g....
November 19, 2004 at 1:22 pm
SQL2005 ? or wrong forumgroup ?
SQL2000 : make sure your sqlserver / sqlagent serviceaccout has got the needed authority for your network-shares.
This job...
November 19, 2004 at 2:26 am
Try to alias the tables and you'll find your problem easy so solve.
select MyAlias.mycol,...
from myschema.myverymeaninglesstablenamefartolongtoread MyAlias
...
if you still cannot find it, post...
November 19, 2004 at 12:53 am
how about using a udf ?
read : http://www.sqlservercentral.com/scripts/contributions/592.asp
November 18, 2004 at 5:14 am
I also backup master and msdb everytime a scheduled backup is taken (full/diff/log) of any userdb.
November 17, 2004 at 11:53 pm
Can you force a table-scan on all tables of your db ?
select * from yourtable
Why : so no indexes (except clusterd) are used and only datapages are accessed. This way you...
November 17, 2004 at 1:59 pm
BACKUP DATABASE [master] TO DISK = N'\\ribackupsrv\BACKUP\masterfull.bak' WITH INIT , NOUNLOAD , NAME = N'master full backup', SKIP , STATS = 10, NOFORMAT
BACKUP DATABASE [model] TO DISK = N'\\ribackupsrv\BACKUP\modelfull.bak' WITH ...
November 17, 2004 at 1:45 pm
early in the morning
it just scripts the non sql7 stuff and haves you run into the...
November 17, 2004 at 2:59 am
Keep in mind a trigger fires every time the criteria meets insert or update (in your case) !
How many times do you predict this to happen and measure afterward...
November 17, 2004 at 2:50 am
brutforce way :
ALTER DATABASE yourdb Set READ_only WITH ROLLBACK IMMEDIATE
ALTER DATABASE yourdb Set READ_WRITE WITH ROLLBACK IMMEDIATE
if you want to have a criteria : sp_lock
create table #tmp_splock (
spid int...
November 17, 2004 at 2:43 am
That works fine if you don't use any sql2k features or new datatypes (e.g. tinyint, UDF,...)
November 17, 2004 at 2:20 am
Can you still script the job ?
if so, do you notice anything weird in the script ?
November 16, 2004 at 1:48 pm
check out "linked servers" in books online.
If this is only a one-shot event, it is best to use DTS for this kind of stuff.
You may want to read some more...
November 16, 2004 at 7:14 am
In addition to Max and Frank's clarifications :
One of the downsides of hints is that you'll have to check if they are needed with every hotfix/servicepack/upgrade you perform.
November 16, 2004 at 12:35 am
Viewing 15 posts - 6,826 through 6,840 (of 7,472 total)