why state field they taken as integer why not string or choice??

KM SN
Tera Expert
 
3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @KM SN 

 

MY thought, to make the code easy and simple, like a user while writing code can use In-progress or Inprogress but if the value is integer it is safe and secure.

 

I would like to follow this question. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

we can make field type as choice and can give integers as values right? what special in it?

Anand Kumar P
Giga Patron
Giga Patron

Hi @KM SN ,

Integer field type gives sorting, indexing and comparison operations , String and choice are less efficient to do.

Mark it helpful and solution proposed if it serves your purpose.

Thanks,

Anand