TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Anurag Singh
NA
89
65k
How will bytes it will take in sql???
Apr 30 2015 2:36 AM
Hi,
I have a column
NAME
and I am defining its datatype like:
varchar(50), char(50), nvarchar(50)
and
nchar(50)
. And after that if I'll print
'ANURAG',
then how much bytes it will take in all conditions???
Means:
Name varchar(50) then I'll print 'ANURAG' then bytes=???
Name char(50) then I'll print 'ANURAG' then bytes=???
Name nvarchar(50) then I'll print 'ANURAG' then bytes=???
Name nchar(50) then I'll print 'ANURAG' then bytes=???
Thanks:
Anurag Singh
Reply
Answers (
4
)
Get column name in sql table according to particular value
Get Division wise top customers - Sales Report