?
Solved

"Int" and "IntN" DataType

Posted on 1998-11-26
2
Medium Priority
?
509 Views
Last Modified: 2008-03-06
Hello,
What is the diffrent between INT and INTN DataTypes?
0
Comment
Question by:eyaltil
[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
  • 2
2 Comments
 
LVL 5

Accepted Solution

by:
scrapdog earned 680 total points
ID: 1091989
INTN is the same as INT except that INTN stores NULL values.  Note that in INTN 0 is *not* NULL...INTN can store all of the values an INT can, *or* it can be NULL.  This datatype is for internal use by the SQL server.  See the following page for more info:

http://www.sfi-software.com/manuals/helpsql/helpsqlNull_Values.html
0
 
LVL 5

Expert Comment

by:scrapdog
ID: 1091990
oops, change this sentence:  "INTN is the same as INT except that INTN stores NULL values"

to "INTN is the same as INT except that INTN can store NULL values
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
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…

752 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