CREATE DATABASE using file in default path

前端 未结 6 1512
借酒劲吻你
借酒劲吻你 2021-02-05 03:28

I want to create an SQL script that creates a database. Right now, I have this:

CREATE DATABASE [Documents] ON  PRIMARY 
( NAME = N\'Documents\', FILENAME = N\'         


        
6条回答
  •  生来不讨喜
    2021-02-05 04:15

    You can create a database without specifying file details, like:

    CREATE DATABASE Documents;
    

提交回复
热议问题