asp.net c# sql/ select * from (select * from 表) 问题
这种查询怎么不支持了
select * from (select * from 表)
=====================================
string sql = "select top 1 * from [info]";
SqlDataAdapter sda = new SqlDataAdapter(sql, my.Conn);
DataSet ds = new DataSet();
sda.Fill(ds, "Tname");
上面那段代码是好使的,可把sql换为select top 1 * from (select top 2 * from Info)就不好使了,为什么啊?怎么解决呢?
====================================