Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.oracle    |    Overblown overpriced overengineered SHIT    |    2,288 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 1,471 of 2,288    |
|    Jim Kennedy to Carlos San Miguel    |
|    Re: value of last identity inserted    |
|    04 Jun 04 04:10:53    |
   
   From: kennedy-downwithspammersfamily@attbi.net   
      
   "Carlos San Miguel" wrote in message   
   news:b5abf2cd.0406031701.58d3b016@posting.google.com...   
   > Hi, I'm going to be using Oracle with a customer. I will access   
   > Oracle with ODBC. All the tables have an Identity column, this is the   
   > ID for the record. I need to know how I can get the value of the   
   > Identity column for the last record inserted. A stored procedure maybe?   
   >   
   > TIA   
   > Carlos San Miguel   
      
   select? How about the max number if it really is monotonically increasing.   
   Are you asking how to write a select statement?   
   Jim   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca