<br><br><div class="gmail_quote">On Thu, Jun 18, 2009 at 2:24 PM, Leon de Rooij <span dir="ltr"><<a href="mailto:leon@scarlet-internet.nl">leon@scarlet-internet.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
About auto_increment id's, isn't that possible with stored procedures<br>
with postgresql ?<br clear="all"></blockquote><div><br>Specifying them is different between databases.<br><br>Getting the new value for later use is different between databases.<br><br>For query only -- you shouldn't have a problem.<br>
<br>For postgres use the SERIAL data type and all the magic with sequences and junk is done behind the scenes for you.<br></div></div><br>-- <br>-Rupa<br>