Skip to content

Commit

Permalink
Update SampleDB.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
jovanpop-msft authored Jun 9, 2020
1 parent 91c872d commit a18e689
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion SQL/Samples/LdwSample/SampleDB.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
if db_name() = 'master'
throw 50001, 'This script cannot be executed in master database. Create new database and run the script there.', 1;

------------------------------------------------------------------------------------------
-- Part 1 - Cleanup script
-- This part removes objects from sample database
Expand Down Expand Up @@ -219,4 +222,4 @@ FROM
)
WITH (
content varchar(8000)
) AS books;
) AS books;

0 comments on commit a18e689

Please sign in to comment.