会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Tag
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
下一页
2022年3月13日
sql 输出SQL语句 长度限制应对方法 print
摘要: 有时调试过程函数 需要print @sql 打印出sql语句出来看下对不对。遇见超长的话就没有办法了。会出现截断,改下面的方式就可以了 --processing-instruction(x) 不转义特殊符号 一定要as processing-instruction(x) select @sql AS
阅读全文
posted @ 2022-03-13 16:50 Tag
阅读(395)
评论(0)
推荐(0)
2022年1月20日
PHP在linux下 连接MSSQL
摘要: <?php $serverName = "192.168.2.251,2434"; $connectionInfo = array( "Database"=>"jfdf40", "UID"=>"sa", "PWD"=>"XXX"); $conn = sqlsrv_connect( $serverNa
阅读全文
posted @ 2022-01-20 14:19 Tag
阅读(169)
评论(0)
推荐(0)
2022年1月16日
delphi 连接MDB 问题(记一次服务器优化问题)
摘要: delphi 连接access 连接完如无特殊情况,一定是断开连接。不断开的话那么它会频繁的去读取mdb文件,不知道是啥机制。 一个这样的没有关系,如果说有无数个这个样的程序就。。。。。 以下是用进程跟踪工具 (processmonitor) 毫秒级别的去读取。很占用CPU,积少成多。导致CPU暴涨
阅读全文
posted @ 2022-01-16 21:48 Tag
阅读(137)
评论(0)
推荐(0)
nt路径转dos windows路径
摘要: // \??\C:\WINDOWS\system32\drivers //选择的盘是映射盘,需要得出正确的路径 function GetDosPath(path:string):string; var DriveChar, Drive: string; Buf: Array [0..MAX_PATH
阅读全文
posted @ 2022-01-16 21:41 Tag
阅读(180)
评论(0)
推荐(0)
2022年1月13日
限制CPU个数
摘要: var cpuset : set of 0..31; cpucount, i:integer; begin cpucount := sysset.ReadInteger('SysConfig', 'cpucount', 2); // 默认给两个就可以了 cpuset:=[]; for i := 0
阅读全文
posted @ 2022-01-13 16:27 Tag
阅读(153)
评论(0)
推荐(0)
调用bat 启动程序细节
摘要: 调用bat 启动程序要用start 不然某些操作系统版本 任务管理器会残留cmd.exe、conhost 进程 。次数多了会占用资源
阅读全文
posted @ 2022-01-13 08:44 Tag
阅读(80)
评论(0)
推荐(0)
2021年12月29日
delphi ShellExecute 传递多个参数
摘要: delphi ShellExecute 传递多个参数 如果调用的exe 接收多个参数。 一般无特殊可以用空格隔开,但是如果参数的值本身有空格。则得按这样的格式来传递 "p1","p2" 参数值有空格 ShellExecute(0, 'open',PAnsiChar('exe') , PAnsiCha
阅读全文
posted @ 2021-12-29 10:27 Tag
阅读(545)
评论(0)
推荐(0)
2021年12月27日
delphi 不阻塞提示对话框
摘要: {不阻塞提示对话框 TimeOut 超时参数,多久没有回应。超过时间则返回 IDTIMEOUT 默认0无限等待 返回: IDABORT (3) Abort IDCANCEL (2) Cancel IDCONTINUE (11) Continue IDIGNORE (5) Ignore IDNO (7
阅读全文
posted @ 2021-12-27 11:49 Tag
阅读(197)
评论(0)
推荐(0)
2021年12月24日
快捷打开vnc 某个连接
摘要: https://help.realvnc.com/hc/en-us/articles/360004334431-How-do-I-launch-VNC-Viewer-connections-from-a-shortcut-the-command-line-or-automatically-when-
阅读全文
posted @ 2021-12-24 09:18 Tag
阅读(94)
评论(0)
推荐(0)
2021年12月22日
delphi unix时间戳 10位 13位 转换
摘要: function ConvertGMTTimeToLocalTime(GMTTimeStr: string): string; var TimeStrList: TStringList; Month: string; LocalTime: TDateTime; begin //GMTTIME Tue
阅读全文
posted @ 2021-12-22 17:03 Tag
阅读(442)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
下一页
公告