Solved

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

Posted on 2007-11-15
2
970 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
2 Comments
 
LVL 75

Accepted Solution

by:
Aneesh Retnakaran earned 500 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how the fundamental information of how to create a table.

770 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