当前位置: 代码迷 >> Oracle管理 >> 关于视图查询的有关问题,
  详细解决方案

关于视图查询的有关问题,

热度:92   发布时间:2016-04-24 05:58:32.0
关于视图查询的问题,在线等。。。。。
我使用如下语句建了一个视图:

drop   view   "View_Manager_Log ";

/*==============================================================*/
/*   View:   "View_Manager_Log "                                                                           */
/*==============================================================*/
create   or   replace   view   "View_Manager_Log "   as
select   a.logid,b.username,a.userip,a.userlogintime   from   j_log   a   ,j_manager   b   where   b.managerid(+)=a.managerid   order   by   a.logid   desc;


然后使用

SELECT   *   FORM   View_Manager_Log;
进行查询,为什么报如下错误:                   *
ORA-00923:   未找到预期   FROM   关键字


我使用的Oracle8

------解决方案--------------------
用了双引号导致了,
要用select * from "View_Manager_Log ";

建议都不用双引号
  相关解决方案