【转帖】在SYBASE中如何设置用户口令为空
<TABLE cellSpacing=0 cellPadding=0 width="96%" align=center border=0><TR bgColor=#ffffff>
<TD class=p7 height=30>在SYBASE中如何设置用户口令为空</TD></TR></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="96%" align=center border=0>
<CENTER>
<TR>
<TD width="100%" bgColor=#f8f8f8>
<DIV align=left>
<OL>
<OL>
<LI>使用sa登录Server:
isql -Usa -Psa_password -Sserver_name
<LI>记录当前版本号(以当前版本号12000为例):
<UL>
<LI><FONT color=#006633>sp_configure "upgrade version"</FONT>
<LI><FONT color=#006633>go</FONT> </LI></UL>
<LI>修改当前值为492:
<UL>
<LI><FONT color=#006633>sp_configure "upgrade version",492</FONT>
<LI><FONT color=#006633>go</FONT> </LI></UL>
<LI>将某用户口令设置为NULL(以sa为例,当前口令为"123456"):
<UL>
<LI><FONT color=#006633>sp_password '123456',NULL,sa</FONT>
<LI><FONT color=#006633>go</FONT> </LI></UL>
<LI>重新设置当前版本号:
<UL>
<LI><FONT color=#006633>sp_configure "upgrade version",12000</FONT>
<LI><FONT color=#006633>go</FONT> </LI></UL></LI></OL></OL></DIV></TD></TR></CENTER></TABLE>
页:
[1]