Zum Hauptinhalt gehen

Suche

Suche

Query Prompt Creating Odd Where Condition For = Operator

Kommentare

3 Kommentare

  • Avatar
    Shotaro Ito

    That is normal match condition for double / float value.

    Those values are not exact. For some reason bartender's db connection treat your "Shipment_ID" as floating point value. IDs are usually char / text type in data field - what is the data type of "Shipment_ID" in original table?

    0
  • Avatar
    Legacy Poster

    That is normal match condition for double / float value.

    Those values are not exact. For some reason bartender's db connection treat your "Shipment_ID" as floating point value. IDs are usually char / text type in data field - what is the data type of "Shipment_ID" in original table?

     

    The data source is a FileMaker database. Shipment_ID is defined as a number field. Since FM doesn't distinguish between number types when defining the field, it appears that ODBC driver describes the field as a decimal.

    0
  • Avatar
    Shotaro Ito

    Hmm.. for decimal, it looks a bit strange to compare like that way, however when input data is integer only, it wouldn't cause problem. If the comparison would cause any problem, consider using text/char type in table instead.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.