Search found 4 matches
- 25.11.2009, 04:40
- Forum: Firebird
- Topic: INSERT with RETURNING
- Replies: 30
- Views: 15642
- 22.11.2009, 16:43
- Forum: Firebird
- Topic: INSERT with RETURNING
- Replies: 30
- Views: 15642
- 22.11.2009, 14:27
- Forum: Firebird
- Topic: INSERT with RETURNING
- Replies: 30
- Views: 15642
(sorry for my bad english) I have on machine with windows XP and Firebird 2.0 and one with windows vista and firebird 2.5 beta 2 - both with ZEOS 6.6.5-stable. I compiled a simple example similiar to: zquery.sql.add('INSERT INTO TPRODUTO (NMPRODUTO) VALUES ('TESTE') RETURNING ID'); zquery.Open(); Sh...
- 22.11.2009, 01:06
- Forum: Firebird
- Topic: INSERT with RETURNING
- Replies: 30
- Views: 15642
INSERT with RETURNING
Firebird 2.X supports a query like: INSERT INTO TABLE (FIELD2, FIELD3) VALUES (1,2) RETURNING FIELD0; Thats a nice way to return an auto-generated field. How can i get that value using ZEOS? If I do a ExecSQL, it doesn't return any field. If I try with Open() it give me the error "Invalid curso...