upitemgetlist_benchmark.sql

来自「基于微软的 ASP.NET+C#开发的PETSHOP(网上宠物店)项目,在性能及」· SQL 代码 · 共 20 行

SQL
20
字号
/******************************************************************************
**        File: upItemGetList_Benchmark.sql
**        Name: upItemGetList Stored Procedure
**        Desc: Gets the list of items for a specific product type. 
**              This was modified to return the TOP 25 results for the 
**              benchmarking.
**
**        Date: 11/6/2001
**
*******************************************************************************/

ALTER PROCEDURE upItemGetList
(
    @prodid              varchar(10)
)
AS

    SELECT TOP 25 itemid, listprice, attr1
    FROM Item
    WHERE productid = @prodid

⌨️ 快捷键说明

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