---
title: "删除数据库中带有“？”的表"
author: "wyj_study"
date: "2015-04-15T11:06:23Z"
tags: ["Oracle"]
categories: ["数据库"]
slug: "untitled"
draft: false
lastmod: "2015-04-15T11:06:23Z"
id: 2202622
url: "https://wyj-study.iteye.com/blog/2202622"
---

1、先查询出这些带“？”的表

select 'drop table "'||tname||'";' from tab where tname like '?%';

2、将查询结果复制到命令窗口中执行

   drop table "????";
   drop table "????????_";
   drop table "????????_TIER1";
   drop table "????????_TIER2";

3、刷新Tables列表