DELPHI盒子
!实时搜索: 盒子论坛 | 注册用户 | 修改信息 | 退出
检举帖 | 全文检索 | 关闭广告 | 捐赠
技术论坛
 用户名
 密  码
自动登陆(30天有效)
忘了密码
≡技术区≡
DELPHI技术
lazarus/fpc/Free Pascal
移动应用开发
Web应用开发
数据库专区
报表专区
网络通讯
开源项目
论坛精华贴
≡发布区≡
发布代码
发布控件
文档资料
经典工具
≡事务区≡
网站意见
盒子之家
招聘应聘
信息交换
论坛信息
最新加入: pixelcraft
今日帖子: 56
在线用户: 13
导航: 论坛 -> 数据库专区 斑竹:liumazi,waterstone  
作者:
男 txdy2010 (潜龙出海) ★☆☆☆☆ -
普通会员
2022/8/7 14:28:01
标题:
想请教下使用DbExpress连接MSSQL时可以设置执行超时吗,同时求Delphi2006_DbExpress高效数据库开发这本书下载 浏览:1213
加入我的收藏
楼主: 想请教下使用DbExpress连接MSSQL时可以设置执行超时吗,好像没有设置的地方,就像ADO那样,查询时间越过30秒,提示超时,

同时求Delphi2006_DbExpress高效数据库开发这本书的下载,网上找了很多,都是不全的,只有前几章的,如果哪位老大有的话请帮忙给一份

感谢各位老大了
----------------------------------------------
-
作者:
男 hz_2009 (盒子) ★☆☆☆☆ -
普通会员
2022/8/7 15:19:01
1楼: 用FireDAC连接数据库?这是最新的
----------------------------------------------
-
作者:
男 homejun (homejun) ★☆☆☆☆ -
盒子活跃会员
2022/8/7 16:13:51
2楼: DbExpress已过时,学firedac吧
----------------------------------------------
-delphi新资讯站 http://www.delphigear.cn
作者:
男 delphicpp (InGreen) ▲▲△△△ -
普通会员
2022/8/7 17:09:07
3楼: 学firedac吧
----------------------------------------------
-
作者:
男 txdy2010 (潜龙出海) ★☆☆☆☆ -
普通会员
2022/8/7 21:37:53
4楼: 主要是一个老项目用的DbExpress,用firedac可能还得现折腾
----------------------------------------------
-
作者:
男 bluestorm8 (bluestorm) ▲▲△△△ -
普通会员
2022/8/7 22:47:15
5楼: 连接前你可以先telnet一下, Telnet通的情况下再连接sqlServer。telnet有timeout的。
----------------------------------------------
-
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2022/8/8 3:22:44
6楼: Not all "Drivers / DLL" accept "SetTimeOut...", you need to know if your DLL accepts this parameter.

If it accepts, then you could add it to the definition of your "dbxconnections.ini" file or other means you use:

example:
 dbxconnections.ini  in "C:\Users\Public\Documents\Embarcadero\Studio\dbExpress\<<22 to RAD Alexandria>>.0"
....

[CA400]
GetDriverFunc=getSQLDriverCA400
LibraryName=dbexpca400.dll
VendorLib=cwbdb.dll
Database=10.70.65.68
User_Name=
Password=
ServerCharSet=
ErrorResourceFile=
LocaleCode=0000
BlobSize=-1
RowsetSize=-1
RoleName=
CA400 TransIsolation=DirtyRead

Custom String=/trace=0
Trim Char=False
----------
AutoCommit= FALSE  OR TRUE ... test?
CommitRetain=True
Connection Timeout= -1   ???? seconds?
----------


[CA400 TransIsolation]
DirtyRead=0
ReadCommited=1
RepeatableRead=2
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 kaida (kaida) ★☆☆☆☆ -
盒子活跃会员
2022/8/9 0:33:21
7楼: Delphi2006 DbExpress高效数据库开发.pdf (访问密码: 2ccc)
----------------------------------------------
http://down.desei.com.cn/down/1041485/MyWeb/VCLs.html
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2022/8/9 3:54:55
8楼: hello @kaida

have it in english or portuguese?
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 txdy2010 (潜龙出海) ★☆☆☆☆ -
普通会员
2022/8/9 12:39:16
9楼: 感谢各位了,非常感谢。
----------------------------------------------
-
作者:
男 kaida (kaida) ★☆☆☆☆ -
盒子活跃会员
2022/8/10 11:30:58
10楼: @emailx45 (emailx45): 很遗憾,只有中文版的。
----------------------------------------------
http://down.desei.com.cn/down/1041485/MyWeb/VCLs.html
作者:
男 adsoft (adsoft) ★☆☆☆☆ -
普通会员
2022/8/10 20:51:06
11楼: https://box.cs.istu.ru/public/docs/other/_New/Books/Lang/Delphi/Delphi%20Developer%27s%20Guide/Ebooks/d6dg/chapter8.pdf
https://flylib.com/books/en/2.37.1/client_server_with_dbexpress.html
----------------------------------------------
-
作者:
男 bluestorm8 (bluestorm) ▲▲△△△ -
普通会员
2022/8/12 16:50:49
12楼: 如果你不得不用dbexpress的话, 你可以考虑使用Devart的DBExpress for SQL Server,当driver选择DevartSQLServerDirect时,TimeOut实测为15秒,虽不能调整,但比起原有的将近1分钟,好很多了.另外,由于直连数据库,不需要使用oledb, NativeClient之类的数据库连接组件,性能也是更好的
----------------------------------------------
-
作者:
男 zhuoyu (拙于) ▲▲▲▲△ -
普通会员
2022/8/12 21:37:47
13楼: 李维的这本书写得非常好!也是delphi必学的书籍
----------------------------------------------
-
作者:
男 luckyrandom (luckyrandom) ★☆☆☆☆ -
普通会员
2022/8/13 8:04:30
14楼: 太难理解不能设置超时时间,是学校老师或科学家开发的驱动么?
一个应用,会有OLTP的需求,也必然会有报表、分析的需求,执行时间可能数十秒,甚至数百秒
----------------------------------------------
SQL SERVER DBA QQ:315054403 曾经的Delphier  缘在上海
信息
登陆以后才能回复
Copyright © 2CCC.Com 盒子论坛 v3.0.1 版权所有 页面执行62.5毫秒 RSS