Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


BackUp_DBs.sql


BackUp_DBs.sql

Author
Message
@fracionero
@fracionero
SSC Veteran
SSC Veteran (265 reputation)SSC Veteran (265 reputation)SSC Veteran (265 reputation)SSC Veteran (265 reputation)SSC Veteran (265 reputation)SSC Veteran (265 reputation)SSC Veteran (265 reputation)SSC Veteran (265 reputation)

Group: General Forum Members
Points: 265 Visits: 361
Comments posted to this topic are about the item BackUp_DBs.sql

Francisco Racionero
twitter: @fracionero
Mahmood.BilalB
Mahmood.BilalB
Right there with Babe
Right there with Babe (775 reputation)Right there with Babe (775 reputation)Right there with Babe (775 reputation)Right there with Babe (775 reputation)Right there with Babe (775 reputation)Right there with Babe (775 reputation)Right there with Babe (775 reputation)Right there with Babe (775 reputation)

Group: General Forum Members
Points: 775 Visits: 162
The code is not working. There are numbers of errors like the following even you parse the query

Msg 102, Level 15, State 1, Line 2
Incorrect syntax near ' '.
Msg 102, Level 15, State 1, Line 3
Incorrect syntax near ' '.
Msg 102, Level 15, State 1, Line 5
Incorrect syntax near ' '.
Msg 102, Level 15, State 1, Line 6
Incorrect syntax near ' '.
Msg 102, Level 15, State 1, Line 7
Incorrect syntax near ' '.
Msg 102, Level 15, State 1, Line 8
Incorrect syntax near ' '.
Msg 102, Level 15, State 1, Line 10
Incorrect syntax near ' '.
Msg 137, Level 15, State 1, Line 12
Must declare the scalar variable "@UsrName".
Msg 137, Level 15, State 1, Line 13
Must declare the scalar variable "@srv".
Msg 137, Level 15, State 2, Line 21
Must declare the scalar variable "@DbName".
Msg 102, Level 15, State 1, Line 23
Incorrect syntax near ' '.
Msg 137, Level 15, State 2, Line 24
Must declare the scalar variable "@tck".
Msg 137, Level 15, State 2, Line 26
Must declare the scalar variable "@dbname".
Msg 102, Level 15, State 1, Line 28
Incorrect syntax near ' '.
Msg 137, Level 15, State 2, Line 30
Must declare the scalar variable "@srv".
Msg 102, Level 15, State 1, Line 32
Incorrect syntax near ' '.
Msg 137, Level 15, State 2, Line 36
Must declare the scalar variable "@command".
Msg 137, Level 15, State 2, Line 39
Must declare the scalar variable "@command2".
Msg 137, Level 15, State 2, Line 42
Must declare the scalar variable "@DbName".
Iwas Bornready
Iwas Bornready
SSCrazy Eights
SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)

Group: General Forum Members
Points: 8590 Visits: 885
Hmmm, I'll have to look closer myself.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search