Solved

An INT datatype is 4 bytes.... Is that 4bytes per entry...

Posted on 2011-02-15
5
462 Views
Last Modified: 2012-05-11
An INT datatype is 4 bytes.... Is that 4bytes per entry...

Example 10 INT entries =  10 bytes?
0
Comment
Question by:Mr_Shaw
5 Comments
 
LVL 39

Accepted Solution

by:
Pratima Pharande earned 250 total points
ID: 34894942
yes
10 INT entries =  40 bytes
0
 
LVL 50

Assisted Solution

by:Lowfatspread
Lowfatspread earned 125 total points
ID: 34894957
yes basically (plus any additional overhead)

so 10 integer columns  = 40 bytes (minimum)
0
 
LVL 18

Assisted Solution

by:Cluskitt
Cluskitt earned 125 total points
ID: 34894967
Basically, when you say that a variable is x bytes, it means that, when you declare that variable, x bytes of RAM (or filepage, but to simplify, assume RAM) are reserved for exclusive use of that variable.
0
 
LVL 39

Assisted Solution

by:Pratima Pharande
Pratima Pharande earned 250 total points
ID: 34894987
0
 

Author Closing Comment

by:Mr_Shaw
ID: 34895308
thanks
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now