---
title: "删除表"
author: "devilhand"
date: "2011-03-31T19:46:19Z"
tags: []
categories: ["数据库"]
slug: "untitled"
draft: false
lastmod: "2011-03-31T19:46:35Z"
id: 982229
url: "https://devilhand.iteye.com/blog/982229"
---

```
--删除某表： 
   if exists (select name from sysobjects where name = '表名')
   drop table 表名
```