Hi,
I want to check whether a particular column exist or not in a given table. This i want to check before dropping the column so no error comes if column is not present.
So please can anybody tell me how i do this?
Exmple:
--How to do: check if column exist
-- if exist
ALTER table table_name DROP COLUMN column_name
Thanks Umesh Sharma,MCSD
India
I want to check whether a particular column exist or not in a given table. This i want to check before dropping the column so no error comes if column is not present.
So please can anybody tell me how i do this?
Exmple:
--How to do: check if column exist
-- if exist
ALTER table table_name DROP COLUMN column_name
Thanks Umesh Sharma,MCSD
India