Autonumber, Autonumberhash128, Autonumberhash256 functions used for same thing.
It automatiacally generate an unique number. Basically we use in creating keys like composite keys.It will give the exact result.It will reduce the RAM usage also. Whenever u r creating composte keys it will be best to use autonumber function. For more read help n check in reference manual.
Thanks for your answer,
but two questions are occuring in my mind:
- is there any performance differences using autonumber, autonumberhash128 or 256 ?
- when is it better to use them ? My application is composed by two docs: the first one reads all table from the db and stores them into qvd files, the second one retrieve data from qvd files and provides to create reports, graphs,..
The question is: is it better to use autonumber into the loading from db or later ?
Thanks in advance fo your suggestions