Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > General > Database Concepts & Design > data type question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-09-08, 11:26
lmei007 lmei007 is offline
Registered User
 
Join Date: Jun 2008
Posts: 18
data type question

1. read a book, cannot really understand the following sentence:
"Data types vary from one RDBMS to another, so a user might need to use metadata to establish the data types used by a particular database."

Is that mean there is a metadata which is portable from one RDBMS to another?

2. using powerdesigner, confused by its int, integer, int(%n) and integer(%n). and also other tools use all upper case data type. ?????
Reply With Quote
  #2 (permalink)  
Old 06-09-08, 11:53
pootle flump pootle flump is offline
COLOSSAL WIN
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 10,342
Is that an exact quote? It doesn't make much sense to me...

If you need to compare the datatypes between two RDBMSs then consult the documentation. Unless the author meant databases not RDBMSs....
Reply With Quote
  #3 (permalink)  
Old 06-09-08, 11:55
lmei007 lmei007 is offline
Registered User
 
Join Date: Jun 2008
Posts: 18
Quote:
Originally Posted by pootle flump
Is that an exact quote?
Yes. I copied.
Reply With Quote
  #4 (permalink)  
Old 06-09-08, 12:15
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 9,570
PowerDesigner is a tool that manipulates more than one database engine (IBM DB2, Microsoft, MySQL, Oracle, Sybase, etc). Each engine implements different datatypes, and some of the engines have datatypes with the same name but different implementation specifics.

I suspect that the point that the author was trying to make is that the designer should not rely on any particular assumptions (is an INT 16, 32, or 64 bits long, is it signed or unsigned, etc). The long standing assumption among academic modelers is that the modeler is responsible for creating appropriate data types for each attribute (column), then mapping those custom types to what the implementation supports at the time the schema is implemented from the model.

-PatP
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On