---
title: "查询字段是否有数字"
author: "bocent"
date: "2009-08-25T11:42:50Z"
tags: []
slug: "untitled"
draft: false
lastmod: "2009-08-25T11:42:50Z"
id: 457107
url: "https://bocent.iteye.com/blog/457107"
---

查询字段是否有数字:(oracle10g以上)

select * from up\_org\_unit u  
where REGEXP\_LIKE(u.unit\_id,'^\[a-z]|\[A-Z]+$')