解决系统从Oracle到Sybase的迁移

互联网 | 编辑: 江海明 2006-11-21 07:00:00转载

       本文是对Sybase命令研究,目的是为解决系统从Oracle到Sybase的迁移

目的:解决系统从Oracle到Sybase的迁移

命令纵览:

C:\Documents and Settings\leizhimin.TOPNET>isql -help

Syntax Error in '-help'.

usage: isql [-b] [-e] [-F] [-p] [-n] [-v] [-X] [-Y] [-Q]

[-a display_charset] [-A packet_size] [-c cmdend] [-D database]

[-E editor [-h header [-H hostname [-i inputfile]

[-I interfaces_file] [-J client_charset] [-K keytab_file]

[-l login_timeout] [-m errorlevel] [-M labelname labelvalue]

[-o outputfile] [-P password] [-R remote_server_principal]

[-s col_separator] [-S server_name] [-t timeout] [-U username]

[-V [security_options]] [-w column_width] [-z localename]

[-Z security_mechanism]

登录到指定ip地址的数据库里面:

isql -H 192.168.3.143 -U sa -P topicms -D icms -S LEIZHIMIN

C:\Documents and Settings\leizhimin.TOPNET>isql -H 192.168.3.143 -U sa -P topicms -D icms -S LEIZHIMIN

接着创建表进行测试:

1> create table test(mom varchar(20))

2> insert into test values('aaa')

3> insert into test values('bbb')

4> insert into test values('ccc')

5> select * from test

6> go

(1 row affected)

(1 row affected)

(1 row affected)

mom

--------------------

aaa

bbb

ccc

(3 rows affected)

1>

相关阅读

每日精选

点击查看更多

首页 手机 数码相机 笔记本 游戏 DIY硬件 硬件外设 办公中心 数字家电 平板电脑