Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Does anybody have or know of a list of the different SQL Data Types and how many bytes they take up.

Posted on 2011-02-15
7
Medium Priority
?
838 Views
Last Modified: 2012-05-11
Does anybody have or know of a list of the different SQL Data Types and how many bytes they take up.
0
Comment
Question by:Mr_Shaw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 16

Assisted Solution

by:EvilPostIt
EvilPostIt earned 300 total points
ID: 34895717
Here is the link.

From this page you can access each data type which includes the size

http://msdn.microsoft.com/en-us/library/ms187752.aspx
0
 
LVL 25

Assisted Solution

by:Lee Savidge
Lee Savidge earned 1100 total points
ID: 34895718
select xtype, length from systypes

Lee
0
 
LVL 6

Assisted Solution

by:loopfinity
loopfinity earned 300 total points
ID: 34895721
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
LVL 39

Assisted Solution

by:Pratima Pharande
Pratima Pharande earned 300 total points
ID: 34895804
0
 

Author Comment

by:Mr_Shaw
ID: 34895883
select xtype, length from systypes


Is length the number of bytes.
0
 
LVL 25

Accepted Solution

by:
Lee Savidge earned 1100 total points
ID: 34895952
Yes. The query is this: select name, length from systypes

I chose the wrong column.

Lee
0
 

Author Closing Comment

by:Mr_Shaw
ID: 34898376
Thanks....  systypes is very useful...
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question