[fpc-pascal] Re: How to insert a record and get the primary key with sqldb?

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Sat Oct 22 15:19:48 CEST 2011


Hello,

Ok, searching some more I see that "select scope_identity()" could
return the generated primary key. But how to get the value?

 DBComm.PQConnection.ExecuteDirect(SQLText);

The method above has no return value =(

-- 
Felipe Monteiro de Carvalho



More information about the fpc-pascal mailing list