打印本文 打印本文 关闭窗口 关闭窗口
Sybase入门(一)
作者:武汉SEO闵涛  文章来源:敏韬网  点击数2131  更新时间:2009/4/22 22:54:49  文章录入:mintao  责任编辑:mintao
no options set
model 2.0 MB sa 3 Jan 01, 1900 no options set
sybsystemprocs 10.0 MB sa 4 Oct 24, 1997 trunc log on chkpt
tele114 370.0 MB sa 5 Oct 24, 1997 select intobulkcopy, trunc log on chkpt
tempdb 22.0 MB sa 2 May 05, 1998 select intobulkcopy
(0 rows affected, return status = 0)
例:
1 sp_monitor
2 go
last_run current_run seconds
-------------------------- -------------------------- -----------
May 5 1998 409PM May 5 1998 413PM 224

(0 rows affected)
cpu_busy io_busy idle
------------------------- ------------------------- -------------------------
17(1)-0% 5(0)-0% 923(223)-99%

(0 rows affected)
packets_received packets_sent packet_errors
------------------------- ------------------------- -------------------------
21(9) 51(23) 0(0)

(0 rows affected)
total_read total_write total_errors connections
------------------- ------------------- ------------------- ------------------
947(1) 595(113) 0(0) 3(1)

(0 rows affected, return status = 0)


(5)触发器(Triggers)
触发器是一种特殊的存储过程,用来维护不同表中的相关数据的一致性。当在一张表中插入、删除和修改数据时,触发器就会触发另一个存储过程,从而保持数据的一致性。

(6)缺省与规则(Defaults and rules)
缺省是在数据录入时,若用户没有输入数据,SQL Server自动输入的值。
规则是可以理解为对数据库、某一列、某用户数据类型的限制。

上一页  [1] [2] 

打印本文 打印本文 关闭窗口 关闭窗口