小编Roh*_*ith的帖子

Oracle错误ORA-22905:无法访问非嵌套表项的行

这是我写的存储过程.在这个过程中,"p_subjectid"是从前端传递的数字数组.

PROCEDURE getsubjects(p_subjectid subjectid_tab,p_subjects out refCursor) 
       as

       BEGIN

            open p_subjects for select * from empsubject where subject_id in
            (select column_value from table(p_subjectid));
            --select * from table(cast(p_subjectid as packg.subjectid_tab))
      END getsubjects;
Run Code Online (Sandbox Code Playgroud)

这是我得到的错误.

Oracle error ORA-22905: cannot access rows from a non-nested table item OR
Run Code Online (Sandbox Code Playgroud)

正如我在不同的帖子中看到的,我尝试在下面的评论中给出的表函数内部"cast(p_subjectid as packg.subjectid_tab)".但是我得到了另一个错误:ORA-00902: invalid datatype.

这就是"subjectid_tab"的定义.

type subjectid_tab is table of number index by binary_integer;
Run Code Online (Sandbox Code Playgroud)

任何人都可以告诉我这是什么错误.我的程序有什么问题.

oracle10g

9
推荐指数
1
解决办法
5万
查看次数

在phantomjs-prebuilt@2.1.13安装脚本'node install.js'失败

我试图在Windows 7机器上安装phantomjs,我收到此错误.

npm ERR! Windows_NT 6.1.7601  
npm ERR! argv "C:\\Program Files (x86)\\nodist\\v\\nodev5.5.0\\node.exe"   "C:\\Program Files (x86)\\nodist\\bin\\node_mod  
ules\\npm\\bin\\npm-cli.js" "install"  
npm ERR! node v5.5.0  
npm ERR! npm  v3.10.9  
npm ERR! code ELIFECYCLE  

npm ERR! phantomjs-prebuilt@2.1.13 install: `node install.js`  
npm ERR! Exit status 1  
npm ERR!  
npm ERR! Failed at the phantomjs-prebuilt@2.1.13 install script 'node   install.js'.  
npm ERR! Make sure you have the latest version of node.js and npm installed.
Run Code Online (Sandbox Code Playgroud)

phantomjs github repo中记录了很多相同或者这个问题但是在我的情况下没有任何问题.

这就是我机器的状态

  • 我在C:\npm\phantomjs-2.1.1-windows\bin\phantomjs.exe本地安装了phantomjs,但是当我运行npm安装时,它总是会尝试通过下载安装,这对我来说是个问题.我的公司代理阻止直接下载.我也不能使用--phantomjs_cdnurl这里提到的 交换机 …

node.js phantomjs

6
推荐指数
1
解决办法
1万
查看次数

为什么#!在我的角度应用程序的网址中

由于某种未知的原因,我有'#!' 在visual studio 2015中调试时添加到我的应用程序URL.

网址看起来像这样

http://localhost:58394/#!/customers
http://localhost:58394/#!/
Run Code Online (Sandbox Code Playgroud)

我已经搜索了所有应用程序,如果这是某种拼写错误,但我无法弄清楚这是从哪里来的.

我可以在ASP.NET WEB API以及ASP.NET CORE WEB API中看到...

对于前端我使用角度和角度路线1.6.0

这有什么想法来自哪里?

我没有使用html5mode也没有基本标签,我很高兴#现在在那里,我只是不明白为什么感叹号(!)在那里......

此应用程序不会在Web上部署,也不会使用任何可能使用#的外部服务!任何跟踪或其他任何内容的表示法.

最近的感叹号开始出现,所以我猜这是由我正在使用的一些库引起的.

我只是想知道为什么'!'在那里以及它在那里强迫这个感叹的库.

asp.net asp.net-web-api angularjs asp.net-core

4
推荐指数
1
解决办法
1278
查看次数