on 03-09-2016 7:38 AM
Hi All,
I'm totally new to SAP HANA.
can some one please explain me the below code.
as per my understanding sequence is user to generate unique id's.
what are NEXTVAL and CURRVAL?
what id " select seq.nextval from dummy??" and select seq.currval from dummy??
what is dummy in the above code??
it would be very helpful for me if some one explains me the above code in details.
P.S. sorry if it comes under some basic concept
Kind Regards,
Venkatesh
Venkatesh,
dummy is the table that you may use to select anything from the HANA db.. like duel in Oracle ..
once you have created a sequence you need to specify a start integer.
then your nextVal would be your incremented value
and your currVal is the current value at the sequence
hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.