问题标签 [oracle9i]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
877 浏览

oracle9i - Oracle中的To_Char函数,别名错误?

这是我在 ORACLE 9i 中使用的命令。

从 DUAL 中选择 TO_CHAR(SYSDATE,'DD-MON-YYYY') 日期;

它给出了一个错误“未找到 FROM 关键字,预期”,其中日期是别名,但是当我将日期括在“日期”这样的双引号中时,它会将其视为别名并且输出是正确的。

请建议!

0 投票
1 回答
1473 浏览

oracle9i - 如何更改 oracle 9i 的默认编辑器?

我正在使用 Oracle 9i,当我键入 ed 时,记事本打开,我想使用 Microsoft Word 而不是记事本作为编辑器,可以吗?

0 投票
1 回答
6147 浏览

sql - Oracle 语法错误

我在 Oracle 中收到以下错误:

命令有什么问题?

0 投票
1 回答
174 浏览

oracle9i - 合并语句错误

我创建了两个具有以下描述的表

SQL> desc new_emp 名称为空?类型


EMPNO NUMBER(4) ENAME VARCHAR2(10) Job VARCHAR2(9) 聘用日期 SAL NUMBER(7,2) COMM NUMBER(7,2) DEPTNO NUMBER(2)

SQL> desc old_emp 名称为空?类型


EMPNO NUMBER(4) ENAME VARCHAR2(10) Job VARCHAR2(9) 聘用日期 SAL NUMBER(7,2) COMM NUMBER(7,2) DEPTNO NUMBER(2)

我正在为这两个表使用下面给出的合并语句

匹配时使用 old_emp o on (o.empno=n.empno) 合并到 new_emp n,然后更新集合 n.empno=o.empno, n.ename=o。ename, n.job=o.job, n.hiredate=o.hiredate, n.sal=o.sal, n.comm=o.comm, n.deptno=o.deptno
如果不匹配则插入值(o. empno, o.ename, o.job, o.hiredate, o.sal, o.comm, o.deptno)

当我执行上述语句时系统显示以下错误,我使用的是 ORACLE 9i 版本

ORA-00904: "N"."EMPNO": 标识符无效

0 投票
1 回答
200 浏览

oracle9i - 我无法在 oracle 9i 中使用减号关键字!

我无法通过 MINUS 使用 order by,它说 sql 命令没有正确结束。请建议!

0 投票
1 回答
1368 浏览

oracle - 使用子查询创建视图,并为 ORACLE 9i 中的列提供别名!

这是我的查询,

我以小写形式给出列的别名,并在我确认完成 desc 后以小写形式存储。

但是当我试图选择此列员工时:发生错误

员工:无效的标识符

由于所有列名都以大写形式存储,这是问题所在,请解释一下背后的概念!

0 投票
2 回答
6143 浏览

sql - 如何在 where 条件下使用计算列?

如何 where在 Oracle 9i 的条件中使用计算列?

我想使用类似的东西

0 投票
1 回答
79 浏览

oracle9i - 如何在不读取数据字典的情况下知道约束、索引、序列?

我想在 DESC 命令中显示索引、序列、约束,是否有可能,或者我可以通过它查看表的结构(设计)以及约束、序列、索引的任何其他命令。

0 投票
3 回答
711 浏览

oracle9i - How to find the file format from binary data

We have a Oracle 9i database and OrderDetails table which has a column to store binary data for product images. These images can be viewed only using a 3rd party tool. I have no idea which 3rd party tool. and I have no idea of the format of the image.

Is there anyway from the binary data we can find what format is the image?

Thanks

0 投票
6 回答
8155 浏览

hibernate - Hibernate 不释放数据库连接

以下是配置细节:

我们的应用程序是通过 Spring & Hibernate 开发的。

一旦我们启动应用程序并点击它,它会打开 140 个连接而不释放它。

我们的 DAO 看起来像这样: