Thanks  (:
 

    Em Quarta-feira, 14 de Fevereiro de 2018 17:20, "Mark Rotteveel 
m...@lawinegevaar.nl [firebird-support]" <firebird-support@yahoogroups.com> 
escreveu:
 

     On 2018-02-14 18:59, Omacht András aoma...@mve.hu [firebird-support] 
wrote:
> Hi!
> 
> Select gen_id(generator_name, 1)) as new_id from rdb$database

You should not do this with the generator of an identity column. The 
system sequence to back the identity column is an implementation detail, 
and if you have a need to access it like this on a regular basis, then 
you probably shouldn't be using an identity column at all.

Mark
  #yiv9453687262 #yiv9453687262 -- #yiv9453687262ygrp-mkp {border:1px solid 
#d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv9453687262 
#yiv9453687262ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv9453687262 
#yiv9453687262ygrp-mkp #yiv9453687262hd 
{color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 
0;}#yiv9453687262 #yiv9453687262ygrp-mkp #yiv9453687262ads 
{margin-bottom:10px;}#yiv9453687262 #yiv9453687262ygrp-mkp .yiv9453687262ad 
{padding:0 0;}#yiv9453687262 #yiv9453687262ygrp-mkp .yiv9453687262ad p 
{margin:0;}#yiv9453687262 #yiv9453687262ygrp-mkp .yiv9453687262ad a 
{color:#0000ff;text-decoration:none;}#yiv9453687262 #yiv9453687262ygrp-sponsor 
#yiv9453687262ygrp-lc {font-family:Arial;}#yiv9453687262 
#yiv9453687262ygrp-sponsor #yiv9453687262ygrp-lc #yiv9453687262hd {margin:10px 
0px;font-weight:700;font-size:78%;line-height:122%;}#yiv9453687262 
#yiv9453687262ygrp-sponsor #yiv9453687262ygrp-lc .yiv9453687262ad 
{margin-bottom:10px;padding:0 0;}#yiv9453687262 #yiv9453687262actions 
{font-family:Verdana;font-size:11px;padding:10px 0;}#yiv9453687262 
#yiv9453687262activity 
{background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv9453687262
 #yiv9453687262activity span {font-weight:700;}#yiv9453687262 
#yiv9453687262activity span:first-child 
{text-transform:uppercase;}#yiv9453687262 #yiv9453687262activity span a 
{color:#5085b6;text-decoration:none;}#yiv9453687262 #yiv9453687262activity span 
span {color:#ff7900;}#yiv9453687262 #yiv9453687262activity span 
.yiv9453687262underline {text-decoration:underline;}#yiv9453687262 
.yiv9453687262attach 
{clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 
0;width:400px;}#yiv9453687262 .yiv9453687262attach div a 
{text-decoration:none;}#yiv9453687262 .yiv9453687262attach img 
{border:none;padding-right:5px;}#yiv9453687262 .yiv9453687262attach label 
{display:block;margin-bottom:5px;}#yiv9453687262 .yiv9453687262attach label a 
{text-decoration:none;}#yiv9453687262 blockquote {margin:0 0 0 
4px;}#yiv9453687262 .yiv9453687262bold 
{font-family:Arial;font-size:13px;font-weight:700;}#yiv9453687262 
.yiv9453687262bold a {text-decoration:none;}#yiv9453687262 dd.yiv9453687262last 
p a {font-family:Verdana;font-weight:700;}#yiv9453687262 dd.yiv9453687262last p 
span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv9453687262 
dd.yiv9453687262last p span.yiv9453687262yshortcuts 
{margin-right:0;}#yiv9453687262 div.yiv9453687262attach-table div div a 
{text-decoration:none;}#yiv9453687262 div.yiv9453687262attach-table 
{width:400px;}#yiv9453687262 div.yiv9453687262file-title a, #yiv9453687262 
div.yiv9453687262file-title a:active, #yiv9453687262 
div.yiv9453687262file-title a:hover, #yiv9453687262 div.yiv9453687262file-title 
a:visited {text-decoration:none;}#yiv9453687262 div.yiv9453687262photo-title a, 
#yiv9453687262 div.yiv9453687262photo-title a:active, #yiv9453687262 
div.yiv9453687262photo-title a:hover, #yiv9453687262 
div.yiv9453687262photo-title a:visited {text-decoration:none;}#yiv9453687262 
div#yiv9453687262ygrp-mlmsg #yiv9453687262ygrp-msg p a 
span.yiv9453687262yshortcuts 
{font-family:Verdana;font-size:10px;font-weight:normal;}#yiv9453687262 
.yiv9453687262green {color:#628c2a;}#yiv9453687262 .yiv9453687262MsoNormal 
{margin:0 0 0 0;}#yiv9453687262 o {font-size:0;}#yiv9453687262 
#yiv9453687262photos div {float:left;width:72px;}#yiv9453687262 
#yiv9453687262photos div div {border:1px solid 
#666666;min-height:62px;overflow:hidden;width:62px;}#yiv9453687262 
#yiv9453687262photos div label 
{color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv9453687262
 #yiv9453687262reco-category {font-size:77%;}#yiv9453687262 
#yiv9453687262reco-desc {font-size:77%;}#yiv9453687262 .yiv9453687262replbq 
{margin:4px;}#yiv9453687262 #yiv9453687262ygrp-actbar div a:first-child 
{margin-right:2px;padding-right:5px;}#yiv9453687262 #yiv9453687262ygrp-mlmsg 
{font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv9453687262 
#yiv9453687262ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv9453687262 
#yiv9453687262ygrp-mlmsg select, #yiv9453687262 input, #yiv9453687262 textarea 
{font:99% Arial, Helvetica, clean, sans-serif;}#yiv9453687262 
#yiv9453687262ygrp-mlmsg pre, #yiv9453687262 code {font:115% 
monospace;}#yiv9453687262 #yiv9453687262ygrp-mlmsg * 
{line-height:1.22em;}#yiv9453687262 #yiv9453687262ygrp-mlmsg #yiv9453687262logo 
{padding-bottom:10px;}#yiv9453687262 #yiv9453687262ygrp-msg p a 
{font-family:Verdana;}#yiv9453687262 #yiv9453687262ygrp-msg 
p#yiv9453687262attach-count span {color:#1E66AE;font-weight:700;}#yiv9453687262 
#yiv9453687262ygrp-reco #yiv9453687262reco-head 
{color:#ff7900;font-weight:700;}#yiv9453687262 #yiv9453687262ygrp-reco 
{margin-bottom:20px;padding:0px;}#yiv9453687262 #yiv9453687262ygrp-sponsor 
#yiv9453687262ov li a {font-size:130%;text-decoration:none;}#yiv9453687262 
#yiv9453687262ygrp-sponsor #yiv9453687262ov li 
{font-size:77%;list-style-type:square;padding:6px 0;}#yiv9453687262 
#yiv9453687262ygrp-sponsor #yiv9453687262ov ul {margin:0;padding:0 0 0 
8px;}#yiv9453687262 #yiv9453687262ygrp-text 
{font-family:Georgia;}#yiv9453687262 #yiv9453687262ygrp-text p {margin:0 0 1em 
0;}#yiv9453687262 #yiv9453687262ygrp-text tt {font-size:120%;}#yiv9453687262 
#yiv9453687262ygrp-vital ul li:last-child {border-right:none 
!important;}#yiv9453687262 

   
  • [firebi... Elton Fadel galdari...@yahoo.com.br [firebird-support]
    • Re... Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
    • Re... Omacht András aoma...@mve.hu [firebird-support]
      • ... Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
        • ... Elton Fadel galdari...@yahoo.com.br [firebird-support]
          • ... Arnaldo Caliari arnaldo.cali...@studiosoft.info [firebird-support]
            • ... Norman Dunbar nor...@dunbar-it.co.uk [firebird-support]
            • ... Helen Borrie hele...@iinet.net.au [firebird-support]
              • ... Arnaldo Caliari arnaldo.cali...@studiosoft.info [firebird-support]
              • ... Dmitry Yemanov dim...@users.sourceforge.net [firebird-support]

Reply via email to