I’ve been using the code below:
CREATE DATABASE [NSFKIPRODDB01_BKBK] AS COPY OF [NSFKIPRODDB01] (EDITION='BUSINESS', MAXSIZE = 10GB)
But it keeps on throwing me the error below:
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near 'AS'.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Can I ask why isn’t a CREATE DATABASE AS COPY OF + ALTER DATABASE good enough?