OK, so Sybase (12.5.4) will let me do the following to DROP a table if it already exists:
IF EXISTS ( SELECT 1 FROM sysobjects WHERE name = \'a_t
If you want to always create the table, but conditionally drop it, you can use:
IF(SELECT count(*) FROM sysobjects WHERE name="tableNameWithoutUserPart") > 0 DROP TABLE tableNameWithUserPart GO CREATE TABLE tableNameWithUserPart ...