Chapter 3 Guide de référence du SGBD


Drop

Instruction permettant de supprimer un objet (génération uniquement).

Exemple

Dans Sybase Adaptive Server Anywhere 6 :

if exists(select 1 from sys.systable where table_name='%TABLE%' and table_type='BASE'[%QUALIFIER%? and creator=user_id('%OWNER%')]) then
    drop table [%QUALIFIER%]%TABLE%
end if

 


Copyright (C) 2006. Sybase Inc. All rights reserved.