Home Database Mysql Tutorial Oracle判断指定列是否全部为数字的sql语句

Oracle判断指定列是否全部为数字的sql语句

Jun 07, 2016 pm 04:20 PM
oracle judgment designation number statement

判断指定列是否全部为数字在实际应用过程中很常见,下面是具体的示例语句,由此需求的朋友可以借鉴下,希望对大家有所帮助 复制代码 代码如下: select nvl2(translate(name,'1234567890 ', ''),'is characters ','is number ') from customer_info where nvl

判断指定列是否全部为数字在实际应用过程中很常见,,下面是具体的示例语句,由此需求的朋友可以借鉴下,希望对大家有所帮助

 

复制代码 代码如下:


select nvl2(translate(name,'1234567890 ', ''),'is characters ','is number ') from customer_info where nvl2(translate(name,'1234567890 ', ''),'is characters ','is number ')='is number '

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How long will Oracle database logs be kept? How long will Oracle database logs be kept? May 10, 2024 am 03:27 AM

How long will Oracle database logs be kept?

The order of the oracle database startup steps is The order of the oracle database startup steps is May 10, 2024 am 01:48 AM

The order of the oracle database startup steps is

Oracle database server hardware configuration requirements Oracle database server hardware configuration requirements May 10, 2024 am 04:00 AM

Oracle database server hardware configuration requirements

How to see the number of occurrences of a certain character in Oracle How to see the number of occurrences of a certain character in Oracle May 09, 2024 pm 09:33 PM

How to see the number of occurrences of a certain character in Oracle

How much memory does oracle require? How much memory does oracle require? May 10, 2024 am 04:12 AM

How much memory does oracle require?

How much memory is needed to use oracle database How much memory is needed to use oracle database May 10, 2024 am 03:42 AM

How much memory is needed to use oracle database

Oracle scheduled tasks execute the creation step once a day Oracle scheduled tasks execute the creation step once a day May 10, 2024 am 03:03 AM

Oracle scheduled tasks execute the creation step once a day

How much memory does an oracle database require? How much memory does an oracle database require? May 10, 2024 am 02:09 AM

How much memory does an oracle database require?

See all articles