{{theTime}}

Search This Blog

Total Pageviews

Sequences in PL/SQL

Select the pseudo-column from the table DUAL.
select sequence.NEXTVAL  INTO variable from dual;

No comments:

Generate Insert Sql from Select Statement

SELECT 'INSERT INTO ReferenceTable (ID, Name) VALUES (' +        CAST(ID AS NVARCHAR) + ', ''' + Name + ''...