| 订阅 | 在线投稿
分享
 
 
当前位置: 王朝网络 >> delphi >> Delphi3.0 zhong lian jie shu ju ku de san zhong fang shi

Delphi3.0 zhong lian jie shu ju ku de san zhong fang shi

2008-05-19 08:58:34 编辑來源:互联网 评论
 
 
 
本文为【Delphi3.0中连接数据库的三种方式】的拼音翻译版
  Delphi 3.0 dui fang wen shu ju ku ti gong le qiang you li de zhi chi , li yong Delphi 3.0 ke yi kai fa chu gong neng qiang da de shu ju ku ying yong cheng xu 。
  ---- Delphi de ke shi hua gong neng xiang dang qiang da , zhi zuo yi ge jian dan de jin dui shu ju jin xing cha kan he wei hu de cheng xu shi fen rong yi , ke yi bu xie ren he dai ma jiu neng shi xian !Delphi 3.0 zhong fang wen shu ju ku de fang shi you san zhong : zhi jie fang wen , ru fang wen Paradox he DBase shu ju ku ; tong guo ODBC fang wen , ru fang wen Access、Foxpro deng shu ju ku ; tong guo nei qian (Native) fang shi fang wen shu ju ku , ru fang wen SQL Server、Oracle、DB2 deng 。 zai Delphi zhong , ke yi shi yong Table kong jian huo / he Query kong jian lai fang wen shu ju ku , er zhe de she zhi he yong fa dou cha bu duo , yin ci xia mian jin yi Table kong jian wei li shuo ming zhe san zhong fang shi de te dian he yong fa 。
  ---- 1. zhi jie fang wen
  ---- Delphi ke yi zhi jie fang wen Paradox he DBase zhe liang ge zhuo mian xing de shu ju ku xi tong 。 fang wen zhe liang zhong lei xing de shu ju ku shi bu xu yao te bie de she zhi , zhi xu yao ba wen jian lu jing fu gei Table kong jian de shu xing DatabaseName jiu ke yi fang wen gai lu jing xia de shu ju ku le 。 dang ran , ye ke yi shi xian jian li yang she shu ju ku lu jing de shu ju ku bie ming , ran hou ba Table kong jian de DatabaseName shu xing she zhi wei xiang ying de shu ju ku bie ming 。
  ---- 2. tong guo ODBC fang wen
  ---- fang wen Paradox he DBase yi wai de shu ju ku , tong chang shi tong guo ODBC lai shi xian de 。Delphi ke yi fang wen zhi chi ODBC de shu ju ku xi tong , ru Access、SQL Server he Oracle deng 。 dang ran , tong guo ODBC fang wen shu ju ku shi , shou xian yao shi yong Windows de kong zhi mian ban huo Delphi de shu ju ku yin qing (BDE) jian li ODBC shu ju yuan 。
  ---- Delphi ti gong le Database kong jian , gai kong jian de zuo yong you : zai ying yong cheng xu de kong zhi xia he shu ju ku xi tong jian li lian jie 、 jin xing shi wu chu li deng 。 zai shu ju ku ying yong cheng xu zhong , ke yi shi yong Database kong jian , ye ke yi bu shi yong 。 ru guo bu shi yong Database kong jian , ke yi zhi jie ba ODBC shu ju yuan de ming cheng fu gei Table kong jian de shu xing DatabaseName er da dao fang wen gai shu ju ku de mu de 。 zhe zhong fang shi de bi duan shi zai cheng xu yun xing shi you Delphi xi tong zi dong tan chu deng lu dao shu ju ku de ying wen jie mian de chuang kou , ji bu mei guan you bu bian yu kong zhi 。 yin ci , bi zhe jian yi zai shu ju ku ying yong cheng xu zhong shi yong Database kong jian lai deng lu dao shu ju ku xi tong 。 ba Table kong jian yu Database kong jian guan lian de fang fa shi ba qi DatabaseName shu xing zhi zhi ding wei Database kong jian de DatabaseName shu xing zhi 。 yi ge Database kong jian ke yi guan li ruo gan ge Table kong jian 。 he Database kong jian jian li guan lian yi hou , zhi yao gai Database kong jian yi jing he shu ju ku jian li le lian jie ,Table kong jian jiu ke yi zhi jie fang wen shu ju ku er wu xu zai ci deng lu 。
  ---- 3. tong guo nei qian fang shi fang wen
  ---- Delphi zhong ke yi bu tong guo ODBC, er yi nei qian fang shi fang wen SQL Server、Oracle、DB2 deng shu ju ku xi tong 。 zhe xu yao shi yong shu ju ku bie ming lai zhi ding shu ju ku , shu ju ku bie ming ke yi shi xian jian li , ye ke yi zai cheng xu yun xing shi dong tai chuang jian 。 qian zhe cheng wei jing tai bie ming , hou zhe cheng wei dong tai bie ming 。 shi yong shu ju ku bie ming lai fang wen shu ju ku de fang fa he shi yong ODBC shu ju yuan de qing xing xiang tong , zhe li bu zai lei shu 。 tong guo nei qian fang shi fang wen shu ju ku de jing tai bie ming bi xu zai BDE zhong jian li 。 yi fang wen SQL Server shu ju ku wei li , zai jian li bie ming shi bi xu zhi ding shu ju ku fu wu qi de ming cheng (SERVER NAME)、 zhu ji ming (HOST NAME) yi ji yao fang wen de shu ju ku ming cheng (DATABASE NAME), ke yi zhi ding deng lu yong hu ming (USER NAME) he kou ling (PASSWORD) deng 。 tong guo dong tai chuang jian de bie ming lai fang wen shu ju ku bi xu shi yong Database kong jian 。 ru he she zhi Database kong jian zhong fang wen shu ju ku de shen shu ne ? yong shu biao shuang ji Database kong jian , chu xian shen shu she zhi chuang kou , zai "Driver name" yi lan xuan ze yao fang wen de shu ju ku xi tong , ru "MSSQL", ran hou xuan ze an niu "Defaults", jiu hui ba BDE zhong gai shu ju ku xi tong suo xu de shen shu ming cheng he que sheng zhi jia ru dao "Parameter overrides" lie biao zhong 。 gen ju shi ji qing kuang geng gai shen shu zhong de "SERVER NAME"、"DATABASE NAME" deng xiang 。 ran hou xuan ze an niu "OK" jiu ke yi le 。 xu yao shuo ming de liang dian shi , yi nei qian fang shi fang wen shu ju ku xu yao zai an zhuang Delphil 3.0 shi zhi ding an zhuang SQL Link;Query kong jian de SQL yu ju bu neng yi fen hao jie yi 。
  ---- jie lun
  ---- tong guo nei qian fang shi fang wen shu ju ku yu tong guo ODBC fang wen shu ju ku xiang bi , qian zhe de su du yao kuai yi xie 。 er qie , nei qian fang shi ke yi zai cheng xu zhong dong tai di she zhi lian jie shu ju ku suo xu de shen shu , yong hu bu bi she zhi ODBC shu ju yuan , zhe jiu jiang di le dui yong hu ji shu shui ping de yao qiu , bing qie jian shao le yong hu de gong zuo liang 。 cong xi tong pei zhi de nan yi he fu duo cheng du lai kan , shi yong nei qian fang shi kai fa chu de shu ju ku ying yong xi tong geng bian yu pu tong yong hu shi yong 。 yin ci , bi zhe jian yi zai kai fa jiao da xing de ying yong xi tong shi , zui hao tong guo nei qian fang shi lai fang wen shu ju ku 。
  【原文】【汉音对照
 
 
 
 
 
 
 
 
 
日版宠物情人插曲《Winding Road》歌词

日版宠物情人2017的插曲,很带节奏感,日语的,女生唱的。 最后听见是在第8集的时候女主手割伤了,然后男主用嘴帮她吸了一下,插曲就出来了。 歌手:Def...

兄弟共妻,我成了他们夜里的美食

老钟家的两个儿子很特别,就是跟其他的人不太一样,魔一般的执着。兄弟俩都到了要结婚的年龄了,不管自家老爹怎么磨破嘴皮子,兄弟俩说不娶就不娶,老父母为兄弟两操碎了心...

如何磨出破洞牛仔裤?牛仔裤怎么剪破洞?

把牛仔裤磨出有线的破洞 1、具体工具就是磨脚石,下面垫一个硬物,然后用磨脚石一直磨一直磨,到把那块磨薄了,用手撕开就好了。出来的洞啊很自然的。需要猫须的话调几...

我就是扫描下图得到了敬业福和爱国福

先来看下敬业福和爱国福 今年春节,支付宝再次推出了“五福红包”活动,表示要“把欠大家的敬业福都还给大家”。 今天该活动正式启动,和去年一样,需要收集“五福”...

冰箱异味产生的原因和臭味去除的方法

有时候我们打开冰箱就会闻到一股异味,冰箱里的这种异味是因为一些物质发出的气味的混合体,闻起来让人恶心。 产生这些异味的主要原因有以下几点。 1、很多人有这种习...

 
 
  Delphi 3.0 dui fang wen shu ju ku ti gong le qiang you li de zhi chi , li yong Delphi 3.0 ke yi kai fa chu gong neng qiang da de shu ju ku ying yong cheng xu 。   ---- Delphi de ke shi hua gong neng xiang dang qiang da , zhi zuo yi ge jian dan de jin dui shu ju jin xing cha kan he wei hu de cheng xu shi fen rong yi , ke yi bu xie ren he dai ma jiu neng shi xian !Delphi 3.0 zhong fang wen shu ju ku de fang shi you san zhong : zhi jie fang wen , ru fang wen Paradox he DBase shu ju ku ; tong guo ODBC fang wen , ru fang wen Access、Foxpro deng shu ju ku ; tong guo nei qian (Native) fang shi fang wen shu ju ku , ru fang wen SQL Server、Oracle、DB2 deng 。 zai Delphi zhong , ke yi shi yong Table kong jian huo / he Query kong jian lai fang wen shu ju ku , er zhe de she zhi he yong fa dou cha bu duo , yin ci xia mian jin yi Table kong jian wei li shuo ming zhe san zhong fang shi de te dian he yong fa 。   ---- 1. zhi jie fang wen   ---- Delphi ke yi zhi jie fang wen Paradox he DBase zhe liang ge zhuo mian xing de shu ju ku xi tong 。 fang wen zhe liang zhong lei xing de shu ju ku shi bu xu yao te bie de she zhi , zhi xu yao ba wen jian lu jing fu gei Table kong jian de shu xing DatabaseName jiu ke yi fang wen gai lu jing xia de shu ju ku le 。 dang ran , ye ke yi shi xian jian li yang she shu ju ku lu jing de shu ju ku bie ming , ran hou ba Table kong jian de DatabaseName shu xing she zhi wei xiang ying de shu ju ku bie ming 。   ---- 2. tong guo ODBC fang wen   ---- fang wen Paradox he DBase yi wai de shu ju ku , tong chang shi tong guo ODBC lai shi xian de 。Delphi ke yi fang wen zhi chi ODBC de shu ju ku xi tong , ru Access、SQL Server he Oracle deng 。 dang ran , tong guo ODBC fang wen shu ju ku shi , shou xian yao shi yong Windows de kong zhi mian ban huo Delphi de shu ju ku yin qing (BDE) jian li ODBC shu ju yuan 。   ---- Delphi ti gong le Database kong jian , gai kong jian de zuo yong you : zai ying yong cheng xu de kong zhi xia he shu ju ku xi tong jian li lian jie 、 jin xing shi wu chu li deng 。 zai shu ju ku ying yong cheng xu zhong , ke yi shi yong Database kong jian , ye ke yi bu shi yong 。 ru guo bu shi yong Database kong jian , ke yi zhi jie ba ODBC shu ju yuan de ming cheng fu gei Table kong jian de shu xing DatabaseName er da dao fang wen gai shu ju ku de mu de 。 zhe zhong fang shi de bi duan shi zai cheng xu yun xing shi you Delphi xi tong zi dong tan chu deng lu dao shu ju ku de ying wen jie mian de chuang kou , ji bu mei guan you bu bian yu kong zhi 。 yin ci , bi zhe jian yi zai shu ju ku ying yong cheng xu zhong shi yong Database kong jian lai deng lu dao shu ju ku xi tong 。 ba Table kong jian yu Database kong jian guan lian de fang fa shi ba qi DatabaseName shu xing zhi zhi ding wei Database kong jian de DatabaseName shu xing zhi 。 yi ge Database kong jian ke yi guan li ruo gan ge Table kong jian 。 he Database kong jian jian li guan lian yi hou , zhi yao gai Database kong jian yi jing he shu ju ku jian li le lian jie ,Table kong jian jiu ke yi zhi jie fang wen shu ju ku er wu xu zai ci deng lu 。   ---- 3. tong guo nei qian fang shi fang wen   ---- Delphi zhong ke yi bu tong guo ODBC, er yi nei qian fang shi fang wen SQL Server、Oracle、DB2 deng shu ju ku xi tong 。 zhe xu yao shi yong shu ju ku bie ming lai zhi ding shu ju ku , shu ju ku bie ming ke yi shi xian jian li , ye ke yi zai cheng xu yun xing shi dong tai chuang jian 。 qian zhe cheng wei jing tai bie ming , hou zhe cheng wei dong tai bie ming 。 shi yong shu ju ku bie ming lai fang wen shu ju ku de fang fa he shi yong ODBC shu ju yuan de qing xing xiang tong , zhe li bu zai lei shu 。 tong guo nei qian fang shi fang wen shu ju ku de jing tai bie ming bi xu zai BDE zhong jian li 。 yi fang wen SQL Server shu ju ku wei li , zai jian li bie ming shi bi xu zhi ding shu ju ku fu wu qi de ming cheng (SERVER NAME)、 zhu ji ming (HOST NAME) yi ji yao fang wen de shu ju ku ming cheng (DATABASE NAME), ke yi zhi ding deng lu yong hu ming (USER NAME) he kou ling (PASSWORD) deng 。 tong guo dong tai chuang jian de bie ming lai fang wen shu ju ku bi xu shi yong Database kong jian 。 ru he she zhi Database kong jian zhong fang wen shu ju ku de shen shu ne ? yong shu biao shuang ji Database kong jian , chu xian shen shu she zhi chuang kou , zai "Driver name" yi lan xuan ze yao fang wen de shu ju ku xi tong , ru "MSSQL", ran hou xuan ze an niu "Defaults", jiu hui ba BDE zhong gai shu ju ku xi tong suo xu de shen shu ming cheng he que sheng zhi jia ru dao "Parameter overrides" lie biao zhong 。 gen ju shi ji qing kuang geng gai shen shu zhong de "SERVER NAME"、"DATABASE NAME" deng xiang 。 ran hou xuan ze an niu "OK" jiu ke yi le 。 xu yao shuo ming de liang dian shi , yi nei qian fang shi fang wen shu ju ku xu yao zai an zhuang Delphil 3.0 shi zhi ding an zhuang SQL Link;Query kong jian de SQL yu ju bu neng yi fen hao jie yi 。   ---- jie lun   ---- tong guo nei qian fang shi fang wen shu ju ku yu tong guo ODBC fang wen shu ju ku xiang bi , qian zhe de su du yao kuai yi xie 。 er qie , nei qian fang shi ke yi zai cheng xu zhong dong tai di she zhi lian jie shu ju ku suo xu de shen shu , yong hu bu bi she zhi ODBC shu ju yuan , zhe jiu jiang di le dui yong hu ji shu shui ping de yao qiu , bing qie jian shao le yong hu de gong zuo liang 。 cong xi tong pei zhi de nan yi he fu duo cheng du lai kan , shi yong nei qian fang shi kai fa chu de shu ju ku ying yong xi tong geng bian yu pu tong yong hu shi yong 。 yin ci , bi zhe jian yi zai kai fa jiao da xing de ying yong xi tong shi , zui hao tong guo nei qian fang shi lai fang wen shu ju ku 。   
󰈣󰈤
  免责声明:本文仅代表作者个人观点,与王朝网络无关。王朝网络登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
情人节的清纯女生(9)
情人节的清纯女生(8)
情人节的清纯女生(7)
情人节的清纯女生(6)
山东蓬莱海边组照
一探哲蚌 II
一探哲蚌 III
古长城的一角
 
>>返回首页<<
 
 
 为你推荐
 
 
 
 转载本文
 UBB代码 HTML代码
复制到剪贴板...
 
 热帖排行
 
 
 
 
 
©2005- 王朝网络 版权所有