cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results for 
Search instead for 
Did you mean: 

String data type - Max number of chars

elgeo
Valued Contributor II

Hello. Could anyone please confirm the maximum number of characters for sql string data type? Thank you in advance

1 ACCEPTED SOLUTION

Accepted Solutions

Kaniz
Community Manager
Community Manager

Hi @ELENI GEORGOUSI​, The size parameter specifies the column length in characters - can be from 0 to 255. Default is 1.

Hope this answer helps you.

View solution in original post

2 REPLIES 2

DeepakMakwana74
New Contributor III

I think it is 256 characters it support​

Kaniz
Community Manager
Community Manager

Hi @ELENI GEORGOUSI​, The size parameter specifies the column length in characters - can be from 0 to 255. Default is 1.

Hope this answer helps you.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!