Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

need help to attach database?

$
0
0

I am trying to attach database but did not go through, need to fix this issue?

CREATE DATABASE AdventureWorks2012
ON (FILENAME = 'C:\Users\arjun\Downloads\AdventureWorksDW2012_Data.mdf')
FOR ATTACH_REBUILD_LOG ;

Error

Msg 5133, Level 16, State 1, Line 1
Directory lookup for the file "C:\Users\arjun\Downloads\AdventureWorksDW2012_Data.mdf" failed with the operating system error 5(Access is denied.).


Viewing all articles
Browse latest Browse all 8428

Trending Articles



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