Created
August 29, 2012 04:05
-
-
Save erjjones/3506707 to your computer and use it in GitHub Desktop.
Sample Contacts Testing Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE @Count int, @Sort NVARCHAR(45), @Direction BIT, @Page INT, @PageSize INT | |
/* --------------------------------------- | |
USE THE VARIABLES BELOW TO TEST | |
CHANGE THEM TO SEE HOW THE RESULT | |
SET CHANGES ... | |
--------------------------------------- */ | |
SET @Sort = 'FirstName' | |
SET @Direction = 0 -- ASC = 1, DESC = 0 OR NULL | |
SET @Page = 1 | |
SET @PageSize = 50 | |
EXEC ContactsSelCollection @Page,@PageSize,@Sort,@Direction,@TotalCount = @Count OUTPUT | |
SELECT @Count |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment