Last active
February 19, 2017 20:28
-
-
Save gbdavid2/01c92bd8c3b7708aadc8 to your computer and use it in GitHub Desktop.
Basic use of a parameter with TOP (Transact-SQL)
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 @top AS INT = 100 | |
SELECT TOP (@top) * FROM Sales.SalesOrderHeader |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment