?
Solved

Msg 102, Sev 15, State 1, Line 1 : Incorrect syntax near 'E6-COOP'. [SQLSTATE 42000]

Posted on 2007-11-15
2
Medium Priority
?
981 Views
Last Modified: 2010-04-21
hi i get this error in the error log can some one help please:
Msg 102, Sev 15, State 1, Line 1 : Incorrect syntax near 'E6-COOP'. [SQLSTATE 42000]

my job runs a piece of transact sql:
use master
GO
ALTER DATABASE "E6-COOP"
MODIFY FILE
   (NAME = "E6-Coop",FILEGROWTH = 200MB)
GO
ALTER DATABASE "E6-COOP"
MODIFY FILE
   (NAME = "E6-Coop_log",FILEGROWTH = 200MB)
GO
0
Comment
Question by:hraja77
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 75

Accepted Solution

by:
Aneesh Retnakaran earned 2000 total points
ID: 20289637
Hello hraja77,





Aneesh R

ALTER DATABASE [E6-COOP]
MODIFY FILE
   (NAME = [E6-Coop],FILEGROWTH = 200MB)
GO
ALTER DATABASE [E6-COOP]
MODIFY FILE
   (NAME = [E6-Coop_log],FILEGROWTH = 200MB)
GO

Open in new window

0
 
LVL 1

Author Closing Comment

by:hraja77
ID: 31409340
excellent thanks !!!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Suggested Courses

771 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