You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by "Michael Moossen NO TENGO! ." <mm...@123mail.cl> on 2004/08/19 10:58:32 UTC

delete row in table with char pk

Hello world,
  i am new in torque, and i am very happy with it (i began my self to program something similar, until i found torque)
  but i got problems while trying to delete rows in a table that has a char primary key. the problem seems to be, as torque log says, that the pk value is not quoted in the SQL query. i get something like:
WHERE code=XX-0001
instead of
WHERE code='XX-0001'

and when i try to quote it by myself i get:
WHERE code='''XX-0001'''

:(

any suggestion??
thanks

Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org