Buildmasters Legacy Database Documentation

Procedure: Northwind.dbo.[Ten Most Expensive Products]

CollapseAll image

Collapse image Procedure Properties

 Name   Value 
 Owner   dbo 
 Creation Date   12/13/2004 
 Type   Standard T-SQL 
 Encrypted 
 ID   741577680 
 Implementation Type   Transact SQL 

Collapse image Creation options

Name Value
QUOTED_IDENTIFIER ON
ANSI_NULLS ON

Collapse image Parameters

No parameters exist

Collapse image Recordsets returned

  Name  DataType  Max Length 
TenMostExpensiveProducts nvarchar 40
UnitPrice money 8

Collapse image Objects that depend on [Ten Most Expensive Products]

No dependencies exist

Collapse image Objects that [Ten Most Expensive Products] depends on

  Object Name Object Type Dep Level
Products Table 1
Categories Table 2
Suppliers Table 2
Total 3 object(s)

Collapse image Column Level Dependencies

  Object Name Column Object Type
Products ProductName Table
Products UnitPrice Table
Total 2 column(s)

Collapse image Graphical Dependencies

Click Here to view Dependencies Graphically

Collapse image Permissions

No permissions defined

Collapse image Extended Properties

No extended properties defined

Collapse image SQL

SET ANSI_NULLS ON
SET QUOTED_IDENTIFIER ON
GO

create procedure "Ten Most Expensive Products" AS
SET ROWCOUNT 10
SELECT Products.ProductName AS TenMostExpensiveProducts, Products.UnitPrice
FROM Products
ORDER BY Products.UnitPrice DESC
GO

Collapse image See also

List of Procedures


Buildmasters.com.au




Buildmasters Legacy Database Documentation