Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Mon, 27 Mar 2006 @ 22:29:53 GMT

  <Prev Next>  
Next> Last>>  

Subj:   Objectproperty check
From:   Patel,Harshida

Is it possible in teradata to check if the object exists?

Something similar to sql server.

     if exists (select * from dbo.sysobjects where id =
     object_id(N'[dbo].[tablename]') and OBJECTPROPERTY(id, N'IsUserTable') =
     drop table [dbo].[ tablename]

Can somebody please help?


  <Prev Next>  
Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020