提供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
2014-06-24 查找并修复损坏的索引 (0) ASE将索引标记为“可疑”时,或者ASE的排序顺修改后,索引状态会设置:-32768,
patrol指标SuspectIndex会监控数据库中可疑索引的个数。
查找出现索引索引损坏的表:
存储过程:sp_indsuspect [table_name]
如果不加表名,就是查找当前数据库中因排序顺序更改需被重建的索引的所有表;
或:
select u.name as user_name, o.name as table_name, i.name as index_name,i.status
from sysobjects o, sysindexes i, sysusers u
where o.id = […]
2010-02-05 三种SQL分页法[转帖] (0) 应一个朋友的要求,贴上收藏的SQL常用分页的办法~~
表中主键必须为标识列,[ID] int IDENTITY (1,1)
1.分页方案一:(利用Not In和SELECT TOP分页)
语句形式:
SELECT TOP 页记录数量 *
FROM 表名
WHERE (ID NOT IN
(SELECT TOP (每页行数*(页数-1)) ID
FROM 表名
ORDER BY ID))
ORDER BY ID
//自己还可以加上一些查询条件
例:
select top 2 *
from Sys_Material_Type
where (MT_ID not in
(select top (2*(3-1)) MT_ID from Sys_Material_Type order by MT_ID))
order by MT_ID
2.分页方案二:(利用ID大于多少和SELECT TOP分页)
语句形式:
SELECT TOP 每页记录数量 *
FROM 表名
WHERE […]
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 […]
提供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