Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12554

Unable to restore

$
0
0
Hi,
I run this in Sql server 2008
create database my_schema for attach FILENAME = 'c:\setup\my_schema.bak';
go

But I've got this. Why?
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near 'FILENAME'.

Many Thanks & Best Regards, Hua Min



Viewing all articles
Browse latest Browse all 12554

Trending Articles