Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2013

    Post Unanswered: Object relational database

    I have a table consist of { int id as an Object refered to another object type of address and presented as a number , and another 2 fields :nickname and street}
    id | nickname | street
    1 | ahmad | Cairo
    2 | mechael | Rome

    and I want to make a sql select with filter on id field

    but I got the following error

    The data types of the operands for the operation "=" are not compatible.. SQLCODE=-401, SQLSTATE=42818, DRIVER=3.67.26

    Can anyone help me !

  2. #2
    Join Date
    Apr 2006
    Provided Answers: 11
    please post all needed info
    level/platform/full sql/table ddl/complete error message..
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5-V11 Fundamentals- DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts