博客首页
注册
建议与交流
排行榜
加入友情链接
推荐
投诉
搜索:
帮助
海内存知己,天涯若比邻 李永泉
liyongquan.cublog.cn
管理博客
发表文章
留言
收藏夹
博客圈
音乐
相册
文章
首页
关于作者
姓名: 职业: 年龄: 位置: 个性介绍:
||
<<
>>
||
我的分类
最新照片
上一张
下一张
幻灯片
停止播放
最新文章
·
dataGridView扩展控件试用
·
完成DataGirdView扩充--加..
·
SQLRemote Open Server
·
转:Salvaging Data When ..
·
Sybase openserver setup
最新留言
·
本站网友
你的sybase dump error文章..
·
kingdaman
开左BLOG都吴通知声啊!!
最新评论
最新收藏
·
中国物流网
·
中国营销传播网
·
中国经理人
·
世界经理人
·
Linux.org
统计信息
·
总访问量:26117
·
文章个数:21
·
评论条数:0
·
留言条数:2
·
网友推荐:
dataGridView扩展控件试用
<DIV> <DIV align=center> <DIV align=center><IMG height=299 src="http://blogimg.chinaunix.net/blog/upfile2/090507213850.jpg" width=676 onload="javascript:if(this.width>500)this.width=500;" border=0></DIV></DIV></DIV>
查看全文
发表于:2009-05-07 ┆
阅读(27)
┆
评论(0)
完成DataGirdView扩充--加统计行
<div align="center"><img src="http://blogimg.chinaunix.net/blog/upfile2/090501221301.jpg" border="0" onload="javascript:if(this.width>500)this.width=500;"></div>
查看全文
发表于:2009-05-01 ┆
阅读(16)
┆
评论(0)
SQLRemote Open Server
<DIV> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-outline-level: 4" align=left><B><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">稳定队列的命令行安装<SPAN lang=EN-US><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></SPAN></B></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: ……
查看全文
发表于:2008-11-15 ┆
阅读(333)
┆
评论(0)
转:Salvaging Data When There are Corrupt Pages
<DIV> <TABLE width="95%"> <TBODY> <TR> <TD width="70%"><SPAN class=leafheader height="41">Salvaging Data When There are Corrupt Pages in the Database</SPAN> <BR><BR><SPAN class=leafsummary height="23">This document provides steps you can use to attempt to salvage data if your database has corrupt pages. This document applies to SQL Anywhere Studio versions 5.5.03 through 9.0.2.</SPAN> </TD> <TD width="10%"> </TD> <TD vAlign=top noWrap width="20%"> <DIV id=emailPrintDiv><IMG height=15……
查看全文
发表于:2008-08-15 ┆
阅读(378)
┆
评论(0)
Sybase openserver setup
<DIV>Sybase openserver(for SQL REMOTE) setup:</DIV> <DIV> </DIV> <DIV>1、create a stable database,named SRV..QUEUE</DIV> <DIV>2、Run following scripts:</DIV> <DIV> stableq.sql</DIV> <DIV> squpdate.sql</DIV> <DIV>3、Create connection to SRV..QUEUE in RSP,and then delete the connection just created</DIV> <DIV>4、Start OpenServer</DIV> <DIV>e:\sybase\bin\ssqueue.exe -c eng=OHQ;dbn=Prim_DB;uid=DBA;pwd='' -cq eng=OPServer;dbn=Queue_DB;uid=DBA;pwd='' ……
查看全文
发表于:2008-02-15 ┆
阅读(490)
┆
评论(0)
本文查找工具
<DIV> <DIV align=center> </DIV>void __fastcall TForm1::BitBtn1Click(TObject *Sender)<BR>{<BR> if(Trim(Form1->Edit1->Text)=="")<BR> {ShowMessage("请输入查询内容!");<BR> Abort();<BR> }<BR> bool upca;<BR> if(Form1->CheckBox1->Checked) upca=0; else upca=1; /*是否区分大小写*/<BR> int iFileHandle;<BR> int iFileLength;<BR> &nb……
查看全文
发表于:2007-12-30 ┆
阅读(297)
┆
评论(0)
Excel文件读写类
<DIV>class ConExcel<BR>{<BR> //#include "vcl\\utilcls.h" in head file//</DIV> <DIV> /*LiYongQuan*/<BR> public:<BR> AnsiString *rowVal,cellVal;<BR> /*row当前行;col当前列;colCount总列数;rowCount总行数*/<BR> unsigned int row,col,colCount,rowCount;<BR> private:<BR> Variant MSSheet,MSExcel;<BR> AnsiString FileName;<BR> char RW;</DIV> <DIV> public:<BR> ConExcel(AnsiString FileName,char LYQ='R')<BR> {<BR> if(Trim(FileName)==……
查看全文
发表于:2007-05-18 ┆
阅读(513)
┆
评论(0)
create a "select element"
<DIV>/* written by LiYongQuan */</DIV> <DIV>/* fetch data from a table, this table must contain two columns, one is department's ID, and another is department's name */</DIV> <DIV><?php<BR>function department($all="T",$specify="N")<BR>{<BR> include "./tools/con_db.php"; <BR> $con=mysql_connect($DB_SERVER,$USER,$PASSWORD);<BR> mysql_select_db($DB_NAME,$con);<BR> $query="select * from Department";<BR> $result=mysql_query($query,$con);<BR> echo("<select na……
查看全文
发表于:2006-05-31 ┆
阅读(512)
┆
评论(0)
upload file function
<DIV>/* written by LiYongQuan */</DIV> <DIV><?php<BR>function<BR>up_file($UploadFile,$UploadPath,$FName,$UploadFile_size,$isover=0,$TimeLimit=60)<BR> { <BR> // $UploadFile: source file<BR> // $UploadPath: destination path<BR> // $FName: destination file<BR> // $UploadFile_size: source file size<BR> // $isover: if destination is aleady exist, overwrite? 0-No;1-Yes<BR> //$Tim……
查看全文
发表于:2006-05-31 ┆
阅读(557)
┆
评论(0)
sybase dump error.
<DIV>This software contains confidential and trade secret information of Sybase,<BR>Inc. Use, duplication or disclosure of the software and documentation by<BR>the U.S. Government is subject to restrictions set forth in a license<BR>agreement between the Government and Sybase, Inc. or other written<BR>agreement specifying the Government's rights to use the software and an……
查看全文
发表于:2006-05-30 ┆
阅读(955)
┆
评论(0)
在win xp/2003中执行dbremote.exe的脚本
echo off<BR>set /A num = 0<BR>:begin<BR>tskill dbremote /A<BR>rasdial ConName UserName Password<BR>if errorlevel==1 goto try_again<BR> ping 192.168.0.204 -n 3 -l 32 | find "Reply from" /I || goto try_again<BR> dbremote.exe -v -t -k -x -dl -l 50k -c "DSN=ODBC_NAME" -o "d:\dbremote.Log" -os 4m<BR> goto end<BR><BR>:end<BR> RasDial /d<BR> echo on<BR> exit<BR><BR>:try_again<BR> set /A num=num +1<BR> if %num% GEQ 3 goto end<BR> Ra……
查看全文
发表于:2006-03-25 ┆
阅读(529)
┆
评论(0)
SYBASE RSP中检查要复制的表是否加上了复制标记
在SYBASE RSP中检查要复制的表是否加上了复制标记用s
查看全文
发表于:2005-09-29 ┆
阅读(793)
┆
评论(0)
如何清除SYBASE RSP中所有的出站或入站队列中的数据?
如何清除SYBASE RSP中所有的出站或入站队列中的数据?
查看全文
发表于:2005-08-19 ┆
阅读(942)
┆
评论(0)
SYBASE ASA数据库恢复方法
SYBASE ASA数据库当遇到不正常关机时,很容易出现异常,如:表或索引出错,麻烦的是用d
查看全文
发表于:2005-08-07 ┆
阅读(996)
┆
评论(0)
Sybase ASE Master库日志满的处理方法
<p><span lang="EN-US" style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 10.0pt">用ISQL联接时出现如下的提示:</span></p><p><span lang="EN-US" style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 10.0pt">The t<span class="SpellE">ansaction</span> log in master is almost <span class="SpellE">full<span class="GramE">,Your</span></span> transaction is being suspended until space is made available</span></p><p /><p><span class="GramE"><span lang="EN-US" style="FONT-SIZE: 12pt; L……
查看全文
发表于:2005-06-18 ┆
阅读(1065)
┆
评论(0)
Sybase SQL remote 更改传输断点的方法
<p>在sybase 的ASA与ASE数据库间通过SQL REMOTE传输数据经常会遇到传输日志点有误的现象.</p><p><p>一、通过翻译日志,并对照ASA、ASE的传输日志,确定正确的ASA发送点</p><p>1、在ASA中通过sa_setremoteuser存储过程,更改SYSREMOTEUSER表中的log_sent、confirm_sent字段,其它字段保留SYSREMOTEUSER表中的原值</p><p>2、如下为sa_setremoteuser函数及其参数:</p><p>sa_setremoteuser(p_user_id unsigned integer,p_log_sent numeric(20),p_confirm_sent numeric(20),p_send_count integer,p_resend_count integer,p_log_received numer……
查看全文
发表于:2004-12-23 ┆
阅读(1148)
┆
评论(0)
SYBASE ASE12.0 For HP-9000/800 HP-UX安装指南
介绍在HP-9000/800 HP-UX中如何安装SYBASE ASE12.0?如何更改字符集
查看全文
发表于:2004-12-18 ┆
阅读(1517)
┆
评论(0)
Sybase Rep Server的rep_agent不启动怎么办?
<p>当使用Sybase Replication Server作为复制服务器时,经常会遇到重启被复制端的数据库后,REP_AGENT长时间不启动的现象.</p><p><p>当使用Sybase Replication Server作为复制服务器时,经常会遇到重启被复制端的数据库后,REP_AGENT长时间不启动的现象.解决办法:</p><p>1、用SQLADV联接到被复制端的数据库</p><p>2、sp_stop_rep_agent 数据库名</p><p>3、sp_start_rep_agent 数据库名</p><p>这样一般REP_AGENT就可以启动了,如果还是不行,可使用下面的方法:</p><p>1、用sp_who找到REP_AGENT的进程号</p><p>2、kill REP_AGENT的进程号</p><p……
查看全文
发表于:2004-12-18 ┆
阅读(1153)
┆
评论(0)
在Sybase ASE中使用Passthrough
在Sybase ASE中使用Passthrough更新被复制端的数据或结构. <p>必须使用事务<br />declare @sql1 varchar(255)<br />select @sql1='update Goods set Name='+''''+'ABCD'+''''+',ShortName='+''''+'ABC'+''''+'where GoodsID=4655' <br />begin tran <br />exec sp_passthrough_user '订阅用户ID'<br />exec sp_passthrough_subscription 'BP_HQ_BDATA' <br />exec sp_passthrough @sql1 <br />exec sp_passthrough_stop <br />commit tran <br />
查看全文
发表于:2004-12-18 ┆
阅读(1191)
┆
评论(0)
自动生成SYBASE ASE的bcp脚本
通过系统表自动生成SYBASE ASE的bcp脚本
查看全文
发表于:2004-12-17 ┆
阅读(1433)
┆
评论(0)
版权所有 ChinaUnix.net 页面生成时间:0.14724