Skip to content

Commit 6da89a9

Browse files
Update SampleDB.sql
1 parent a18e689 commit 6da89a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

SQL/Samples/LdwSample/SampleDB.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
if db_name() = 'master'
22
throw 50001, 'This script cannot be executed in master database. Create new database and run the script there.', 1;
33

4+
if SERVERPROPERTY('EngineEdition') <> 11
5+
throw 50001, 'This script must be executed on Azure Synapse - SQL serverless endpoint.', 1;
6+
47
------------------------------------------------------------------------------------------
58
-- Part 1 - Cleanup script
69
-- This part removes objects from sample database

0 commit comments

Comments
 (0)