var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: store ouput from select statement
I am running a select statment which retruns one row how I can assign that results to a memory variable ?
Want to show us the SELECT statement.....
But I guess something like:
DECLARE @OrderId int
SELECT @OrderId = MAX(OrderId)
What language are you writing this in? VB, C#, T-SQL?
Originally Posted by kmistry1
In T-SQL, you can do:
DECLARE @test INT
SELECT @test = COUNT(*) FROM Customers