<tfoot id='YG4Ha'></tfoot>
    1. <i id='YG4Ha'><tr id='YG4Ha'><dt id='YG4Ha'><q id='YG4Ha'><span id='YG4Ha'><b id='YG4Ha'><form id='YG4Ha'><ins id='YG4Ha'></ins><ul id='YG4Ha'></ul><sub id='YG4Ha'></sub></form><legend id='YG4Ha'></legend><bdo id='YG4Ha'><pre id='YG4Ha'><center id='YG4Ha'></center></pre></bdo></b><th id='YG4Ha'></th></span></q></dt></tr></i><div id='YG4Ha'><tfoot id='YG4Ha'></tfoot><dl id='YG4Ha'><fieldset id='YG4Ha'></fieldset></dl></div>
        <bdo id='YG4Ha'></bdo><ul id='YG4Ha'></ul>

        <legend id='YG4Ha'><style id='YG4Ha'><dir id='YG4Ha'><q id='YG4Ha'></q></dir></style></legend>

        <small id='YG4Ha'></small><noframes id='YG4Ha'>

      1. 在 Oracle 中如何判断一个值是否不是数字?

        How can you tell if a value is not numeric in Oracle?(在 Oracle 中如何判断一个值是否不是数字?)

        <small id='D59yL'></small><noframes id='D59yL'>

        <tfoot id='D59yL'></tfoot>
          • <legend id='D59yL'><style id='D59yL'><dir id='D59yL'><q id='D59yL'></q></dir></style></legend>
          • <i id='D59yL'><tr id='D59yL'><dt id='D59yL'><q id='D59yL'><span id='D59yL'><b id='D59yL'><form id='D59yL'><ins id='D59yL'></ins><ul id='D59yL'></ul><sub id='D59yL'></sub></form><legend id='D59yL'></legend><bdo id='D59yL'><pre id='D59yL'><center id='D59yL'></center></pre></bdo></b><th id='D59yL'></th></span></q></dt></tr></i><div id='D59yL'><tfoot id='D59yL'></tfoot><dl id='D59yL'><fieldset id='D59yL'></fieldset></dl></div>
              <bdo id='D59yL'></bdo><ul id='D59yL'></ul>
                  <tbody id='D59yL'></tbody>

                  本文介绍了在 Oracle 中如何判断一个值是否不是数字?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  如果我的值无效,我有以下代码返回错误消息.如果给定的值不是数字,我想给出相同的错误消息.

                  I have the following code that returns an error message if my value is invalid. I would like to give the same error message if the value given is not numeric.

                  IF(option_id = 0021) THEN 
                        IF((value<10000) or (value>7200000) or /* Numeric Check */)THEN
                            ip_msg(6214,option_name);  -- Error Message
                            return;
                        END IF;
                  END IF;      
                  

                  在 SQL Server 中,我只是使用了 ISNUMERIC().我想在 Oracle 中做类似的事情.比如,

                  In SQL Server, I simply used ISNUMERIC(). I would like to do something similar in Oracle. Such as,

                  IF((!ISNUMERIC(value)) or (value<10000) or (value>7200000))
                      THEN ...
                  

                  推荐答案

                  REGEXP_LIKE(column, '^[[:digit:]]+$')
                  

                  如果列只包含数字字符则返回 TRUE

                  returns TRUE if column holds only numeric characters

                  这篇关于在 Oracle 中如何判断一个值是否不是数字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  ibtmp1是非压缩的innodb临时表的独立表空间,通过innodb_temp_data_file_path参数指定文件的路径,文件名和大小,默认配置为ibtmp1:12M:autoextend,也就是说在文件系统磁盘足够的情况下,这个文件大小是可以无限增长的。 为了避免ibtmp1文件无止境的暴涨导致
                  SQL query to group by day(按天分组的 SQL 查询)
                  What does SQL clause quot;GROUP BY 1quot; mean?(SQL 子句“GROUP BY 1是什么意思?意思是?)
                  MySQL groupwise MAX() returns unexpected results(MySQL groupwise MAX() 返回意外结果)
                  MySQL SELECT most frequent by group(MySQL SELECT 按组最频繁)
                  Include missing months in Group By query(在 Group By 查询中包含缺失的月份)
                  <i id='M6ICV'><tr id='M6ICV'><dt id='M6ICV'><q id='M6ICV'><span id='M6ICV'><b id='M6ICV'><form id='M6ICV'><ins id='M6ICV'></ins><ul id='M6ICV'></ul><sub id='M6ICV'></sub></form><legend id='M6ICV'></legend><bdo id='M6ICV'><pre id='M6ICV'><center id='M6ICV'></center></pre></bdo></b><th id='M6ICV'></th></span></q></dt></tr></i><div id='M6ICV'><tfoot id='M6ICV'></tfoot><dl id='M6ICV'><fieldset id='M6ICV'></fieldset></dl></div>

                  1. <legend id='M6ICV'><style id='M6ICV'><dir id='M6ICV'><q id='M6ICV'></q></dir></style></legend>

                    <small id='M6ICV'></small><noframes id='M6ICV'>

                    <tfoot id='M6ICV'></tfoot>

                      <tbody id='M6ICV'></tbody>
                            <bdo id='M6ICV'></bdo><ul id='M6ICV'></ul>