易截截图软件、单文件、免安装、纯绿色、仅160KB

求sql语句

SQL code:
exec sp_decrypt1 'EL_SP_AdminComment' 我想将执行的结果存在一个变量中

==


引用
SQL codeexec sp_decrypt1'EL_SP_AdminComment'  我想将执行的结果存在一个变量中

放一个表中好些吧?

--2005支持表變量 2000用臨時表或實體表


引用
SQL codecreatetable tb(col1int ,.....)insert tbexec sp_decrypt1'EL_SP_AdminComment'

这个正解




相关问答:

关于group by的sql语句?

  with adod_dict do
    begin
    close;
    commandtext:='select bgqxcode,count(*) wjsl from wscl_wsda_file where wjnd=:tnd group by bgqxcode'; ......

总会碰到怪的问题,sql问题

sql2005
select *from v_ddxx where d_sfsc='0' and (g_ssbm='1001' or g_ssbm='1002') and (xxf>0 and  xxfwzf <>0 ),执行速度慢的要死,但是如果把(xxf>0 and  ......

sql 问题

DateTime startTime=DateTime(em_1.Text)
DateTime endTime=DateTime(em_2.Text)

string sql
sql = dw_1.GetSQLSelect()+"Where (StartTime> '"+startTime+"') and (EndTime ......

求sql语句

删除northwind所有表中所有的数据
SQL code:
--删除当前数据库所有表中的数据
sp_MSforeachtable 'Delete from ?'
sp_MSforeachtable @command1="Delete from ? "
sp_MSforeachtable 'Truncate Ta ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号