Educational Materials like Computer, engineering, software and Property , Entertainment: Create stored procedure to show employee details as per filtered range in sql
Custom Search

Subscribe Now: Feed Icon

January 10, 2012

Create stored procedure to show employee details as per filtered range in sql

Axapta Code solutions Education and Entertainments Earn Money its Real Experience of knowledge Imortant Weblink collections Fun and Entertainment God thoughts Get Ways to Invest your money Products overview and details
Create stored procedure to show employee details as per filtered range in sql

SET ANSI_NULLS ON
Go
SET QUOTED_IDENTIFIER ON
Go CREATE PROCEDURE spx_GetEMploye
@Filter VARCHAR(50) AS BEGIN
SET NOCOUNT ON;
IF @Filter = 'ALL'
SELECT ContactName, City, Country, PostalCode FROM Employee
ELSE IF @Filter = '10'
SELECT TOP 10 ContactName, City, Country, PostalCode FROM Employee
ELSE SELECT ContactName, City, Country, PostalCode FROM Employee WHERE mailto:Country=@Filter
END GO

0 comments:

Post a Comment

Follow by Email

Video Bar

Loading...

Followers

Educational Materials like Computer, engineering, software and Property , Entertainment

Recent Visitors

Active Search Results
Wink Bingo | Slots Tips | Football manager 2010 | blackjack free | Poker Stars
Submitdomainname.com