Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
简单的问题:有没有办法通过数字名称选择包含数字的行?我的意思是我在查询中输入“七”,然后得到包含“7”的行。我也需要这个来做序数:我输入'second',然后得到带有'2'的行。
我一直在查看 Oracle Text,但找不到任何可以做到这一点的东西。
谢谢!
——拉帕
select to_char(to_date(1,'J'),'Jsp') from dual;
HTH。
亚历山德罗
PS:@Mike:select to_char(to_date(483922,'J'),'Jsp') from dual也可以;)
select to_char(to_date(483922,'J'),'Jsp') from dual
PPS:忘了说:select to_char(to_date(1,'J'),'Jspth') from dual;
select to_char(to_date(1,'J'),'Jspth') from dual;