提供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
2010-03-16 关于Sybase中的快bcp (0) 在sybase中复制数据时,经常能够解决到bcp(bulk copy)。
bcp分两种,快bcp和慢bcp。这两种分法是针对bcp in。对于bcp out个人感觉没有快、慢之分,反正就是从sybase的extent上大块大块的拷数据。
今天在bcp 数据in 到一个sybase server的时候,报下面的错误:
C:\Documents and Settings\Administrator>bcp test.dbo.tablename in d:\12
34 -c -Usa -Saix
Password:
Starting copy...
Server Message: SYB_AIX53 - Msg 4806, Level 16, State 1:
You cannot run the non-logged version of bulk copy in this database. Please chec
k with the DBO.
Server Message: SYB_AIX53 - Msg 3621, […]
2014-06-24 ASE Error:624一个案例的错误处理过程 (0) 本文介绍我遇到的一例ASE Error: 624的解决过程;所使用的方法仅对我遇到的案例时适用的。
对于Error: 624,主要有两种情况:
一、ASE服务器联机状态中,损坏的非聚簇索引的叶页指向不正确或不存在的RID;
二、ASE服务器自动恢复过程中,事务日志中最后一条检查点记录的数据结构指向日志中不正确或不存在的记录;
问题确认:
我所遇到的这个案例是属于第二种情况,事务日志页指向有错误。
客户反映ASE 15.0.3无法启动,错误日志报错:Error: 624
Adaptive Server failed to retrieve a row via its RID in database 'master' because the requested RID has a higher number than the last RID on the page. […]
2013-09-05 查找没有授予给其它用户权限的表以及权限 (0) 以将dbo创建的所有表授予相应权限给普通用户userA为例。
将dbo拥有的表的相应权限(select/insert/update/delete)授予给普通用户userA,使用以下SQL生成授权语句:
select 'grant select on ' + user_name(uid) + '.' + name + ' to userA' from sysobjects where type='U' and uid=user_id('dbo')
union all
select 'grant insert on ' + user_name(uid) + '.' + name + ' to userA' from sysobjects where type='U' and […]
2013-10-15 ASE中xml服务使用方法简介 (0) ASE自12.5.1开始在内部处理中支持xml;自15.x版本xml功能得到进一步完善。
ASE15.x中使用xml不需要额外的license。
一、导出xml文档
在ASE的select语句中加入关键字for xml即可以xml格式显示结果集。
语法:
限制:
for xml select语句不能包括into_clause、compute_clause、read_only_clause、isolation_clause、browse_clause 或 plan_clause。
不能在命令create view、declare cursor、subquery 或 execute command中指定 for xml select。
不能在以下命令中使用for xml 子查询:for xml select、create view、declare cursor、select into;亦不能将其用作定量判定子查询,如 any/all、in/not in、exists/not exists。 […]
2013-04-02 ASE中对于大文本字段的使用方法 (0) ASE中对 text、image 和 unitext 列的限制
不能在以下情况中使用 text、image 或 unitext 列:
用作存储过程的参数或传递给这些参数的值
作为局部变量
在 order by clause、compute clause、group by 和 union 子句中
用于索引
用于子查询或连接
在 where 子句中,除非带有关键字 like
同 + 并置运算符一起使用
建立测试数据:
create table test_lob(id int not null,notes text null)
go
insert into test_lob values(1,replicate('x',1024))
go
insert into test_lob […]
提供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