Viewing 15 posts - 46 through 60 (of 61 total)
I think I might have found what I was looking for:
http://weblogs.sqlteam.com/peterl/archive/2008/10/10/Keep-track-of-all-your-jobs-schedules.aspx
April 2, 2009 at 3:20 am
What is the command you're running within your VB code? In T-SQL, so long as the logical file names of both databases are the same the following syntax should work:
Restore...
February 17, 2009 at 6:52 am
Yes. On 32Bit though
December 16, 2008 at 1:09 am
This is odd as I've just ran it against a named instance and it works as expected. :(:unsure:
December 15, 2008 at 10:23 am
Will do. Thanks for your help on this 🙂
November 5, 2008 at 4:42 am
Tried running SSMS as localadmin but it didn't help. 🙁
November 5, 2008 at 3:47 am
Save this as a .vbs file:
Dim oSQLServer
Dim oStream
SET oSQlServer = CreateObject("SQLDMO.SQLServer")
SET oStream = CreateObject("ADODB.Stream")
oSQLServer.Connect "servername", "login", "password"
Dim idStep
Dim ScriptJob
Dim CountJobs
Dim JobName
Dim...
November 5, 2008 at 3:25 am
The issue was with DBCC DETACHDB which is contained in the sp_detach_db stored proc. I think the issue was you needed sa rights to run DBCC DETACHDB.
Server: Msg 2571, Level...
October 1, 2008 at 5:47 am
Did try that but SQL Server had a moan about the login not having privs to run sp_detach_db. Will try again though 🙂
October 1, 2008 at 5:22 am
Try this as a T-SQL task in your job
Declare @task nvarchar (100)
Declare @date nvarchar (100)
Set @date = getdate()
Set @task = 'Exec master.dbo.xp_cmdshell ' + char (39) + 'D:\scripts\step1.bat ' +...
September 4, 2008 at 6:59 am
It would be an excellent article if it was better written. Poorly written which takes a while to read through and understand which is unfortunate as there are some very...
August 29, 2008 at 3:10 am
Look two posts above this thread 😉
April 15, 2008 at 6:28 am
Hi there. I managed to look around my laptop and found the files I downloaded a while ago.
I've uploaded the zip file to
http://rapidshare.com/files/102487195/custom_logshipping_v1.zip.html
March 26, 2008 at 6:15 am
Cheers Phil, I did see that and it is spot on. However trying to get clients to be happy with a 3rd party component installed on their servers is a...
December 22, 2005 at 2:28 am
The problem is that I use cursors to print out the contents of a table into a text file.
The table is set up like this
Col1 Col2 ...
December 21, 2005 at 12:19 pm
Viewing 15 posts - 46 through 60 (of 61 total)