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

[Forums] How to Create Recursive Function ?

$
0
0
Suraj,

You seem to be opting for a sequential read of the entire table, which is pretty bad performance-wise. What if the table contains a few million records, without any gaps? Inserting a record will take a long time.

Also, if you keep Ids sequential, the highest entry will also be the youngest (so sorting by Id gives you the records in chronological order).

So what is your use case? Why have this special Id? Why not just use auto-increment Ids?

Viewing all articles
Browse latest Browse all 1476385

Trending Articles



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