if Exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TblSms]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[TblSms]



if Exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TblDefineMessage]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[TblDefineMessage]






