is varchar same as string?

Akki1
Tera Contributor

HI,

I want to create a field on table with type varchar? 

I cannot find varchar....

Is it same as string? 

3 REPLIES 3

Nayan  Dhamane
Kilo Sage
Kilo Sage

Hello Akki,

Yes string is the variable type you can use for var char.

Please find more details about Service catalog variables in below link:

https://docs.servicenow.com/en-US/bundle/tokyo-servicenow-platform/page/product/service-catalog-mana...

 

Please mark my answer correct/helpful if applicable.

 

BR,
Nayan

If my answer solved your issue, please mark my answer as Correct & Helpful based on the Impact

Best Regards,
Nayan Dhamane
ServiceNow Community Rising Star 2023.

Harshal Sirsat
Tera Guru

STRING: It is a sequence of characters that can be expressed using single quotes ( ' ) as well as double quotes ( " ). VARCHAR: It is variable-length character type. It is defined using a length specifier, which specifies the maximum number of characters allowed in the character string.

 

Anurag Tripathi
Mega Patron
Mega Patron

Yes varchar can be though as equal to string in ServiceNow

-Anurag