Hi,
If anybody plz help me out of this myth. The problem is like
BEGIN
Declare @LocalVariable int
Declare @QueryStr nvarchar(4000)
Set @QueryStr = 'Select 1'
-- I want this 1 to be stored into @LocalVariable after executing it in either
-- sp_executesql or simple execute () function
END
Wishing Health n Wealth to all
Rehan