on 10-07-2014 2:43 PM
Hi Experts,
I have created one table in HANA.
now i want to create counter in the table.
can someone please help how to create counter in the table.
Regards
Raj
I am not exactly sure what you want want to achieve with a "counter". If you just want to number the lines of the table (based on a certain order?) you can generate the number via the analytic row_number function:
ROW_NUMBER () OVER (ORDER BY <order_by_columns_separated_by_comma>)
Alternatively you can implement a number range based on a SAP HANA sequence.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.