USE TOP Operator and Store Results in a Variable using SQL Server
A user had a query where he wanted to use the TOP Operator and store the results of this operation in a variable to be used later. Here's how to do so:
I am using the 'Customers' table of the Northwind database
No comments:
Post a Comment