创建表的时候要添加目标语句use

来源:互联网 发布:排队软件app 编辑:程序博客网 时间:2024/06/06 04:35

/*==============================================================*/
/* DBMS name:      Microsoft SQL Server 2000                    */
/* Created on:     2012-3-1 16:55:14                            */
/*==============================================================*/

use ieye_db      /*******************目标语句***************/
if exists (select 1
          from sysobjects
          where  id = object_id('dbo.GetAllCameraByUserAndGroup')
          and type = 'P')
   drop procedure dbo.GetAllCameraByUserAndGroup
go

原创粉丝点击