sal sever 2008 查询密码

sql server 2008 R2查询admin密码,求购查询语句。。

  1. img

查询语句如下:

select 密码字段 from 表名 where 用户名字段='admin'

参考 https://blog.csdn.net/weixin_39531635/article/details/111095748

知道用户名/密码在哪个表了,就可以select了

可参考

 Use ufsystem
 select * from ua_user where cUser_Id ='admin'

select 密码 from 表 where 用户名='admin'

你这里报错是数据库没有这个表吧

如果知道是哪个数据库
1.查询数据库中所有表名称:
select table_name from information_schema.tables where TABLE_CATALOG=‘数据库名称’;
然后找表查询

先连数据库在进行查询
select * fromwhere 用户名='admin'