using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.SqlClient ;
类似于
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[r_iRTblDBMProps]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[r_iRTblDBMProps]
GO