Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Lock a table during update to prevent selects

$
0
0

Hi,

I'am trying to apply the same ideia with Oracle but I'm getting an ORA-00933: SQL command not properly ended. 

Any ideas?

SyntaxEditor Code Snippet

UPDATE {Sequences} 
SET  {Sequences}.[LastSeq] = {Sequences}.[LastSeq]+ 1 
WHERE {Sequences}.[DatabaseID] = @DatabaseID 
returning {Sequences}.[LastSeq] into @seq; 
select @seq from dual; 




Viewing all articles
Browse latest Browse all 1476385


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>