When I type the word, "LOG ON" I am getting an Incorrect Syntax message, Msg 156, Level 15, State 1, Line 3, LOG On, Keyword 'On'
Hi, I'm taking a Udemy Course and trying to complete an exercise. I'm getting an Incorrect Syntax message, "Msg 156, Level 15, State 1, Line 3, Incorrect syntax near the keyword 'ON' when I type the command, LOG ON. I am using SQL 2012 Server Management Studio. Please advise and thanks for your assistance. Kelly Buchanan, Orlando, Florida ![alt text] : /storage/temp/4613-msg-156-level-15-state-1-line-3.jpg
Thanks Everyone: I figured it out. A user error. I executed "Create Database Movie" independently, which created the database and properties on the GUI. Then I wrote the script for the data and log file and tried to execute. I got the syntax error because the database was already created when I first executed. Warm Regards, Kelly Buchanan