I know how to do this in SQL Server, but need the equivalent query to determine if a database exists in MySql.
In SQL Server, the query is:
Select 1 From Information_Sch ema.Schemata
Where Catalog_Name='w hatevermydataba seisnamed'
I'm not that familiar with MySQL, but betting the statement is different.
In SQL Server, the query is:
Select 1 From Information_Sch ema.Schemata
Where Catalog_Name='w hatevermydataba seisnamed'
I'm not that familiar with MySQL, but betting the statement is different.
Comment