查看SQL Server服务运行帐户和SQL Server的所有注册表项 SELECT * FROM sys.dm_server_registry SELECT * FROM sys.dm_server_services 查看SQL Server当前侦听的端口 ), value_data)) FROM sys.dm_server_registry WHERE registry_key LIKE '%MSSQLServer\SuperSocketNetLib\Tcp\%' AND value_na…
登录Oracle时,用scott/tiger 通常此时会报一个错误: scott is locked (帐户被锁定) 现在就要用超级用户system将scott帐户进行解锁. cmd->sqlplus 输入用户名:system 输入口令:**** (安装oracle时设定的口令) SQL> 执行 alter user scott identified by "tiger" account unlock; 意义:修改scott的密码为tiger,并且将其帐户解锁.…