Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in SQL by (6.1k points)

What data type I should be using for an email? I just started to learn SQL, and I tried to make some columns, here is my table for ID, Username, Password, Money, and Email.

Did I make it correctly?

enter image description here

1 Answer

0 votes
by (12.7k points)

Since the max length for an email is 254 characters, I would recommend you to use nvarchar(255). I think that should be enough.

Check out this SQL Tutorial for more insights.

Want to be a SQL expert? Come and join this SQL Certification by Intellipaat.

For more information visit :

Related questions

0 votes
2 answers
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...