早教吧 育儿知识 作业答案 考试题库 百科 知识分享

急!高手来帮忙翻译下(关于数据库的)20分!DomainTablesEverytimeyouhaveacolumnwhosevaluemostcomefromaknownsetofvaluesyouhavea"domain"forthatcolumn.Yourdomainmaybeassimpleasthedayoftheweek(SUN,MON,T

题目详情
急!高手来帮忙翻译下(关于数据库的)20分!
Domain Tables
Every time you have a column whose value most come from a known set of values you have a "domain" for that column. Your domain may be as simple as the day of the week (SUN, MON, THU .. SAT or 0, 1, 2 .. 6), as long as the Country Names or as unknown as the Books From The Catalog.
Sometimes you'll already have the need for a table representing these domain (a book as also an author, ISBN, publisher and etc) but sometimes the need for a table may not be so apparent.
If you just let your users type the country name, they can type "BRAZIL", "Brazil", "brazil" or "Brasil" (which is the name we Brasilians use for our country). Sometimes you can just force all input to upper or lower case, but most of the time you'll still be the subject of typing mistakes.
Domain tables solve this problem, by associating any ID (or code) to a name or description. The user will choose (or see on reports) the name/description, but the database tables will store the code.
You get also the benefits of faster queries, faster sorting (smaller strings, integers instead of strings, and so on), lower storage and ease of localization (do not need to change the code, just the table from which you get the descriptions).
Conclusion
Here we only touched the surface of Relational Database Design. I hope the info provided here will be useful to your work and I welcome any feedback about topics for future database, Java and Internet articles.
The article cited mSQL and SQL Anywhere, but you could apply the knowledge you (hopefully) got on mySQL, Solid, Oracle, DB2 and many other databases for OS/2 and other platforms.
A topic we will almost for sure cover soon is relational to object mapping. Although entities and collections (we've seen on the Java articles) are a very simple idea, thing become more complex when you take into account the relationships and joins.
Another nice topic would be Entity-Relationship modeling, but I know no easily trialable OS/2 tool for drawing E-R diagrams.











▼优质解答
答案和解析
领土桌子
你有柱子谁的估价来自你适合这几次柱子有"领土"的套知名的价值的大多数. 作为象那些日子的一周的一样简单(Sun,星期四,星期一,你的领土的可能. 坐或者0,1,2. 6),象国名一样长或者从目录象那些书一样未知.
有时你已经将有对描述这些块领土为(作为也一名作者的一本书的一张桌子的需要, 出版商,ISBN 和等等)但是有时那些对桌子的需要可能不如此明显.
如果你刚刚让你的用户打印国名, 他们能打印"巴西", "巴西","brazil"或者"巴西"(在那些名字我们Brasilians适合我们的国家那里使用). 有时你可以对上面或者更低情况强迫全部输入,但是多数时间你仍然是打字错误的主题.
领土桌子解决这个问题,通过把任何身份证明(或者代码)和一个名字或者描述联系起来. 用户将选择(或者关于报告看见)名字/ 描述,但是数据库桌子将储存代码.
你也得到更快的质问的好处, 迅速分类(更小的线, 整数不是线,等等), 下部贮存和便于(不需要兑换代码,从哪个你得描述的桌子实在)的地方化.
结论
这里我们只接触相关的数据库的表面设计. 我希望在这里提供的信息将对你的工作有用,我欢迎任何关于将来的数据库,Java和因特网文章的题目的反馈.
文章在任何地方引用mSQL 和SQL, 但是你能使用知识你(充满希望)得到mySQL,可靠,Oracle,DB2和很多OS / 2的其他数据库, 以及其他平台.
我们几乎肯定将的一个题目盖子不久对目标映象相关. 虽然实体和收集(我们已经在爪哇文章上看见) 是一种非常简单的想法,当你考虑到关系并且参加时,事情变得更复杂.
另一个好的题目将是实体关系模型,但是我为画E-R 图解并不容易知道trialable OS / 2件工具.
看了 急!高手来帮忙翻译下(关于数...的网友还看了以下:

英语翻译放心看起来有些多,但对于高手,应该一分钟就能搞定了.请把这些建材方面的中文单词翻译成英文吧  2020-04-06 …

数学高手进,关于杯子的翻转问题15只茶杯,杯口朝上,将其中6只茶杯同时翻转,称为一次运动.问能否经  2020-05-16 …

文言文翻译天地浑沌如鸡子.盘古生在其中.万八千岁.天地开辟.阳清为天.阴浊为地.盘古在其中.一日九  2020-06-15 …

英语翻译天日高一丈,地日厚一丈,盘古日长一丈,如此万八千岁.天数极高,地数极深,盘古极长.后乃有三  2020-06-15 …

英语翻译论至德者,不和于俗翻译正解我的翻译是品德高尚的人不会去附和、取悦于大众(俗,俗人,普通人)  2020-06-20 …

英语翻译天地混沌如鸡子,盘古生其中,万八千岁;天地开辟,阳清为天,阴浊为地;盘古在其中,一日九变,神  2020-11-10 …

英语翻译天地混沌如鸡子,盘古生其中.万八千岁,开天辟地,阳清为天,阴浊为地,盘古在其中,一日九变.神  2020-11-10 …

高一数学不等式题某高中录取新生对语数英三科的中考分数要求是:语文不低于70分;数学高于80分,语数英  2020-11-20 …

英语翻译由于目前xxx的丢弃率过于高,我觉得为了使这些(人工,纸张,油墨)等不必要的损失得到弥补,所  2021-01-06 …

韩国“岁月”号客轮的沉没导致数百人殒命海底,现已初步查明是由于高速行驶的轮船在急转弯时船舱中严重超载  2021-01-22 …