Created batch file as...
osql -U sa -P password -S mypc -Q "BACKUP DATABASE 995 TO DISK 'C:\TEST_BACKUP\995.BCK'"
when I run it, I get error mssg is "incorrect syntax near '995'
the database name is 995; I tried using single quotes between 995 but to no
avail - same error mssg
I appreciate any help on this - thanks
- posted 12 years ago