select * 和select `id` 或select id, title都得不到结果。------------------------------------
select * from table ???
Try it in the query analyst of sqlserver.

解决方案 »

  1.   

    zeroleonhart(Strong Point:Algorithm) ( ) 对,把你的语句在查询分析器里面试一下!
      

  2.   

    你连上MSSQL没?连上了应该没有问题呀!
      

  3.   

    select `id` 在sql server中是不行的,select * 和 或select id, title是绝对没问题的
      

  4.   

    select * from table  这绝对没有问题的哦!
      

  5.   

    在查询器里是可以的。
    但在PHP里就不行了。
      

  6.   

    select * from table 要是查不出结果肯定是DB有问题。既然你select id from table能查出结果,还是检查一下代码吧!
      

  7.   

    我也遇到这种问题...
    当时好像是数据库字段类型的问题..比如Ntext 就不能用SELECT *...
    你检查一下字段类型...试着把N去掉..
      

  8.   

    sql server 中不能用 `id`