Solved

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

Posted on 2007-11-15
2
963 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
Comment Utility
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
Comment Utility
excellent thanks !!!
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Suggested Solutions

In this article—a derivative of my DaytaBase.org blog post (http://daytabase.org/2011/06/18/what-week-is-it/)—I will explore a few different perspectives on which week today's date falls within using Microsoft SQL Server. First, to frame this stu…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how the fundamental information of how to create a table.

772 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

10 Experts available now in Live!

Get 1:1 Help Now