- 論壇徽章:
- 0
|
use MCPDB
go
sp_addsegment seg_mcpdata,MCPDB,mcpdata1
go--執(zhí)行成功
sp_addsegment seg_mcplog,MCPDB,mcplog1
go --錯誤
報告如下錯誤:
1> use MCPDB
2> go
1> sp_addsegment seg_mcplog,MCPDB,mcplog1
2> go
Msg 17283, Level 16, State 1:
Server 'SYBASE', Procedure 'sp_addsegment', Line 139:
'mcplog1' is reserved exclusively as a log device.
(return status = 1)
1>
不能在pulic用戶組下面增加用戶:錯誤如下:
1> use MCPDB
2> go
1> sp_dropgroup public
2> go
Msg 156, Level 15, State 1:
Server 'SYBASE', Line 1:
Incorrect syntax near the keyword 'public'.
1> sp_addgroup public
go2>
Msg 156, Level 15, State 1:
Server 'SYBASE', Line 1:
Incorrect syntax near the keyword 'public'.
1> use MCPDB
2> go
1> sp_dropuser mcpuser
2> go
Msg 17232, Level 16, State 1:
Server 'SYBASE', Procedure 'sp_dropuser', Line 156:
No user with the specified name exists in the current database.
(return status = 1)
1> sp_adduser mcpuser,mcpuser,public
2> go
Msg 156, Level 15, State 1:
Server 'SYBASE', Line 1:
Incorrect syntax near the keyword 'public'.
謝謝各位,幫忙看看、 |
|