declare @dist_No int set @dist_no= select dist_No from megamart where sponsor_ID_No=11111 print @dist_no
TABLE VARIABLES
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)