Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

check if schema exists sql server

IF NOT EXISTS (SELECT * FROM sys.schemas WHERE name = 'jim')
BEGIN
EXEC('CREATE SCHEMA jim')
END
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #schema #exists #sql #server
ADD COMMENT
Topic
Name
5+6 =