xeondxb
asked on
Coldfusion Last Inserted value in database
Is there any function in coldfusion, i want last inserted value from database.
if there is no function so what is the right way to do it.
database could be oracle or MSSQL
Thank you.....
if there is no function so what is the right way to do it.
database could be oracle or MSSQL
Thank you.....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
Unless you return the value from the database, I don;t think it has any 'smarts' built in.
An example:
Oracle has a 'returning' clause hat allows you to return specific values from DML. If the app coded the DML to take advantage of the returning clause and handled the return values properly, then yes.
If not, I'm afraid you might be out of luck.
Then again, I'm not a Coldfusion expert...