Msg 5133, Level 16, State 1, Line 1
Directory lookup for the file "c:\test\TK432.mdf" failed with the operating system error 2(The system cannot find the file specified.).
Msg 1802, Level 16, State 1, Line 1
CREATE DATABASE failed. Some file names listed could not be created. Check related errors. CREATE
Below is the code used:
DATABASE TK432 ONPRIMARY
(
NAME =N'TK432_Data',FILENAME=N'c:\test\TK432.mdf',
SIZE
= 8MB , MAXSIZE =UNLIMITED, FILEGROWTH = 16MB ),
FILEGROUP FG1
(
NAME =N'TK432_Data2',FILENAME=N'c:\test\TK432.ndf',
SIZE
= 8MB , MAXSIZE =UNLIMITED, FILEGROWTH = 16MB ),
FILEGROUP Documents
CONTAINSFILESTREAMDEFAULT
(
NAME =N'c:\test\TK432Documents',FILENAME=N'c:\test\TK432Documents')
LOG
ON
(
NAME =N'TK432_Log',FILENAME=N'c:\test\TK432.ldf',
SIZE
= 8MB , MAXSIZE = 2048GB , FILEGROWTH = 16MB )
GO