use "Northwind"
go
/* DROP OBJECTS */
if exists (select * from sys.objects where name = 'Reset')
drop procedure "Reset"
GO
CREATE PROCEDURE dbo.Reset
/*
(
@parameter1 int = 5,
@parameter2 datatype OUTPUT
)
*/
AS
BEGIN
EXECUTE sp_executesql N'
SET NOCOUNT ON
set quoted_identifier on
SET DATEFORMAT ymd
use "Northwind"
/* DROP PROCEDURES */
/*
"CustOrderHist"
"CustOrdersDetail"
"CustOrdersOrders"
"Employee Sales by Country"
"Sales by Year"
"SalesByCategory"
"Ten Most Expensive Products"
*/
if exists (select * from sys.objects where name = ''CustOrderHist'')
drop procedure "CustOrderHist"
if exists (select * from sys.objects where name = ''CustOrdersDetail'')
drop procedure "CustOrdersDetail"
if exists (select * from sys.objects where name = ''CustOrdersOrders'')
drop procedure "CustOrdersOrders"
if exists (select * from sys.objects where name = ''Employee Sales by Country'')
drop procedure "Employee Sales by Country"
if exists (select * from sys.objects where name = ''Sales by Year'')
drop procedure "Sales by Year"
if exists (select * from sys.objects where name = ''SalesByCategory'')
drop procedure "SalesByCategory"
if exists (select * from sys.objects where name = ''Ten Most Expensive Products'')
drop procedure "Ten Most Expensive Products"
/* DROP VIEWS */
/*
"Alphabetical list of products"
"Current Product List"
"Customer and Suppliers by City"
"Invoices"
"Order Details Extended"
"Order Subtotals"
"Orders Qry"
"Products Above Average Price"
"Products by Category"
"Quarterly Orders"
"Sales by Category"
"Sales Totals by Amount"
"Summary of Sales by Quarter"
"Summary of Sales by Year"
*/
if exists (select * from sys.objects where name = ''Alphabetical list of products'')
drop view "Alphabetical list of products"
if exists (select * from sys.objects where name = ''Current Product List'')
drop view "Current Product List"
if exists (select * from sys.objects where name = ''Customer and Suppliers by City'')
drop view "Customer and Suppliers by City"
if exists (select * from sys.objects where name = ''Invoices'')
drop view "Invoices"
if exists (select * from sys.objects where name = ''Order Details Extended'')
drop view "Order Details Extended"
if exists (select * from sys.objects where name = ''Order Subtotals'')
drop view "Order Subtotals"
if exists (select * from sys.objects where name = ''Orders Qry'')
drop view "Orders Qry"
if exists (select * from sys.objects where name = ''Products Above Average Price'')
drop view "Products Above Average Price"
if exists (select * from sys.objects where name = ''Products by Category'')
drop view "Products by Category"
if exists (select * from sys.objects where name = ''Quarterly Orders'')
drop view "Quarterly Orders"
if exists (select * from sys.objects where name = ''Sales by Category'')
drop view "Sales by Category"
if exists (select * from sys.objects where name = ''Sales Totals by Amount'')
drop view "Sales Totals by Amount"
if exists (select * from sys.objects where name = ''Summary of Sales by Quarter'')
drop view "Summary of Sales by Quarter"
if exists (select * from sys.objects where name = ''Summary of Sales by Year'')
drop view "Summary of Sales by Year"
/* DROP TABLES */
/*
"OrderDetails"
"Orders"
"Customers"
"Shippers"
"Products"
"Categories"
"Suppliers"
"EmployeeTerritories"
"Territories"
"Region"
"Employees"
*/
if exists (select * from sys.objects where name = ''OrderDetails'')
drop table "OrderDetails"
if exists (select * from sys.objects where name = ''Orders'')
drop table "Orders"
if exists (select * from sys.objects where name = ''Customers'')
drop table "Customers"
if exists (select * from sys.objects where name = ''Shippers'')
drop table "Shippers"
if exi�
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
ext.net.pro.1.0rc1(收藏) (12644个子文件)
CommentsWindow.ascx 9KB
WindowEditor.ascx 8KB
WindowEditor.ascx 8KB
SplitButtonsArrowBottom.ascx 7KB
MenuButtons.ascx 7KB
SplitButtons.ascx 7KB
MenuButtonsArrowBottom.ascx 7KB
ToggleButtons.ascx 7KB
NormalButtons.ascx 6KB
ChooserDialog.ascx 4KB
Address.ascx 3KB
EventsViewer.ascx 3KB
UserControl1.ascx 1016B
UserControl2.ascx 1005B
HighLighterButton.ascx 798B
MyUserControl.ascx 682B
Alias.ascx 102B
SuppliersSaveWithConfirmation.ashx 142B
EmployeesControler.ashx 130B
RestfulPersons.ashx 120B
FeedProxy.ashx 113B
GenerateSource.ashx 112B
SubmitHandler.ashx 110B
SuppliersSave.ashx 110B
ExampleLoader.ashx 110B
PlantHandler.ashx 108B
JsonHandler.ashx 106B
TreeLoader.ashx 104B
Plants.ashx 96B
ValidationService.asmx 164B
RemoteTree.asmx 157B
TreeLoaderService.asmx 118B
PlantJsonService.asmx 116B
SuppliersService.asmx 116B
RemoteService.asmx 115B
PlantService.asmx 108B
TestService.asmx 106B
JsonService.asmx 106B
XmlService.asmx 104B
Cities.asmx 96B
Default.aspx 60KB
Default.aspx 60KB
Default.aspx 39KB
Default.aspx 29KB
Desktop.aspx 28KB
Default.aspx 27KB
Default.aspx 26KB
Default.aspx 26KB
Default.aspx 24KB
Default.aspx 21KB
Default.aspx 19KB
Default.aspx 19KB
Default.aspx 18KB
Default.aspx 18KB
Default.aspx 16KB
Default.aspx 16KB
Default.aspx 16KB
Default.aspx 15KB
Default.aspx 15KB
Default.aspx 15KB
Default.aspx 15KB
Default.aspx 14KB
Default.aspx 14KB
Default.aspx 14KB
Default.aspx 13KB
Default.aspx 12KB
Default.aspx 12KB
Default.aspx 12KB
Default.aspx 12KB
Default.aspx 11KB
Default.aspx 11KB
Default.aspx 11KB
Default.aspx 11KB
Default.aspx 11KB
Default.aspx 11KB
WithSave.aspx 11KB
Default.aspx 11KB
Default.aspx 11KB
Default.aspx 11KB
Default.aspx 11KB
Default.aspx 11KB
Default.aspx 10KB
Default.aspx 10KB
Default.aspx 10KB
Default.aspx 10KB
Default.aspx 10KB
Default.aspx 10KB
Default.aspx 10KB
Default.aspx 10KB
Default.aspx 10KB
Default.aspx 10KB
Default.aspx 10KB
Default.aspx 10KB
Default.aspx 10KB
Default.aspx 10KB
Default.aspx 10KB
Default.aspx 9KB
Default.aspx 9KB
Default.aspx 9KB
Default.aspx 9KB
共 12644 条
- 1
- 2
- 3
- 4
- 5
- 6
- 127
yuanmanguo
- 粉丝: 68
- 资源: 182
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于matlab实现串口发送接收数据 可配置端口,波特率等 发送可选择ASCII方式或HEX方式
- matlab基于BP神经网络手写字母识别(单一).zip代码9
- 基于matlab实现编写的串口调试工具,数据接收部分采用中断方式,保证了实时的数据显示
- 基于matlab实现39节点电力系统合闸角调控过程中的机组和负荷的灵敏度计算.rar
- HBase数据库性能调优
- 原生微信小程序源码 - -首字母排序选择
- 基于QT+C++开发的保卫萝卜塔防游戏+源码(毕业设计&课程设计&项目开发)
- newapp.apk
- 项目申报管理系统论文Java项目
- 8数码、α-β搜索的博弈树算法编写一字棋游戏、Fisher线性分类器、感知器算法、SVM 分类器、卷积神经网络 CNN 框架
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1