`
iihero
  • 浏览: 257716 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Sybase ASE中有用的两个小工具(jisql和ribo)

阅读更多

声明:请尊重个人劳动,如若转载,务必注明原始出处:

iihero 2008.9.27 CSDN

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 

如果你对Sybase ASE12.5(及以上)进行了完全安装,或者安装时,选择了jutils这个组件,那么,你就能使用题目中介绍的两个小工具:jisql以及Ribo,它们位于%SYBASE%\jutils-2_0下边,是基于javaGUI方式。

 

一、jisql

这是一款轻量级的Sybase查询专用工具,专用于Sybase ASE数据库及Sybase ASA数据库。

进入%SYBASE%\jtuils-2_0\jisql, 你会看到有个批处理文件jisql.bat,要想运行它,最好能安装一个jdk,解压的也行。在文件头,添加JAVA_HOME,以及PATH,把java路径设置上,同时也要设置JDBC_HOME,使其指向Sybase ASE jdbc驱动jconnect的位置:

如:

Set JAVA_HOME=d:\shared\jdk<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><chsdate w:st="on" isrocdate="False" islunardate="False" day="30" month="12" year="1899">1.5.0</chsdate>_12

Set PATH=%JAVA_HOME%\bin;%PATH%

Set JDBC_HOME=%SYBASE%\jConnect-6_0 (注:jConnect*目录下边classes子目录里存放的就是ASEjdbc driver)

这样,运行jisql,即会出现下边的界面:

<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><shapetype id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><img height="269" alt="" src="http://p.blog.csdn.net/images/p_blog_csdn_net/iihero/EntryImages/20080927/jisql1.jpg" width="556" align="center"></shapetype>

<shapetype stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"></shapetype>

<shapetype stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><font face="Times New Roman"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">我们将语言设为中文,填上用户、密码、主机及端口号,即可连接到数据库。这款工具,不仅能连接</span><span lang="EN-US">Sybase</span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的</span><span lang="EN-US">ASE</span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">数据库,同样能够连接</span><span lang="EN-US">Sybase</span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的移动数据库</span><span lang="EN-US">SQL Anywhere(</span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">移动数据库的全球领导者</span><span lang="EN-US">)</span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。连接上数据库以后,可以看到下述界面:</span></font></p> <p><stroke joinstyle="miter"></stroke><formulas><f eqn="if lineDrawn pixelLineWidth 0"></f><f eqn="sum @0 1 0"></f><f eqn="sum 0 0 @1"></f><f eqn="prod @2 1 2"></f><f eqn="prod @3 21600 pixelWidth"></f><f eqn="prod @3 21600 pixelHeight"></f><f eqn="sum @0 0 1"></f><f eqn="prod @6 1 2"></f><f eqn="prod @7 21600 pixelWidth"></f><f eqn="sum @8 21600 0"></f><f eqn="prod @7 21600 pixelHeight"></f><f eqn="sum @10 21600 0"></f></formulas><path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></path><lock aspectratio="t" v:ext="edit"></lock></p></shapetype><shape id="_x0000_i1025" style="WIDTH: 415.5pt; HEIGHT: 201pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:%5CDOCUME~1%5Chex%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image001.png"><img height="59" alt="" src="http://p.blog.csdn.net/images/p_blog_csdn_net/iihero/EntryImages/20080927/jisql2.jpg" width="322" align="center"></imagedata></shape>

<shape style="WIDTH: 415.5pt; HEIGHT: 201pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:%5CDOCUME~1%5Chex%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image001.png"><img height="499" alt="" src="http://p.blog.csdn.net/images/p_blog_csdn_net/iihero/EntryImages/20080927/jisql3.jpg" width="554" align="center"></imagedata></shape>

<shape style="WIDTH: 415.5pt; HEIGHT: 201pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:%5CDOCUME~1%5Chex%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image001.png"></imagedata></shape>

<shape style="WIDTH: 415.5pt; HEIGHT: 201pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:%5CDOCUME~1%5Chex%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image001.png"><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">执行结果也一目了然。使用一些简单的功能,也还是蛮方便的。</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">当然,你也可以看看它的命令行帮助:</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US">D:\ASE150\jutils-2_0\jisql&gt;jisql --help</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">用法</span><span lang="EN-US">:jisql</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><span style="mso-spacerun: yes"> </span>[-L {metal|system}]<span style="mso-spacerun: yes"> </span></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">设置外观与感受</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><span style="mso-spacerun: yes"> </span>[-Z &lt;language&gt;]<span style="mso-spacerun: yes"> </span>{Deutsch|german} </span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">或其它语言</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><span style="mso-spacerun: yes"> </span>[-d]<span style="mso-spacerun: yes"> </span></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">获取调试信息输出</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><span style="mso-spacerun: yes"> </span>[-v]<span style="mso-spacerun: yes"> </span></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">获取版本号</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><span style="mso-spacerun: yes"> </span>[-U &lt; Username&gt;]<span style="mso-spacerun: yes"> </span></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">数据库用户名</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><span style="mso-spacerun: yes"> </span>[-P &lt; Password&gt;]<span style="mso-spacerun: yes"> </span></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">用户的数据库口令</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><span style="mso-spacerun: yes"> </span>[-C &lt;PropertyFile&gt;]<span style="mso-spacerun: yes"> </span></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">用属性文件作为登录数据</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><span style="mso-spacerun: yes"> </span>[-S &lt;Hostname:Portnumber[?PropertyString]]&gt;<span style="mso-spacerun: yes"> </span>JDBC URL </span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的部分</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><span style="mso-spacerun: yes"></span></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">或</span><span lang="EN-US"><span style="mso-spacerun: yes"> </span>[-S &lt;URL&gt;[?PropertyString]]<span style="mso-spacerun: yes"> </span></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">完整的</span><span lang="EN-US"> JDBC URL</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><span style="mso-spacerun: yes"></span></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">或</span><span lang="EN-US"><span style="mso-spacerun: yes"> </span>[-S &lt;JNDI URL&gt;[?PropertyString]]<span style="mso-spacerun: yes"> </span><span style="mso-spacerun: yes"></span></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">完整的</span><span lang="EN-US"> JNDI URL</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><span style="mso-spacerun: yes"> </span>[-M {single|multi}]</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><span style="mso-spacerun: yes"> </span>single: </span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">所有连接窗口中使用一个菜单</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><span style="mso-spacerun: yes"> </span>multi: </span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">每个连接窗口都使用各自的菜单</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><p></p></span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l0 level1 lfo1; tab-stops: list 21.0pt"><span lang="EN-US" style="mso-bidi-font-family: 宋体"><span style="mso-list: Ignore">二、</span></span><span lang="EN-US">Ribo</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">这个工具是干什么用的呢?大家都知道,</span><span lang="EN-US">Sybase ASE</span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">数据库使用的协议是</span><span lang="EN-US">TDS</span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">协议,</span><span lang="EN-US">(MS SQL Server</span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">使用的也是这个协议,两者的不同点在于,后者使用的是</span><span lang="EN-US">TDS 8.0)</span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">这个工具,专用来监听并读取客户端连接</span><span lang="EN-US">ASE</span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">数据库时的</span><span lang="EN-US">TDS</span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">协议包的。它相当于一个代理服务器,接收客户端的请求,转发至服务器,然后截获服务器发回来的结果,得到所有的</span><span lang="EN-US">TDS</span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">包,再把该有的结果发给客户端。</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><p></p></span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">使用时,同样要稍修改</span><span lang="EN-US">%SYBASE%\ jutils-2_0\ribo</span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">下的</span><span lang="EN-US">ribo.bat</span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件,在</span><span lang="EN-US">@echo off</span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">下边添加:</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US">set JAVA_HOME=d:\shared\jdk<chsdate w:st="on" isrocdate="False" islunardate="False" day="30" month="12" year="1899">1.5.0</chsdate>_12</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US">set RIBO_HOME=%SYBASE%\jutils-2_0\ribo</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><p></p></span></p> <p><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">这样,直接就可以运行</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">ribo</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">了,推荐</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">gui</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">方式运行,如果条件不允许,也可以不用</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">gui</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">方式</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">(</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">比如通过终端远程登录</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">)</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">:</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">ribo –gui</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">,进入下边的界面:</span></p> <p><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"> <img height="449" alt="" src="http://p.blog.csdn.net/images/p_blog_csdn_net/iihero/EntryImages/20080927/ribo1.jpg" width="456" align="center"></span></p> <span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">相当于代理的端口是</span><span lang="EN-US"><font face="Times New Roman">5005, </font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">到时候客户端连接这个端口就能被监听,分析出</span><span lang="EN-US"><font face="Times New Roman">TDS</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的内容。</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">这时,不要着急,先设置一下</span><span lang="EN-US"><font face="Times New Roman">”</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件</span><span lang="EN-US"><font face="Times New Roman">”</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">下边的</span><span lang="EN-US"><font face="Times New Roman">”</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">配置</span><span lang="EN-US"><font face="Times New Roman">”</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">再看:</span></p> <p> <img height="361" alt="" src="http://p.blog.csdn.net/images/p_blog_csdn_net/iihero/EntryImages/20080927/ribo2.jpg" width="349" align="center"></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">把翻译到文件,和在窗口中显示结果都勾上,确定。然后回到主窗口,“开始捕获”。</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><p><font face="Times New Roman"></font></p></span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">最后,体验一把,打开一个</span><span lang="EN-US"><font face="Times New Roman">dos</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">窗口,运行一个</span><span lang="EN-US"><font face="Times New Roman">isql</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">连接,作一个简单查询:</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">当然了,先要在你的</span><span lang="EN-US"><font face="Times New Roman">interfaces</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件,也就是</span><span lang="EN-US"><font face="Times New Roman">%SYBASE%\ini\sql.ini</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">中添加一个注册项,即添加</span><span lang="EN-US"><font face="Times New Roman">5005</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">这个端口的连接信息。</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">我这里添加的是:</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><font face="Times New Roman">[SEAN]</font></span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><font face="Times New Roman">master=NLWNSCK,sean-laptop,5005 </font></span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><font face="Times New Roman">query=NLWNSCK,sean-laptop,5005</font></span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><p><font face="Times New Roman"></font></p></span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">于是执行命令并输入密码:</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><font face="Times New Roman">C:\Documents and Settings\hex&gt;isql -Uspring -Ssean iihero</font></span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">保密字</span><span lang="EN-US"><font face="Times New Roman">:</font></span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><font face="Times New Roman">1&gt;</font></span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">这时我发们发现,</span><span lang="EN-US"><font face="Times New Roman">Ribo</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">会弹出结果窗口:</span><span lang="EN-US"><font face="Times New Roman">cap1.tds</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">:</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"></span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><img height="508" alt="" src="http://p.blog.csdn.net/images/p_blog_csdn_net/iihero/EntryImages/20080927/ribo3.jpg" width="554" align="center"></span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"></span></p> <span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">里边的内容蛮有意思的,有时候,你要调试比较复杂难解的程序,说不定就要借助于</span><span lang="EN-US"><font face="Times New Roman">Ribo</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。我曾经在使用</span><span lang="EN-US"><font face="Times New Roman">Openclient ctlib</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">编写应用时,批量读写数据时遇到问题,最终借助于</span><span lang="EN-US"><font face="Times New Roman">Ribo</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,得以发现问题。</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span lang="EN-US"><p><font face="Times New Roman"></font></p></span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">这两个工具都不大,压缩起来总共也就</span><chmetcnv w:st="on" tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="4.5" unitname="m"><span lang="EN-US"><font face="Times New Roman">4.5M</font></span></chmetcnv><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,还可以进一步抽取压缩。给开发人员来用,还是蛮方便的。</span></p> <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 21pt"></p></span> <p></p></span></imagedata></shape>

分享到:
评论

相关推荐

    Sybase ASE ODBC Driver 下载

    Sybase ASE ODBC驱动程序是基于Windows平台的,它为各种编程语言(如C++、VB、Python等)提供了一个统一的接口,使得开发人员可以轻松地访问和操作Sybase ASE数据库。该驱动程序支持SQL语句执行、事务处理、结果集...

    jutils-2-0(包括jisql和ribo)

    是从ase1503安装好的文件夹中提取出来的,包括jisql和ribo,这样只要装了jConnect驱动就可以查看asa、ase数据库了。JConnect驱动也传到CSDN了,在 http://download.csdn.net/source/1409783 。

    Sybase ASE参考手册(中文版,全4卷)

    这本中文版的Sybase ASE参考手册包含了全面的技术信息,旨在帮助用户深入理解和有效地使用这个强大的数据库系统。 **第一卷:构建块** 这一卷主要介绍了Sybase ASE的基础架构和核心组成部分,包括: 1. **数据...

    Sybase ASE12.5附带的Sybase Central完整免安装版

    **Sybase Central** 是一个图形化的管理工具,用于管理和监控Sybase ASE数据库服务器以及相关的数据库对象。在ASE12.5的时代,Sybase Central提供了一个用户友好的界面,使得DBA(数据库管理员)和开发者可以更轻松...

    Sybase ASE 12.5.4 ODBC驱动包

    Sybase ASE 12.5.4 ODBC驱动包, 4.0.x 版本 将zip解到d:\\sybasease目录下边,然后注册下边的内容: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers] ...

    Sybase ASE v12.5 系统管理指南

    在v12.5版本中,Sybase对ASE进行了多方面的增强和改进,包括性能提升、安全性增强、备份恢复策略的优化以及对分布式数据库的支持等。 本指南分为两卷,Vol.1和Vol.2,详细阐述了以下几个核心知识点: 1. **安装与...

    sybase如何在Sybase ASE上定时调度一个存储过程

    通过以上步骤,可以成功地安装和配置 Job Scheduler,並在 Sybase ASE 中定时调度存储过程。 知识点: * Sybase ASE 中的 Job Scheduler 机制 * Job Scheduler 的安装和配置步骤 * Sybase ASE 版本对 Job ...

    Centos 安装sybase ASE-15 详细操作步骤

    在本教程中,我们将深入探讨如何在CentOS操作系统上安装Sybase Adaptive Server Enterprise(ASE)15,这是一个高性能的企业级数据库管理系统。以下是安装过程的详细步骤,以及可能遇到的问题和解决方案,以及所需的...

    Sybase ASE 15.0简体中文技术参考手册.7z

    SybaseASE15.0 中的JAVA.pdf SybaseASE15.0 分布式事务管理.pdf SybaseASE15.0 参考手册-表.pdf SybaseASE15.0 参考手册_命令.pdf SybaseASE15.0 参考手册_构件块.pdf SybaseASE15.0 参考手册_过程.pdf SybaseASE...

    SybaseASE12.5.2安装参考手册.doc

    Sybase ASE 12.5.2 安装参考手册 本手册旨在以图文方式,step by step 地描述在 Linux...本手册为 Sybase ASE 12.5.2 安装提供了详细的指导,涵盖了 Linux 安装、Sybase ASE 安装、基本配置和用户数据库的建立等方面。

    sybase ase 12.5 for windows part2

    sybase ase 12.5数据库windows版,上传权限不够拆分成两个压缩包。

    sybase ase for linux 12.5安装

    Sybase ASE for Linux 12.5 安装指南 本文档旨在指导用户如何在 RedHat AS 5 上安装 Sybase ASE for Linux 12.5。 installation process covers the creation of a Sybase directory, setting up the user and ...

    sybase ase 15 操作指南

    1. **数据库实例管理**:Sybase ASE 支持在同一服务器上安装多个数据库实例,每个实例可以独立配置和管理。 2. **安全性**:通过用户认证、权限控制等机制确保数据安全。 3. **性能优化**:利用索引、查询优化器等...

    SybaseASE、IQ文档

    **Sybase ASE (Adaptive Server Enterprise)** 是一款高性能的关系型数据库管理系统,主要由Sybase公司开发,后来被SAP收购。它在企业级应用中广泛使用,尤其在金融、电信等对数据处理速度和稳定性有高要求的领域。...

    如何单独在备份机上启动Sybase ASE12.5

    ### 如何单独在备份机上启动Sybase ASE12.5 #### 背景介绍 Sybase Adaptive Server Enterprise (ASE) 是一款高性能的关系型数据库管理系统。版本12.5虽然较老,但在某些特定环境下仍被广泛使用。在本篇文章中,...

    Centos 6.2下安装Sybase ASE-15_0

    在本文中,我们将深入探讨如何在CentOS 6.2操作系统上安装Sybase ASE-15_0。Sybase ASE(Adaptive Server Enterprise)是一款高效的企业级关系型数据库管理系统,常用于大型企业环境,提供高性能的数据存储和处理...

    Sybase ASE for Linux安装过程及安全配置讲解

    在上述几种Linux平台上的数据库产品中,Sybase ASE的性能很好,紧凑的程序分发包里包含了全部文档、数据库备份和监视等工具,同时它对系统的要求不高(系统配置为32MB内存,包含文档的全部安装需要200MB硬盘,否则...

    sybase ase参考手册:配置参数.pdf

    下面是 Sybase ASE 配置参数手册中的知识点总结: 1. abstract plan cache:abstract plan cache 是一个配置参数,用于控制缓存计划的使用。缓存计划可以提高查询性能,但也可能会占用更多的内存资源。 2. ...

    SYBASE_ASE 15.7.0 for windows 64bit 客户端

    **SYBASE_ASE 15.7.0 for Windows 64bit客户端**是一款高性能的企业级数据库管理系统软件,它专为Windows 64位操作系统设计,能够提供强大的数据处理能力和高度的数据安全性。该版本主要面向那些需要处理大量数据并...

Global site tag (gtag.js) - Google Analytics