首页 | 本学科首页   官方微博 | 高级检索  
     

数据库英文字段的中文显示研究
引用本文:马丽艳,郭子平,程慧芬.数据库英文字段的中文显示研究[J].计算机应用与软件,2007,24(4):168-170.
作者姓名:马丽艳  郭子平  程慧芬
作者单位:河北工程大学信电学院,河北,邯郸,056038;邯郸市水利水电勘测设计研究院信息部,河北,邯郸,056002
摘    要:在开发数据库应用的项目中,常涉及到对企业数据库中数据表的各种数据的查询浏览等信息的获取.虽然大型关系数据库均支持中文字段名称的定义,但是数据库表中的字段名称通常仍由英文字符定义.一个大型数据库往往包括数百个数据表,由成千上万个字段组成,而数据的字段名称又必须以中文名称来显示,如果在每个Sql语法中通过as进行中英文的转换,不仅使工作量增大,且一旦程序变化,就需修改每个语法命令,大大降低程序的灵活性.通过建立中英文数据字典维护表,从而建立通用的数据获取函数的方法,解决数据库开发中的上述问题.

关 键 词:DataSet  DataTable  DataRow  DataColumn  表结构
修稿时间:2006-07-03

DATABASE FIELDS ENGLISH CONVERTING TO CHINESE SHOWS
Ma Liyan,Guo Ziping,Cheng Huifang.DATABASE FIELDS ENGLISH CONVERTING TO CHINESE SHOWS[J].Computer Applications and Software,2007,24(4):168-170.
Authors:Ma Liyan  Guo Ziping  Cheng Huifang
Affiliation:1. College of Information and Electrical Engineering,Hebei University of Engineering,Handan 056038 ,Hebei, China; 2 . Department of Information,Handan Design and Research Institute of Conservancy and Hydropower, Handan 056002,Hebei, China
Abstract:As we develop the software of database program,it refers to various of condition searches,in order to get lots of information data.Although modern relationship databases support table's fields defined with chinese character code,but fields usually define with english character code.A big database application always makes up several hundred tables and several thousand fields.However fields english have to show with chinese language,if we convert english to chinese using 'as' with SQL command,it will increase our work,furthermore if the application changes in the future,we must modify code in the program.Thus it will decrease database system's flexiblility.In this paper,to solving these questions,we create auxiliary table that storages fields english to chinese comparing records and create general data getting function.
Keywords:DataSet DataTable DataRow DataColumn Table structure  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号