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 > PHP + DB2 Problem Unique Key

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-01-03, 03:17
jay1972 jay1972 is offline
Registered User
 
Join Date: Jul 2002
Posts: 21
PHP + DB2 Problem Unique Key

I have a table t1(c1 int,c2 char(10),c3 char(10))
I have an unique index on (c1) with include (c2,c3)
when I try to access this table using php and if c2 or c3 contains null values it returns me the resultset but with empty values
Reply With Quote
  #2 (permalink)  
Old 11-03-03, 01:19
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,

I don't know what the problem is (I don't know the PHP), but I think this is normal working of DB2.

Could you please send the SQL and sample data? Please also specify the operating system and db2 version and fixes. You can also read thread Must Read before posting for more tips.

Grofaty
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