use master2> go1> load database smss from /opt/sybase/130620_131112.dmp 2> goMsg 3101, Level 16, State..."/>
溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

Sybase Msg 3101: Database in u

發(fā)布時(shí)間:2020-07-12 22:10:32 來源:網(wǎng)絡(luò) 閱讀:1516 作者:cuilc 欄目:關(guān)系型數(shù)據(jù)庫

[sybase@cnpm_server ~]$ isql -Usa -P12345678

1> use master

2> go

1> load database smss from '/opt/sybase/130620_131112.dmp'

2> go

Msg 3101, Level 16, State 1:

Server 'CNPM_SERVER', Line 1:

Database in use.  A user with System Administrator (SA) role must have exclusive

use of database to run load.

1> select spid,hostname,loggedindatetime,ipaddr from master.dbo.sysprocesses where db_name(dbid)='smss'

2> go

spid   hostname                       loggedindatetime          

        ipaddr                                                          

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

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

    58 localhost.localdomain                 Mar  7 2014  9:59AM

        192.168.1.236                                                                                                    


(1 rows affected)

1> select 'kill '+convert(varchar,spid) from master.dbo.sysprocesses where db_name(dbid)='smss'

2> go


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

kill 58                                                      


(1 rows affected)

1> kill 58

2> go

1> load database smss from '/opt/sybase/130620_131112.dmp'

2> go

Backup Server session id is: 19. Use this value when executing the


向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請(qǐng)聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI