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 > QL0407N Assignment of a NULL value to a NOT NULL column "TBSPACEID=8, TABLEID=2580

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-16-10, 18:14
rishabhdhyani rishabhdhyani is offline
Registered User
 
Join Date: Jul 2010
Posts: 1
QL0407N Assignment of a NULL value to a NOT NULL column "TBSPACEID=8, TABLEID=2580

Hi All,

I am trying to customize a Siebel CRM Application (backend is DB2 on AIX 64)

I am receiving below error in the application log files:

"
Error Error 1 2010-01-27 14:57:53 SQLError: sqlstate 23502: [IBM][CLI Driver][DB2/AIX64] SQL0407N Assignment of a NULL value to a NOT NULL column "TBSPACEID=8, TABLEID=2580, COLNO=12" is not allowed. SQLSTATE=23502
"

In the above error, it is pointing to TBSPACEID=8, TABLEID=2580, COLNO=12

How can I find the names of the tablespace, table, column respectively from above information in the DB2 database.

I apologize for this simple question. This is the first time I am getting to DB level troubleshooting with DB2

Please let me know your thoughts.

Thanks and Regards,
Rishabh
Reply With Quote
  #2 (permalink)  
Old 07-16-10, 22:35
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Look at SYSCAT.TABLES and SYSCAT.COLUMNS
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