Solved

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

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQl Query to find x consecutive Nbrs in a Table 30 97
T-SQL 10 35
Check ALL SP in database make sure there are no errors 17 45
sql server query 12 26
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
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 ?
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

830 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