usemastergoifexists(select*fromsysdatabaseswherename='bank')dropdatabasebankcreatedatabasebankgousebankgoifexists(select*fromsysobjectswherename='bankcard')droptablebankcardgocreatetableBankCard(CardIDchar(10)notnull,BankNamevarchar(20)notnull,UserNamevarchar