摘要:
create TABLE #tempshopt ( shopid varchar(max) ) set @aSql = 'insert into #tempshopt(shopid) select shopid from s_shopid where shopid in ('+@shop+') an 阅读全文
摘要:
uses StrUtils; function ReversePos(SubStr, S: String): Integer; var i : Integer; begin i := Pos(ReverseString(SubStr), ReverseString(S)); if i > 0 the 阅读全文
摘要:
@@c_beiz varchar(500) select top 1 @c_beiz = c_beiz from g_billd_qh_tmp where u_id=''+@uid+'' and iodate=''+@iodate+'' and gfrom=''+@gfrom+'' and gto= 阅读全文
摘要:
方法一: create table tb ( id int, num int ) insert into tb select 1,10 insert into tb select 1,20 insert into tb select 2,80 insert into tb select 2,null 阅读全文