当前位置:编程学习 > C#/ASP.NET >>

紧急求救。

有一 sql sever 2005
现在在sql server 上运行 clr,select xxxx from a inner join on b xxx=xxxx时出错。
可能是记录过多的原因。
我现在是想这样,能不能先在dataset中,先select xxx from a where xxxx ,先从a表读取符合条件的记录,
再怎样从b表中读取对应a表的记录,这样会不会就不溢出了?怎么做。 --------------------编程问答-------------------- 报什么错?你在Dataset中select还不是和在查询分析器中select是一样的 --------------------编程问答-------------------- select * from b where XXXX in (select xxxx from a where xxx=xxxxx) --------------------编程问答-------------------- select xxxx from a inner join on b xxx=xxxx 语法错误

select xxxx from a inner join  b on xxx=xxxx 这样写试试
补充:.NET技术 ,  VB.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,