Ver Mensaje Individual
  #7 (permalink)  
Antiguo 19/09/2003, 21:38
Avatar de Thebrain
Thebrain
 
Fecha de Ingreso: enero-2003
Ubicación: Santiasco
Mensajes: 100
Antigüedad: 21 años, 3 meses
Puntos: 0
no se si ya solucionaste el problema. pero encontré otra forma que deberia (dada la estructura) funcionar con Access, MySQL y MSSQL

Código:
<cfquery name="lala">
INSERT blahblah;
SELECT @@IDENTITY as 'Last_ID'
</cfquery>
<cfoutput query="lala">
#Last_ID#
</cfoutput>
nuevamente... encontré otra pagina donde hay como 5 ejemplos para ver el ultimo id

http://www.teratech.com/coldcuts/#SQL
__________________
I'm sick of all you hypocrites holding me at bay And I don't need your sympathy to get me through the day.Dream Theater - A Change of Seasons

http://www.dreamtheater.cl