Viewing 15 posts - 136 through 150 (of 267 total)
High level..
I pasted into SSMS and hit F5, it worked. Now let me look at the code and see if I can apply it to what I am doing. ...
July 8, 2015 at 12:50 pm
Just keeping you helpful folks in the loop.
I was just thinking. I could use Dynamic SQL that creates a stored procedure that contains the backup command as a static...
July 8, 2015 at 12:47 pm
Still plugging away at this. I know it is close but still can't get it to work.
If anyone has any other ideas I am all ears.. well all ears...
July 8, 2015 at 12:20 pm
Little closer maybe but still the following error:
\\clients.advance.local\Data\WIP\test80.bak
EXEC (BACKUP DATABASE AuditTest2 TO DISK = '\\clients.advance.local\Data\WIP\test80.bak') AT adasdb
Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'BACKUP'.
Msg 102,...
July 8, 2015 at 12:05 pm
Well Close my no cigar. I am trying to parameter the destination server name and I can not get that to execute.
Here is what I am playing with:
DECLARE @BackupStatement...
July 8, 2015 at 11:49 am
🙂 Thank you so much.... My acid test worked so now I just need to modify my actual code. Here is what I did for testing, just manually typed it...
July 8, 2015 at 11:30 am
I have not tried this. Trying now 🙂
July 8, 2015 at 11:23 am
The job idea might work. Running the proc from the server with the DB to be backed up wont.
Thanks for the idea.
July 8, 2015 at 11:22 am
200+ columns? Look if you have a developer, in particular a lead; that does not know that this is an issue I am not sure there is much the community...
July 8, 2015 at 10:23 am
LOL I saw your post just now. So I figured it out on my own. Wish I had seen this, I did not goto page two until now. These 100...
June 30, 2015 at 2:25 pm
This is what happens when you get tired. I was calling sp_ExecuteSQL
This is a file system function:
Changed to
adasdb.master..Xp_cmdshell
All is right in the universe.
June 30, 2015 at 1:38 pm
Alas I tried that as well already, did not like that at all! LOL.. Again the really courious thing is it was working and now it is not. AND...
June 30, 2015 at 8:16 am
Quotes did not work. Bouncing the service did not work. Bouncing the server did not work.
I am on the 4th floor... I wonder if a bounce out the window will...
June 29, 2015 at 2:37 pm
Right 🙂 It is a dev server so I bounced it; well opened a ticket to bounce let you guys know if that helped.
June 29, 2015 at 2:15 pm
No, it worked before... but you know what!! I may as well try that. If it works I am throwing my work station across the room 😉
June 29, 2015 at 1:55 pm
Viewing 15 posts - 136 through 150 (of 267 total)