关于ORACLE查询列加()or () 报ORA-00923:未找找到要求的FROM关键字
来源:互联网 发布:js 设置 form action 编辑:程序博客网 时间:2024/06/07 01:49
SQL查询列中包含()() 执行的时候会报 ORA-00923:未找找到要求的FROM关键字,
ORACLE会默认列中别名非字母汉字的符号为特殊字符,需用" "
例子:
SELECT to_char(t.gmt_create,'YYYYMMDD HH24miss') 订单时间,
t.card_name 姓名,
t.exchange_amount 金额(分),
t.card_index 卡索引,
t.core_trans_id 交易核心流水,
t.order_no 支付核心流水,
t.status 交易状态,
t.real_channel_id 渠道ID,
t.bank_resp_code 银行返回码,
t.bank_resp_msg 银行返回信息
FROM fxo_withdraw_apply t
where t.core_trans_id in (
'O0060005201610260000001287929160'
) order by t.core_trans_id;
SELECT to_char(t.gmt_create,'YYYYMMDD HH24miss') 订单时间,
t.card_name 姓名,
t.exchange_amount 金额(分),
t.card_index 卡索引,
t.core_trans_id 交易核心流水,
t.order_no 支付核心流水,
t.status 交易状态,
t.real_channel_id 渠道ID,
t.bank_resp_code 银行返回码,
t.bank_resp_msg 银行返回信息
FROM fxo_withdraw_apply t
where t.core_trans_id in (
'O0060005201610260000001287929160'
) order by t.core_trans_id;
SELECT to_char(t.gmt_create,'YYYYMMDD HH24miss') 订单时间,
t.card_name 姓名,
t.exchange_amount 金额(分),
t.card_index 卡索引,
t.core_trans_id 交易核心流水,
t.order_no 支付核心流水,
t.status 交易状态,
t.real_channel_id 渠道ID,
t.bank_resp_code 银行返回码,
t.bank_resp_msg 银行返回信息
FROM fxo_withdraw_apply t
where t.core_trans_id in (
'O0060005201610260000001287929160'
) order by t.core_trans_id;
SELECT to_char(t.gmt_create,'YYYYMMDD HH24miss') 订单时间,
t.card_name 姓名,
t.exchange_amount 金额(分),
t.card_index 卡索引,
t.core_trans_id 交易核心流水,
t.order_no 支付核心流水,
t.status 交易状态,
t.real_channel_id 渠道ID,
t.bank_resp_code 银行返回码,
t.bank_resp_msg 银行返回信息
FROM fxo_withdraw_apply t
where t.core_trans_id in (
'O0060005201610260000001287929160'
) order by t.core_trans_id;
解决方法:
SELECT to_char(t.gmt_create,'YYYYMMDD HH24miss') 订单时间,
t.card_name 姓名,
t.exchange_amount "金额(分)",
t.card_index 卡索引,
t.core_trans_id 交易核心流水,
t.order_no 支付核心流水,
t.status 交易状态,
t.real_channel_id 渠道ID,
t.bank_resp_code 银行返回码,
t.bank_resp_msg 银行返回信息
FROM fxo_withdraw_apply t
where t.core_trans_id in (
'O0060005201610260000001287929160'
) order by t.core_trans_id;
- 关于ORACLE查询列加()or () 报ORA-00923:未找找到要求的FROM关键字
- Oracle-ORA-00923: 未找到要求的FROM关键字-Oracle不支持TOP N查询
- oracle oracle中ORA-00923: 未找到要求的 FROM 关键字
- ORA-00923: 未找到要求的 FROM 关键字
- ORA-00923: 未找到要求的 FROM 关键字
- ORA-00923: 未找到要求的 FROM 关键字
- tomcat:Cannot create PoolableConnectionFactory (ORA-00923: 未找到要求的 FROM 关键字)
- Oracle rownum ORA-00923: 未找到要求的 FROM 关键字 (不积跬步,无以至千里)
- oracle未找到要求的from关键字,什么问题?
- spring+mybatis+oracle ORA-00923: 未找到预期 FROM 关键字
- java.sql.SQLException:ORA-00923:未找到要求的From
- ora-00923:未找到要求的form关键字
- oracle查询提示未找到from关键字
- oracle异构链接selserver查询报错ORA-00904.列名一定加双引号
- oracle 未找到要求的 from 关键字以及 乐观锁悲观锁
- 数据库查询 报错 *****ORA-00918: 未明确定义列
- jdbc查询oracle数据库时出现未找到要求的 XXX 关键字可能原因
- Cannot create PoolableConnectionFactory (ORA-00923: 未找到预期 FROM 关键字
- Android流式布局FlowLayout
- Golden Goose Donna 2 yoa mother's this
- 有一个字符数组的内容为:"student a am i",请你将数组的内容改为"i ama student".
- 10款优秀的在线格式转换工具
- HTML+js+css实现点击图片弹出上传文件窗口的两种思路
- 关于ORACLE查询列加()or () 报ORA-00923:未找找到要求的FROM关键字
- 耦合和内聚
- php防止sql注入
- Swift filter函数介绍
- 第十周项目2-二叉树遍历的递归算法
- HDU 1074 Doing Homework(状压DP)
- h5 cursor:pointer touch的时候,会产生阴影效果
- 交流电路中相位超前和滞后问题
- PackageUtils