[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglibs-dev
Subject:    Sql:update returning key
From:       "Paul Wallace" <paulw () isell ! com ! au>
Date:       2004-11-15 3:28:39
Message-ID: 2020148086B40D49AA36BDA4EE930E6412A468 () tardis ! isell ! local
[Download RAW message or body]


Hi, 
    I am doing an update thus: 
 
<sql:update var="count">
        INSERT INTO tab1(link) VALUES (?);
       <sql:param value="${param.link}"/>    
</sql:update>
 
where the link field is auto increment. How may I retrieve the generated
key? From the update tag? 
 
thanks
 
Paul.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic