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

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 15264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>