Sorry.. typo mistake 'USERS' is the table.. Also if you are using an ms sql db, then you can also do something like this IF EXISTS (SELECT 1 FROM sysobjects WHERE xtype='u' AND name='tablename') --- 'tablename exists.' ELSE --- 'tablename does not exist.' Dropping Table DROP TABLE SALARY IF EXIST then create it again CREATE TABLE SALARY ( ... ) There are many ways to solve what you are trying to do..
.NET Rules