logo       

Re: Datatype mapping problem: msg#00006

Subject: Re: Datatype mapping problem
First of all, thank for your advice.
Certainly I got the field name wrong. 
It is a customer_id field, not customer_name.
Anywayse I agree that domains can solve certain datatype problems.
I also appreciate your tip to reuse the domains declared.

However, my problem is a little bit different from what you 
understood. I presented an inappropriate example and it seemd to have 
confused you. Datatype standards files can be used to map logical 
datatypes to physical datatypes. Of course, it can be combined with 
domains. I think its main purpose is that you can derive any physical 
models(SQL 2000, Oracle...) from a logical model without changing 
datatype manually.
For example, let's say you have a domain, EmailType. Its logical 
datatype is varchar(128). 
When you derive a physical model for ORACLE, you want to map it as 
varchar2(128). But at the same time, you want to implement it with 
SQL server 2000, then you need to just keep it as varchar(128).
If you have created two datatype standard files for both database 
types, then you can just link a corresponding datatype standards file 
whenever you derive a physical model for a certain database type.
In that way, you don't have to worry about changing the domain 
datatypes for different database server implementations.

Anywase, I have figured out myself why the problem was happening.
It seems like a bug or limitation of ERWin 4.0 evaluation version
(don't know which one is, though).
I have downloaded the newest version, ERWIN 4.1, and it does not have 
the problem any more.

--- In ERWin-DB-Modeling@xxxxxxxxxxxxxxx, "Warren" <wcotton950@xxxx> 
wrote:
> I suppose it's beside the point why you would want a customer_name 
> field to be datatype integer. I'd expect it to be character.
> 
> I don't know what you mean by a "datatype standard file." ERwin 
uses 
> a Domain Dictionary embedded in each model file. You access the 
> Domain Dictionary under Model/Domain Dictionary.
> 
> The easy way to set up a standard Domain Dictionary is to define it 
> once in a blank ERwin file, then use Complete Compare to import the 
> domains into whatever model you're working on.
> 
> Domains are assigned a datatype. Then when you add an attribute to 
an 
> entity, you assign a domain to the attribute. ERwin automatically 
> assigns the datatype of the domain to the attribute. You can change 
> the datatype if you wish.
> 
>.


To subscribe, send an email to:
ERWin-DB-Modeling-subscribe@xxxxxxxxxxxxxxx

To unsubscribe, send an email to:
ERWin-DB-Modeling-unsubscribe@xxxxxxxxxxxxxxx

Archives: http://groups.yahoo.com/group/ERWin-DB-Modeling/messages 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/VzvwlB/TM
---------------------------------------------------------------------~->

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/ERWin-DB-Modeling/

To unsubscribe from this group, send an email to:
 ERWin-DB-Modeling-unsubscribe@xxxxxxxxxxxxxxx

Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/ 





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe