Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

check if database exists sql

SELECT SCHEMA_NAME
  FROM INFORMATION_SCHEMA.SCHEMATA
 WHERE SCHEMA_NAME = 'DBName'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #database #exists #sql
ADD COMMENT
Topic
Name
2+9 =