Solved

Database Backup Error

Posted on 2009-07-15
3
179 Views
Last Modified: 2012-05-07
I am trying to back up a database. I am using SQL Server 2005 and am in MS SQL Server Management Studio Express. I have attempted to run the following script:

BACKUP DATABASE 209-9-1-PT
 TO DISK = 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\209-9-1-PT.bak';
GO

I get the error:

Msg 102, Level 15, State 1, Line 1
Incorrect syntax near '209'.

What is the problem?
0
Comment
Question by:lmred
  • 2
3 Comments
 
LVL 60

Accepted Solution

by:
chapmandew earned 50 total points
ID: 24859745
BACKUP DATABASE [209-9-1-PT]
 TO DISK = 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\209-9-1-PT.bak';
GO
0
 
LVL 1

Author Comment

by:lmred
ID: 24859899
chapmandew you are good and fast! Thanks so much. I knew it was something dumb I was missing.

lmred
0
 
LVL 1

Author Closing Comment

by:lmred
ID: 31603741
Thanks again!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL HELP 2 82
Testing connection to sql 7 58
sql help 5 52
Is there any Easy way to copy CSV to SQL Server using C# 3 69
If you having speed problem in loading SQL Server Management Studio, try to uncheck these options in your internet browser (IE -> Internet Options / Advanced / Security):    . Check for publisher's certificate revocation    . Check for server ce…
Recently, when I was asked to create a new SQL 2005 cluster, Microsoft released a new service pack for MS SQL 2005 what is Service Pack 3. When I finished the installation of MS SQL 2005 I found myself troubled why the installation of SP3 failed …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now