您好,登錄后才能下訂單哦!
[1] on ASE 12.5.4
select * into tempdb..loginaa16 from master..logins
go
then,use DBAartisan migrate tempdb..loginaa16 to HKCORP(80.17)'s tempdb
[2]on ASE 15.5
insert into master..syslogins and update sa and probe's password.
sp_configure 'allow updates',1
go
delete from master..syslogins where name not in ('sa','probe')
go
insert into master..syslogins(suid,status,accdate,totcpu,totio,spacelimit,timelimit,resultlimit,dbname,name,password,language,pwdate,audflags,fullname,srvname,logincount,procid,lastlogindate,crdate,locksuid,lockreason,lockdate)
select suid,status,accdate,totcpu,totio,spacelimit,timelimit,resultlimit,dbname,name,password,language,pwdate,audflags,fullname,srvname,logincount,procid,null,null,null,null,null from tempdb..loginaa16 a where not exists (select 1 from master..syslogins b where a.name=b.name)
go
update master..syslogins set password=(select password from tempdb..loginaa16 b where b.name='probe') where name='probe'
go
update master..syslogins set password=(select password from tempdb..loginaa16 b where b.name='sa') where name='sa'
go
drop table tempdb..loginaa16
go
sp_configure 'allow updates',0
go
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。