August 29, 2005 at 10:39 am
|
August 29, 2005 at 11:06 am
It just means you can store your database name in a variable and pass that instead of passing the text of the database name.
I usually just use the following syntax:
backup log 'DBNAME' to disk = 'UNC path'
August 31, 2005 at 3:19 am
I always get confused when looking at some of the syntax in BOL, especially when you get braces and brackets all over the show.
Basically, anything contained within braces {} are required statements, but anything divided by the vertical line "|" means that you choose one of the items listed. Therefore, in your case, you can choose to enter the database name, or you enter a variable name which references the database. Anything within the square brackets [] are optional statements.
Hope this helps.
August 31, 2005 at 3:41 am
Why don't you look at your other thread where you have some answers?
And just stick to one post maybe?
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=4&messageid=214965
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply