Page 1 of 1

SQL STatement Doesn't return Rows

Posted: Thu 14 Jan 2010 12:13
by ede
DB = Firebird 2.1.3

I have the following SQL code in TIBCQUERY
'UPDATE '+
Tablename+
' SET '+
'abt_abteilung = :abt_abteilung,abt_referenz = :abt_referenz '+
'where (id_abteilung = :id_abteilung);'

then come the Error

SQL Statement Doesn't return Rows

Can you Help me

Table Struck
ID_ABTEILUNG D_INT_ID NOT NULL /* D_INT_ID = BIGINT
ABT_ABTEILUNG "D_VCSTR-40" /* "D_VCSTR-40" =
ABT_REFERENZ INTEGER

Posted: Fri 15 Jan 2010 12:10
by Plash
You should use the Execute method instead of Open for UPDATE statements.