27.04.2016 21:04, 'Zoran' zoran...@gmail.com [firebird-support] wrote: > It doesn’t like “returning Id”. It displays this error: SQLDA error. Wrong > number of > parameters (expected 1, got 0)
This is an application bug. Obviously, the application hasn't prepared place for returned Id. For me everything work with isql: > SQL> create table aaa(id integer generated by default as identity, col1 > integer, col2 varchar(10)); > SQL> insert into aaa (col1, col2) values (1,'abc') returning id; > > ID > ============ > 1 > > SQL> show version; > ISQL Version: WI-T4.0.0.86-dev Firebird 4.0 Unstable > Server version: > Firebird/Windows/AMD/Intel/x64 (access method), version "WI-T4.0.0.86-dev > Firebird 4.0 Unstable" > on disk structure version 12.0 -- WBR, SD. ------------------------------------ ------------------------------------ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Visit http://www.firebirdsql.org and click the Documentation item on the main (top) menu. Try FAQ and other links from the left-side menu there. Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ------------------------------------ Yahoo Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/firebird-support/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/firebird-support/join (Yahoo! ID required) <*> To change settings via email: firebird-support-dig...@yahoogroups.com firebird-support-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: firebird-support-unsubscr...@yahoogroups.com <*> Your use of Yahoo Groups is subject to: https://info.yahoo.com/legal/us/yahoo/utos/terms/