提供7*24专业Sybase数据库远程及现场技术支持,Sybase ASE及Sybase SQL Anywhere数据库修复服务,
请联系手机:(微信),QQ:289965371!
We supply technical support for Sybase ASE and Sybase SQL Anywhere, also have many years of experience in recovering data from damanged Sybase devices.
Please contact us:
Phone:
Wechat: 13811580958
QQ: 289965371

Sybase IQ 15.2免费试用30天的体验版下载地址

Sybase IQ分析型数据库的license控制很严格,安装介质也不好获得。想试用IQ的话,需要通过公司的名义联系Sybase公司取得一个月、三个月或者更长的免费试用期。

本文提供针对Sybase IQ15.2的可以免费试用一个月的体验版的下载地址。

首先需要到sybase网站上注册,否则下载不了。

在注册页面上简单填写一下就可以了。

http://response.sybase.com/forms/NAO10AUGDWNLDIQ152

下面是windows、linux、solaris三个平台上的IQ15.2的一个月体验版的下载地址:

Sybase IQ 15.2 Evaluation Edition on Windows

Sybase IQ 15.2 Evaluation Edition on Linux

Sybase IQ 15.2 Evaluation Edition on Solaris SPARC

Sybase IQ15.2英文版官方手册:

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.help.iq.15.2/title.htm

Sybase IQ15.2中文版官方手册:

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.help.iqzh.15.2/title.htm

最近Sybase官方上的下载链接失效了,只能到SAP官方下载IQ 15.2了。

 

AIX平台上Sybase ASE数据库迁移步骤

将生产环境中AIX5.3平台上的Sybase ASE12.5.2迁移到备机作测试用,下面简单记录下主要步骤。

环境:

Sybase ASE version: 12.5.2 32bit

OS Version: AIX 5.3

$SYBASE: /home/syb123

Instance name: TEST

database name: testdb

备机上建立好了与主机相同的vg与lv

 

主要步骤:

1.将主机上的目录/home/syb123打包,拷贝到备机,解开tar包到备机的相同目录下。删除备机/home/syb123下的interfaces文件。 阅读全文...

AIX上未启动异步IO导致Sybase服务创建失败

在AIX5.3上使用资源文件新建Sybase ASE12.5.2实例时,报如下的错误:

exec(): 0509-036 Cannot load program /home/sybase/ASE-12_5/bin/dataserver because of the following errors:
0509-130 Symbol resolution failed for /usr/ccs/lib/libc.a[aio_64.o] because:
0509-136 Symbol kaio_rdwr64 (number 0) is not exported from dependent module /unix.
0509-136 Symbol listio64 (number 1) is not exported from dependent module /unix.
0509-136 Symbol acancel64 (number 2) is not exported from dependent module /unix.
0509-136 Symbol iosuspend64 (number 3) is not exported from dependent module /unix.
0509-136 Symbol aio_nwait (number 4) is not exported from dependent module /unix.
0509-136 Symbol aio_nwait64 (number 5) is not exported from dependent module /unix.
0509-136 Symbol aio_nwait_timeout (number 6) is not exported from dependent module /unix.
0509-136 Symbol aio_nwait_timeout64 (number 7) is not exported from dependent module /unix.
0509-028 Symbol used in ? type does not match exported type.
0509-192 Examine .loader section symbols with the
'dump -Tv' command.

检查后发现AIX的异步IO没打开。修改参数后,重启机器。
阅读全文...

ASE 15.7 for SAP® Business Suite Released in Techwave!!!

期待已久的为SAP商业套件(Business Suite)量身定做的Sybase ASE V15.7发布了。

对Sybase使用者来说是个不错的消息!:-D

可以参考下面的链接:

http://www.sybase.com/detail?id=1094783

http://www.sybase.com/asebuiltforbusiness

http://www.ctoedge.com/content/making-database-smarter

http://blogs.sybase.com/tradingandrisk/2011/09/sybase-unveils-latest-ase-at-techwave-2011-in-las-vegas/

 

ASE 15.7 key features include:

Management of Large Datasets

  • Compression— allows large databases to be stored more compactly and reduces I/O times to ensure high performance on even the largest databases.
  • Reduced Query Latency— helps better handle large data sets, especially those which use dynamic SQL for interactive data retrieval.
  • Replication Performance—increases the performance of Sybase’s industry-leading transaction replication and syncing technology.
  • Enhancements for Parallel Hardware —improves optimization of multi-core/multi-threaded CPU architectures to get the maximum performance out of today’s latest processors

Simplified Administration

  • Online Operations—increases data availability while allowing data to be optimized for application performance.
  • Extended Diagnostics—allows DBAs to quickly pin-point performance bottlenecks and speed customer support requests.
  • Strong Password Encryption—protects the database from external intrusion and hacking
  • Single Sign-on & Login Profiles—makes it easier to manage large numbers of users and simplifies end-user access to the system

Ease of Application Development

  • Efficient Management of Large Objects—inline management of large objects as well as enhanced application development features such as large objects as parameters to stored procedures.
  • Enhanced Application Language Capabilities—many improved TransactSQL&™ language features to increase productivity of application developers as well as support for a variety of popular languages such as Python, PHP and Perl.
  • An Enterprise-Class DB for ISV applications —enhanced business-critical performance for ISV applications out of the box, enabling ISVs to easily write and port their applications to ASE 15.7.

Sybase ASE 15.7 Availability

Sybase ASE 15.7 Enterprise Edition 安装介质将于2011年9月底可供下载。适用的平台包括: HP-UX 11i v3, AIX IBM Power 64-bit, Linux IBM Power 64-bit, Linux x86 64-bit, Solaris SPARC 64-bit, Solaris x86 64-bit, Windows x86 64-bit, Windows x86. 可以浏览:www.sybase.com/asebuiltforbusiness.

很可惜,可能不支持Linux x86平台了。

解决MS Word英文引号自动替换为中文引号的问题

使用Microsoft Word 2003或者2007保存代码的时候,Word默认会将英文引号(直引号)自动替换为中文引号(弯引号)。将Word中保存的代码拷贝出来执行的时候,因为英文引号被替换成了中文引号,代码肯定执行不了。

有时候,工作中还必须使用Word来保存要执行的数据库代码。将Word中的代码复制到命令行下直接执行,提示代码有语法错误。实际上问题在于英文引号变成了中文引号。

比如:查询系统表sysobjects中对象的ID号的一条简单的SQL语句,在word中显示为:

将上图中的代码复制到记事本中,显示如下图所示:

发现,Word中输入的直引号被自动替换成了弯引号。直引号是:' 和 ", 弯引号是:''和 "",弯引号是成对出现的。

每次都要将Word中拷贝出来的代码,替换其中的弯引号为直引号。岂不是很麻烦呢?

解决方法:将自动更正选项>键入时自动替换>直引号替换为弯引号选项取消。分Word2007和Word2003分别介绍操作步骤。 阅读全文...

使用sed提取指定内容的一种写法

目的:使用linux中的sed命令提取指定内容

假设有字符串:<li><a target="_blank" href="http://www.dbainfo.net">&#83;&#121;&#98;&#97;&#115;&#101;&#25968;&#25454;&#24211;&#25216;&#26415;&#44;&#25968;&#25454;

&#24211;&#24674;&#22797;</a></li>

我想从该字符串中提取出来红色标记的内容,也就是:&#83;&#121;&#98;&#97;&#115;&#101;&#25968;&#25454;&#24211;&#25216;&#26415;&#44;&#25968;&#25454;&#24211;&#24674;&#22797;

linux命令sed和awk都可以实现该需求,本文仅利用sed命令中替换相应正则表达式的方法来实现。

abc="<li><a target=\"_blank\" href=\"http://www.dbainfo.net\">&#83;&#121;&#98;&#97;&#115;&#101;&#25968;&#25454;&#24211;&#25216;&#26415;&#44;&#25968;&#25454;&#24211;&#24674;&#22797;</a></li>" 阅读全文...

免安装(绿色版)的Sybase ASE12.5附带的客户端工具Sybase Central v3.2

Sybase官方网站提供最新版本软件的下载地址,对于ASE目前仅提供下载V15.5。要想下载早期版本的ASE服务器安装程序(比如:ASE v12.0,ASE v12.5,ASE 12.5.1 - ASE 12.5.4,ASE15.0.2,ASE15.0.3等版本的),只能求助于google、百度、迅雷等网站或者向玩Sybase的老手索取。

基于Sybase ASE的客户端工具也同样不好获取,我打算在本博客上提供一些ASE服务器程序和客户端工具的下载服务。

因为本博客的空间有限,只能有选择的放一些ASE的服务器端和客户端程序。本文先上传一个我自己制作的Sybase ASE12.5附带的客户端工具Sybase Central的绿色免安装版。只需将压缩文件解压到d:\sybase里面就可以运行快捷方法“Sybase Central”了,简单吧~

本程序为Sybase ASE v12.5附带的Sybase Central的免安装版。
*************************************************************
                         免责声明
Sybase Central版权归Sybase公司所有!
我制作此Sybase Central版的绿色安装程序的目的是方便大家使用,
现在互联网上Sybase早期版本的客户端工具不好找了,希望此免安装
工具能够给大家带来工作上的便利。请勿将此工具用于商业用途,否则
产生的相应版权问题与本人无关!谢谢!
*************************************************************

使用方法: 阅读全文...

mysql下生成备份表的命令的语句

在MySQL中字符串的连接需要使用concat函数,而其它数据库管理系统比如sqlserver&sybase使用+,oracle使用||。Sybase ASE15中也可以用||来连接字符串。
concat函数语法:  concat(str1,str2,....strN)

 

1.使用mysqldump备份表的简单语法为:

mysqldump -u用户名 -p密码 --default-character-set=字符集 数据库名 表名> 表的备份文件名

例: mysqldump -uroot -pmypasswd --default-character-set=latin1 andkylee MYTABLE > d:\MYTABLE.SQL

注意:数据库名和表名之间用空格分割。

2.使用mysqldump备份数据库的简单语法为:

mysqldump -u用户名 -p密码 --default-character-set=字符集 --databases 选项 数据库名 >  数据库的备份文件名

例: mysqldump -uroot -pmypasswd --default-character-set=latin1  --databases andkylee > d:\db_andkylee.SQL

如果想在脚本前面加上drop database命令,使用选项:--add-drop-database, 阅读全文...