Welcome to the Windows community forum and interact with 3 million technical staff to create a new query: Enter the command USEmaster; GO; CREATEDATABASE @ DBNAME to write your mdf file and ldf file path in single quotes: ON (FILENAMEC: ProgramFilesMicrosoftSQLServerMSSQL.1MSSQLDatastu
Welcome to the Windows community forum and interact with 3 million technical staff> enter a new query: Enter the command USE master; GO; create database @ DBNAME: Enter the path of your mdf file and ldf file in single quotes: ON (FILENAME = 'C: \ Program Files \ Microsoft SQL Server \ MSSQL.1 \ MSSQL \ Data \ stu
Welcome to the Windows community forum and interact with 3 million technicians>
Create a query:
Input command
USE master;
GO;
Create database @ DBNAME
Write your mdf file and ldf file path in single quotes:
ON (FILENAME = 'C: \ Program Files \ Microsoft SQL Server \ MSSQL.1 \ MSSQL \ Data \ student_data.mdf '),
(FILENAME = 'C: \ Program Files \ Microsoft SQL Server \ MSSQL.1 \ MSSQL \ Data \ student_log.ldf ')
For attach;
GO