Invalid usage of the option filename

  • Hi,

    1. alter database DBMonitor add filegroup DBINDEX01

    running successfully

    2. alter database DBMonitor add file (name = BribsIndex01

    filename ='D:\Program Files\Microsoft SQL Server\MSSQL\Data\BribsIndex01.ndf',

    Size=8MB,

    maxsize=unlimited,

    filegrowth=10MB)

    To Filegroup DBINDEX01

    Server: Msg 153, Level 15, State 1, Line 2

    Invalid usage of the option filename in the CREATE/ALTER DATABASE statement.

    please give me solution, what is the wrong in statement?

    Thanks

    ananda

  • Comma (,) is missing after this

    name = BribsIndex01

    Pradeep Adiga
    Blog: sqldbadiaries.com
    Twitter: @pradeepadiga

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply