gostaria qual a sintax para utilizar o if exists. Qual tabela do firebird guarda as infor.. de outras tabelas, trigger, sps, etc... no sql server eu usava assim: IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[nome_da_tabela]') AND OBJECTPROPERTY(id, N'istable') = 1) drop table [nome_da_tabela] vlw.