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

x
?
Solved

"Int" and "IntN" DataType

Posted on 1998-11-26
2
Medium Priority
?
513 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
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.

636 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