提供Sybase ASE及Sybase SQL Anywhere数据库修复服务,电话:13811580958(微信),QQ:289965371!We have many years of experience in recovering data from damanged Sybase devices. Contact us by Phone: +86 13811580958 Wechat: 13811580958 Email: 289965371@qq.com
2011-12-01 oracle11g报TNS-12537和ORA-609问题的解决 (0) 在CentOS5.5 x86_64上安装了Oracle11g,版本号为:11.2.0.1.0
但是,在其它客户端上使用sqlplus连接的时候需要等待很长时间才能连接上,有时候报超时的错误。
错误信息为:
***********************************************************************
Fatal NI connect error 12537, connecting to:
(LOCAL=NO)
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.1.0 - […]
2011-12-01 linux使用date计算某个月份的天数 (0) 本博客中aix系统可以用改变时区的方法获取前后N天的日期
Linux下使用date计算某个月份的天数:
Month=2
Year=2008
nextmonth=`date -d "1 month $Year-$Month-"01"" +%Y-%m-%d`
date -d "-1 day $nextmonth" +%d
#或者将-d "1 month $Year-$Month-"01"" 和 date -d "-1 day $nextmonth" 写在一行命令中
Month=2
Year=2008
date -d "1 month $Year-$Month-"01"" -d "-1 day" +%d
使用cal 计算某个月份的天数:
Month=2
Year=2008
cal $Month $Year | sed -n '3,$p' | […]
2010-12-15 Linux 5下安装oracle开始遇见的错误 缺少包libXp-1.0.0-8.i386.rpm (0)
在运行./runInstaller时出现的错误
错误一:
/tmp/OraInstall2007-12-30_02-16-11PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred.
原因是:缺少支持打印的图形化动态链接库libXp.so.6
这个错误是由于缺少系统安装包,在RHEL5以前的版本,可以安装xorg-x11-deprecated-libs包即可,这个安装包可以在系统光盘第三张盘中找到(对于redhat as4.2以前,redhat as4.4是在第四张安装光盘)
我下载的文件如下:
xorg-x11-deprecated-libs-6.8.2-31.i386.rpm
我用的是redhat 5,在5中 被libXp-1.0.0-8.i386.rpm替代了,所以从安装盘中找到这个文件,
rpm […]
2010-11-25 平台数据库迁移linux >windows (0) linux x86 平台上的 ASE15.5 的 dat文件,拷贝到windows x86 平台上的ASE15.5中,是可以使用的。
只需要简单的修改master.dat中的device路径即可。 通过更改sysdevices的phyname来实现。
将sysdatabases系统表中status - 64
之后, 利用dbcc checkdb,dbcc checkalloc,dbcc checkcatalog 检查各个数据库。 没有错误。
说明: linux平台和windows平台的dat文件是通用的。 […]
2009-12-18 在linux5.4enterprise下安装sybase成功 (0) 昨天下午到现在已成功实现在linux 5.4 Enterprise下安装两个版本sybase数据库。ase12.5.4和ase15.0.3
两个版本的数据库使用不同的账户创建,并且已经配置了开机自动启动和关机自动结束服务。
ln -s /etc/init.d/autostartsyblinux /etc/rc5.d/S98autostartsyblinux
vi /etc/init.d/autostartsyblinux
su - sybase -c /etc/init.d/startsyblinux
vi /etc/init.d/startsyblinux
cd /sybase/ASE-12_5/install
startserver -f RUN_syblinux -f RUN_syblinux_bs
-------------------------------------------------------------------------------------
ln -s […]
2010-10-12 Sybase ASE中实现类似oracle的sqlplus中desc命令来简要显示表结构的存储过程 (0) 在oracle的sqlplus中有一个命令:desc,能够简要的显示基表、视图等的结构。desc的显示结果简单明了,比较实用。虽然在Sybase ASE中的存储过程sp_help也能实现查看表结构的目的;但是,显示结果很多尤其换行混乱,让人看得眼花缭乱。显示的存储过程:sp_desc能够实现oracle的sqlplus中desc相同的功能,仅仅多了一列:列序号。
效果图如下:
存储过程sp_desc的语法如下:
------=================================================================================
use sybsystemprocs
go
if exists(select 1 from sybsystemprocs.dbo.sysobjects where type="P" and name="sp_desc")
drop proc sp_desc
go
create […]
2012-03-07 免安装(绿色版)的ASE客户端工具Sybase Centralv4.3 (12) 以前本博提供了Sybase ASE 12.5绿色版的客户端工具Sybase Central,那个版本号为v3.2。今天继续提供Sybase Central v4.3绿色免安装版。
本客户端工具为Sybase ASE v12.5.4附带的Sybase Central v4.3的绿色、免安装版。本工具包含两个插件:
Sybase Central ASE Plug-in/12.5.4/GA Build 1/S/1.4/ase1254dev/Mon May 22 10:15:00 PDT 2006 和 Sybase IQ 12.7 […]
2010-08-06 sql server 2000中创建索引时的填充因子fillfactor (0) PAD_INDEX
Specifies the space to leave open on each page (node) in the intermediate levels of the index. The PAD_INDEX option is useful only when FILLFACTOR is specified, because PAD_INDEX uses the percentage specified by FILLFACTOR. By default, SQL Server ensures that each index page has enough empty space to accommodate at least one row of the maximum size the index can have, given the set of keys on the intermediate pages. If the percentage specified for FILLFACTOR is not large […]
提供Sybase数据库远程及现场技术支持
提供Sybase ASE和ASA数据库修复服务
QQ :289965371
Email:
电话:(微信)
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
Email: 289965371@qq.com
提供7*24专业Sybase数据恢复、性能优化、迁移升级、紧急救援等服务,
Sybase ASE及Sybase SQL Anywhere数据库修复服务,
电话:(微信),
QQ :289965371
Email:
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
Email: 289965371@qq.com