急!高手来帮忙翻译下(关于数据库的)20分!Domain TablesEvery 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, T

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/08 20:07:18
急!高手来帮忙翻译下(关于数据库的)20分!Domain TablesEvery time you have a column whose value most come from a known set of values you have a

急!高手来帮忙翻译下(关于数据库的)20分!Domain TablesEvery 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, 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.

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

领域表 在您最安排专栏价值来自您有一"domain" 的已知的套价值时候; 为那个专栏。您的领域象星期(太阳、星期一, THU. 。SAT 或0, 1, 2. 的天也许是一样简单。6), 只要国名或一样未知象书从编目。 有时you'll 并且已经有需要对于桌代表这些领域(书作为作者、国际标准书号、出版者和等) 但需要对于桌不能有时是很明显的。 如果您让您的用户键入国名, 他们能键入"BRAZIL"...

全部展开

领域表 在您最安排专栏价值来自您有一"domain" 的已知的套价值时候; 为那个专栏。您的领域象星期(太阳、星期一, THU. 。SAT 或0, 1, 2. 的天也许是一样简单。6), 只要国名或一样未知象书从编目。 有时you'll 并且已经有需要对于桌代表这些领域(书作为作者、国际标准书号、出版者和等) 但需要对于桌不能有时是很明显的。 如果您让您的用户键入国名, 他们能键入"BRAZIL", "Brazil", "brazil" 或"Brasil" (是名字我们Brasilians 用途为我们的国家) 。有时您能强迫所有输入对上部或小写,但多半时间you'll 仍然是键入的差错主题。 领域桌解决这个问题, 由同任一身份证(或代码联系在一起) 对名字或描述。用户将选择(或看见在报告) name/description, 但数据库桌将存放代码。 您并且得到更加快速的询问的好处, 快速地排序(更小的串, 整数代替串, 等等), 地方化更低的存贮和舒适(不要需要改变代码, 桌您得到描述) 。 结论 我们只这里接触了关系数据库设计表面。我希望信息被提供这里将是有用的对您的工作并且我欢迎任一反馈关于题目为未来数据库, Java 和互联网文章。 文章被援引的mSQL 和SQL 任何地方, 但您能运用您的知识(有希望地) 得到在mySQL, 固体、Oracle 、DB2 和许多其它数据库为OS/2 和其它平台。 我们很快几乎肯定将报道的题目是关系的反对映射。虽然个体和汇集(we've 被看见在Java 文章) 是一个非常简单的想法, 事变得更加复杂当您考虑到关系并且加入。 其它好的题目会是个体关系塑造, 但我不知道为得出E-R 图的容易地trialable OS/2 工具。

收起

急!高手来帮忙翻译下(关于数据库的)20分!Domain TablesEvery 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, T 急! 来一篇关于数据库概述的英语作文 求英语高手帮忙翻译下.小弟感激不尽.急OutofallthepeopleintheworldIamsoluckythatImeetyouYoumakemydaysbrighterYougivememanyreasonstosmileeverydayItisgreattoknowthatthereissomeonespeciallikeyououtthereYoureallystandoutinthecrowdandmakethe 高手帮忙翻译下歌曲 求英语高手帮忙翻译下社会统计学的练习题> 急! 关于 if 函数的题跪求各位高手帮忙 必修二cultural corner课文翻译全部的(求高手帮忙 急) 英文翻译~急,高手来!机器翻译勿进华尚网络科技有限公司帮忙翻译一下谢谢 关于故宫的简介平面图填空!各位高手帮忙!急!( )门 御花园 ( )殿 ( ) 英语翻译请高手江湖救急,急是一个标题,请帮忙翻译下 STAINLESS OCEAN高手帮忙翻译下!急用 英语翻译各位高手帮忙翻译下breaktheruleswlthdjmontprepareforchanges 数学学具是什么!高手快来!快来!帮忙!帮忙!急须高手帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙!帮忙! 急求关于《She walks in Beauty》这首诗三个问题 急!急!急!要用英文回答,不要翻译,很急,会的高手麻烦帮忙下,谢谢~1. What was the colour of the lady's dress? How do you know? 2. What does their dwelling place refe 给力英语高手来帮忙翻译下:爱一个得不到的人却满脑子都是他会把人逼疯的 3Q VERY MUCH 【강기현】帮忙翻译下,人名来的~^^ 1443686857数字摩斯密码.帮忙翻译下.好急的 风力发电的发展状况及相关问题 (翻译成英文怎么翻译 求高手帮忙 急 谢谢)