Snippet Name: envdirty
Tags: helpful,scriptgeneration
Created Date: Apr 27 2022 8:50AM
Last Modified Date: Apr 27 2022 8:50AM
no description at this time.
Dependencies: none-standalone code
Sample Output:
select schema_name as database_name,
CONCAT('IF NOT EXISTS(SELECT * FROM information_schema.schemata WHERE schema_name = ''', schema_name , ''' ) CREATE SCHEMA ' , schema_name , ';') As cmd
from information_schema.schemata
order by schema_name