selectscratchpad.sql

来自「一个基本的酒店管理系统」· SQL 代码 · 共 48 行

SQL
48
字号
IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'Select_Scratchpad')
	BEGIN
		PRINT 'Dropping Procedure Select_Scratchpad'
		DROP  Procedure  Select_Scratchpad
	END

GO

PRINT 'Creating Procedure Select_Scratchpad'
GO
CREATE Procedure Select_Scratchpad
	/* Param List */
AS

/******************************************************************************
**		File: 
**		Name: Select_Scratchpad
**		Desc: 查询便签内容
**
**		This template can be customized:
**              
**		Return values:
** 
**		Called by:   
**              
**		Parameters:
**		Input							Output
**     ----------							-----------
**
**		Auth: 
**		Date: 
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:				Description:
**		--------		--------				-------------------------------------------
**    
*******************************************************************************/

select * from Scratchpad


GO

GRANT EXEC ON Select_Scratchpad TO PUBLIC

GO

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?