
select @p0='master' select from where name=@p0
就可以了,没定义varchar的长度,默认为1,
那么就是select from user where name='m'了首先,你指的是所使用的数据库的SQL Server环境你有没有这个软件,你可以留意有关情况,如果你有SQL执行,这样你就可以得到执行的SQL语句。但是,现在很多程序都开展了对SQL包,如果存储过程是加密的,并且费用增加了一倍的努力。//sql
连接字符串
SqlConnection
conn
=
new
SqlConnection("Connect
String");
SqlCommand
comm
=
new
SqlCommand();
commConnection
=
conn;
commCommandType
=
CommandTypeText;
//这里就是你要执行的SQL语句
commCommandText
=
"update
status=4
from
abc
where
id
=
0001";
if
(connState
!=
ConnectionStateOpen)
{
connOpen();
}
commExecuteNonQuery();
connClose();
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)