Viewing 15 posts - 211 through 225 (of 388 total)
Jeff,
This is not a pay per response site, it is mostly peers offering the odd snippet of experience to help out others. If you truly require immediate response, why not...
July 21, 2006 at 2:43 pm
Might be better using this:
create
table #enum_job (
Job_ID
uniqueidentifier,
Last_Run_Date
int,
Last_Run_Time...
July 20, 2006 at 1:20 pm
Check this NB out http://support.microsoft.com/?kbid=873160 to make sure that the two MSDTC services can talk
July 14, 2006 at 3:16 pm
what operating system are the boxes on, is the msdtc service configured so the two can talk?
July 14, 2006 at 11:07 am
you could use xp_fileexist extended stored procedure, search this web site and you should see how to use it.
July 12, 2006 at 2:58 pm
I believe you need a firm grounding in SQL before moving into writting SPs, maybe look at the book SQL Queries for mere mortals, less about SQL Server and more...
June 22, 2006 at 3:48 pm
SQL uses sp_MSdependencies SP to get this info, if you run
sp_helptext sp_MSdependencies you can see what is in the SP and presumably cobble together what you need.
June 2, 2006 at 3:25 pm
This should work
DECLARE @sp_type int
SET @sp_type =5
SELECT * FROM
sales
WHERE Cur_date >
case WHEN @sp_type= 5 THEN DATEADD(mm,-1,getdate())
WHEN @sp_type=6 THEN DATEADD(mm,-2,getdate())
ELSE DATEADD(mm,-3,getdate())
END
June 2, 2006 at 2:41 pm
Easy way to do a quick check is to open query analyzer on domain you are connecting from and issue a sql statement against the domain you are trying to...
June 1, 2006 at 7:34 pm
is the msdtc service running on both boxes, is there a firewall between them or could one of the boxes be on a dmz?
June 1, 2006 at 7:05 pm
There is an extended Stored Procedure
xp_getnetname that will give you the machine name.
May 31, 2006 at 1:22 pm
Is the database in full recovery mode if not it will need to be, if you have chosen all databases (including system) then the failure will be due to the...
May 24, 2006 at 2:36 pm
Are there any open transactions on the base, use
dbcc opentran
If there are these might be bloating the log, if so you may need to kill...
May 8, 2006 at 3:41 pm
Viewing 15 posts - 211 through 225 (of 388 total)