如何找到数字的一部分 [英] How to find a portion of a number

查看:110
本文介绍了如何找到数字的一部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,
我在编写类似这样的查询时遇到严重问题,
我有50,50.1,50.2,100.3,10000.2数量.
我需要的时候没有点那么喜欢50点的时候我需要像
50.1然后50和1,当10000.2然后10000和2
例如:
50 =输出= 50
50.1 =输出= 50和1
10000.2 =输出= 10000和2

显然它将出现在oracle中并基于点进行搜索

请事先帮助我
马哈茂德
软件工程师

解决方案

,您可以检查以下链接,该链接中有一个代码可基于定界符将行分为几行:

http://www.orafaq.com/forum/t/11692/2/ [ ^ ]


Dear,
I have in serious problem for writing a query like,
I have 50,50.1,50.2,100.3,10000.2 quantity.
I need when no point then like 50,when point I need like
50.1 then 50 and 1,when 10000.2 then 10000 and 2
example:
50=output=50
50.1= output=50 and 1
10000.2=output=10000 and 2

obviously it will be in oracle & searching based on point

Please Help me thanks in advance
Mahmud
Software Engineer

解决方案

you can check the following link in which there is a code to split row into rows based on a delimiter:

http://www.orafaq.com/forum/t/11692/2/[^]


这篇关于如何找到数字的一部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆