Solved

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

Posted on 2011-02-15
5
474 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
[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
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
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.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

717 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