Last few months I'am extensively testing SAPdb under Linux (both 7.3 and 7.4
versions) and
the only feature that I want to see is something like "SELECT @@IDENTITY"
(MSSQL syntax)
for SERIAL database  type.

I don't want to repeat questions but I saw this:

> Starting with 7.3.00.29, SAP DB has the capability to return the last
value of a SERIAL (autoincrement) column to the client.

on this URL:

http://sapdb.2scale.net/moin.cgi/PythonAndAutoIncrement

I read whole documentation about sequence and SERIAL type but didn't find
anything about how to obtain
last value (for insert statement)...

I know that I can make this work with sequences but I have huge project with
identity/auto increment in mind and don't want
to change every query..
(works on both MSSQL and MySQL)

Thanks in advance,
Vladislav Bjelic





_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to