Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2007-11-15
2
Medium Priority
?
985 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 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

886 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