首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

access 查询语句的有关问题

2012-08-31 
access 查询语句的问题C# codestring sql selectidentity(int,1,1) as序号,*into#tfromnews order by c

access 查询语句的问题

C# code
      string sql = "select   identity(int,1,1) as  序号,*   into   #t   from   news order by createtime desc ;";        sql += "select   *   from   #t ;";        sql += "drop table #t";



报错的提示:SELECT 子句中包含一个保留字、拼写错误或丢失的参数,或标点符号不正确。

用的是 ACCESS 请大侠帮忙看下

[解决办法]
参考http://hi.baidu.com/dongfangjunzi/item/b3fde502e5190a12cc34eaaf
[解决办法]
access不支持多语句的,你分开执行

热点排行