isql登录
isql -Usa -P -Ssybase
查看服务
showserver
手动启动服务
cd ASE-12_5/install
./startserver -f RUN_SYBASE
自动启动服务
opt/sybase/.bash_profile
添加
#run Sybase
cd /opt/sybase/ASE-12_5/install
startserver -f RUN_SYBASE
startserver -f RUN_SYBASE_back
(1)创建
use master go
disk init
name = 'test',physname='/opt/sybase/data/test.dat',size='1024m',dsync=true
go
(2)删除
use master go
exec sp_dropdevice 'test'
go
(3)修改最大的虚拟设备号
sp_configure 'number of devices',25 go
7、数据库管理
(1)创建数据库
use master go
create database test on test='1024M' go
use test go
exec sp_changedbowner 'sa' go