Could any one please tell me how to code whether a database exists or not in sql azure ?
if exists (select * from master.sys.databases where name = '[enter name here]')