oracle - Oracle 错误:值大于该列允许的指定精度
问题描述
插入以下值时出现以下错误:
第 1 行出现错误:ORA-01438:值大于此列允许的指定精度
insert into comands values(
'11111111A',
'05MAY21',
col_products(
t_products(
'Rice with chicken',
1000,
(select ref(inf) from infoNutri inf where inf.num_calories=1000)
)
)
);
create or replace type t_comandas is object(
id varchar2(9),
date date,
products col_products
);
/
create or replace type t_products as object(
name varchar2(20),
price number(4,2),
info_nutritional ref t_infoNutritional
)
解决方案
推荐阅读
- editor - Qt Creator:如何在列编辑模式下移动光标?
- python - TypeError:“str”对象在我的方法中不可调用
- tin-can-api - 无法在学习储物柜的演员中添加“mbox”
- android - 倒带 HLS 直播
- r - 没有其他包中的类的定义
- php - laravel如何知道request()->getHttpHost()的值
- java - 如何在没有 JsonArray 的情况下解析 JsonObject?
- javascript - 当我们可以通过文本编辑器的扩展直接使用 prettier 时,为什么还要使用包管理器安装它?
- server - 我正在尝试启动我的服务器,但出现错误
- vue.js - 使用 CDN vue.js 的父子组件中的方法