Hi,
I have a variable @FranchiseId declared in my stored procedure
If I try the following select command, will it work????
SELECT @FranciseId=(select FranchiseName FROM franchise WHERE username=@username),username
FROM MyTable
I hope you Understood My problem!!