您当前的位置: 首页 > 慢生活 > 程序人生 网站首页程序人生
sqlserver2008 select在存儲過程中使用select查詢
发布时间:2022-01-03 22:31:40编辑:雪饮阅读()
-- ================================================
-- Template generated from Template Explorer using:
-- Create Procedure (New Menu).SQL
--
-- Use the Specify Values for Template Parameters
-- command (Ctrl-Shift-M) to fill in the parameter
-- values below.
--
-- This block of comments will not be included in
-- the definition of the procedure.
-- ================================================
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author: <Author,,Name>
-- Create date: <Create Date,,>
-- Description: <Description,,>
-- =============================================
CREATE PROCEDURE test_select
AS
BEGIN
select * from test_table_1 where id>0
END
GO
這裏test_select是創建的未來存儲過程的i名稱
关键字词:sqlserver2008,存儲過程,select