If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > SQL0204N Error on drop type

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-11-11, 00:47
oshman oshman is offline
Registered User
 
Join Date: Oct 2011
Posts: 11
SQL0204N Error on drop type

v9.7.4 Express-c on Linux

Having trouble dropping a custom type. All tables in the schema have been dropped as well as the transform function.

db2 => select TYPENAME from SYSCAT.DATATYPES where TYPESCHEMA ='DEMO'

TYPENAME
--------------------------------------------------------------------------------------------------------------------------------
ADDRESS_T

1 record(s) selected.

db2 => DROP TYPE ADDRESS_T
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0204N "DEMO.ADDRESS_T" is an undefined name. SQLSTATE=42704

I had a similar issue earlier with functions and found that I had to drop by SPECIFICNAME but, from what I can tell, TYPES don't have those.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On