check if database exist

#SELECT SCHEMA_NAME FROM INFORMATION_SCHEMA.SCHEMATA WHERE
SCHEMA_NAME = 'DBName'

No comments:

Other Articles

Enter your email address: