How to store multiple values in TSQL Variables
        Posted  
        
            by RPS
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by RPS
        
        
        
        Published on 2010-06-03T19:51:28Z
        Indexed on 
            2010/06/03
            19:54 UTC
        
        
        Read the original article
        Hit count: 258
        
sql
I have the following TSQL Statement:
SELECT ProductId, OwnerId FROM Product
How I can store the ProductId and OwnerId in a TSQL variable and then return it to the calling application?
© Stack Overflow or respective owner