Viewing 15 posts - 271 through 285 (of 347 total)
strSql11=" insert into TempItem (intId,intWebId, intDataType, intNavid ) values (coalesce(" & intId & ",0), coalesce(" & intWebId & ",0), coalesce(" & intDataType & ",0), coalesce(" & intNavId & ",0)...
May 17, 2007 at 11:40 am
this should do it
SELECT j.NAME,l.name FROM msdb..sysjobs J
INNER JOIN master..syslogins l ON j.owner_sid = l.sid
May 17, 2007 at 9:07 am
well, you have several options. You could archive old data off to a different database if that is an option for you. You can separate the data files onto separate...
May 4, 2007 at 2:10 pm
no, we are still on 2005 sp1. I'll try and restart the agent and see if that helps - thanks
May 3, 2007 at 11:10 am
this is what we use to roll through all our databases and tables to reindex
declare @db varchar(50)
declare getdbs cursor for select name
from master..sysdatabases
where name not in ('master','msdb','model','tempdb','pubs','Northwind')
for read only
open...
April 26, 2007 at 8:31 am
that is exactly what I'm looking for. I was wondering if you could get the physical name from SQL. Great solution. Thanks!
April 25, 2007 at 7:15 am
that is a great suggestion. Thanks
I also thought about setting a cluster resource as a generic script and send an email when the resource comes online, but I'm not sure...
April 24, 2007 at 12:29 pm
we have 32 bit running on 64 bit windows. We are having trouble with SSIS, but the database engine works great.
April 24, 2007 at 6:12 am
your right, I was thinking function in a function, sorry about the bad info
April 24, 2007 at 6:09 am
A lot of people use profiler for this. capture RPC completed for sprocs or t-sql statement completed for individual statements. This will give you an execution time. you can even...
April 20, 2007 at 3:30 pm
in the execute sql task, use sp_Bob @Fname = ?
may need to name the parameter if that isn't your only global variable.
I think the syntax would be sp_Bob @FName...
April 20, 2007 at 3:28 pm
it is possible to do. some things to consider - data and log file locations will need to be the same, or else you will have use command line to...
April 20, 2007 at 2:00 pm
Did you uninstall the 32 bit version first?
April 19, 2007 at 9:14 am
--grab the return code from start_job like this
declare @return_code int
EXEC @return_code = msdb.dbo.sp_start_job @job_name='Audit'
if @return_code = 0 --SUCCESS
IF @return_code = 1 --FAILURE
--RAISE error here, see RAISERROR in BOL for more...
April 17, 2007 at 7:57 am
Viewing 15 posts - 271 through 285 (of 347 total)