difference between general data types and ServiceNow field types?

KM SN
Tera Expert

Question may seem fundamental or silly but need thoughts on it.

2 REPLIES 2

AshishKM
Kilo Patron
Kilo Patron

HI @KM SN ,

ServiceNow data type is mainly combo of database type and custom html type.

like in Database , integer, float , char , string , boolean where ServiceNow data types design to full fil db requirement along with form base needs.

like ServiceNow select box type  ( html select )  is pointing to Question Choice table where the Label/Value are string ( txt ) type. 

if u have any specific case or data type please share the details.

 

-Thanks

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

Community Alums
Not applicable

Hi @KM SN ,

Several field types are available in the system.

This table shows field types and corresponding MySQL database types. Typically, it isn't necessary to perform any actions at the database level. To learn about changing a field type, see System dictionary.
Note: An example of option types is as follows:
  • A string field defined in the platform with a max length of 40 characters → VARCHAR(40).
  • A string field defined in the platform with a max length of x, where x = 41-255 characters, inclusive → VARCHAR(x) [examples: String 42 is VARCHAR(42) and String 211 is VARCHAR(211)].
  • A string field defined in the platform with a max length of 256 and upwards → MEDIUMTEXT.

These field types are available to administrators when creating new fields or changing the type of existing fields.