Hi Peter,
I am just trying to find an optimum solution for the issue which NEW_ACCOUNT mentioned above:
Col1 Col2 Col3 Col4 Col5
cust_Nr_1_id 300 cust1 27/11/2017 datapoint1
cust_Nr_2_id 300 cust2 27/11/2017 datapoint2
cust_Nr_3_id 300 cust3 27/11/2017 datapoint3
The value 1,2,3 need to generate synthetically.
column_1= @nextval(MY_SEQ_NAME)@ ; column_2=^column_1^ cannot be used in the scenarios mentioned by NEW_ACCOUNT and as you mentioned in your earlier post we would have to use string functions to achieve it.
To your other question, sequence is getting created in the database (checked using the sql tool), but still sql in column 2 is not working.
I am just curious to know how to make @execsql(R,select MY_SEQ_NAME.CURRVAL from DUAL)@ work
Regards,
Ankur