---
title: "oracle 小玩意"
author: "sric08"
date: "2011-04-18T15:13:19Z"
tags: []
categories: ["数据库"]
slug: "oracle"
draft: false
lastmod: "2011-04-18T15:13:19Z"
id: 1006399
url: "https://sric08.iteye.com/blog/1006399"
---

```
-- 查看某表有多少列
select count(column_name) from user_tab_columns where table_name=upper('ma_company'); 
```