Re: Informix JDBC Question
Posted in 1998
Pavel Kazakov — — source: Informix-list mailing list archive (1991-1998)
Vic Siddiqi wrote: > Hi all, > > I am writing a simple JDBC based application talking with Informix > database. I have written informix esql based applications in the past > where I can get the value of a serial field that was generated by > Informix > when I did an insert into a column (declared of type seria)l. This was > done by looking at the sqlcode.sqlerrd variable. > > I was wondering if there is something similar in JDBC which will tell me > > the auto-generated serial Id?? > > Thanks in advance... > > Vic Hi, Fire this "select dbinfo('sqlca.errd1') from table_with_one_row" and look at ResultSet. Regards,Pavel