Hi,
I cant use stored procedures. I wrote below query. I need to build that script without using stored procedures. How can i do that. And i need to pass @CountryID, @StartDate and @EndDate
Select tc.CountryID, tb.DealID, tb.StartDate, tb.EndDate, tb.Description, tb.IsApproved, tb.CreatedBy
From tblCountry as tc inner join tblBid as tb on tc.CountryID = tb.CountryID
Where (tc.CountryID=@CountryID) and (tb.StartDate>=@StartDate AND tb.EndDate<=@EndDate)
Here, i think above query we cant use @CountryID, @StartDate and @EndDate. Istead of that should use an object. I am not knowing that.
Thanks in advance.