Viewing 8 posts - 1 through 8 (of 8 total)
What is the error you are getting?
January 30, 2019 at 2:19 pm
I * think* you are saying you only want vmainmembers to return if they do not exist in the firstprincardfooter for the same year on that vmainmember record. If so,...
January 30, 2019 at 8:03 am
Declare @StartDate Date = '12/1/2018'
, @EndDate Date = '12/31/2018'
Then replace your dates in your code with the variables.
January 30, 2019 at 7:36 am
There may be a better approach to this out there but this works and can at least give you a base to start with.
Create Table...
January 24, 2019 at 10:08 am
DECLARE @SQLString nvarchar(255)
SET @SQLString = 'SELECT * FROM vSalesInvoices WHERE (Order_Status = 0 OR Order_Status = 4 OR Order_Status = 5) AND Delivery_Date= ''' +...
January 24, 2019 at 8:13 am
after add field dbo.trxtypeConfig.TrxArbName to query grouping is damage problem .
this query below is grouping...
January 23, 2019 at 9:02 pm
January 23, 2019 at 8:43 pm
@CustID is set to an INT, needs go be cast to a character to work. Change to Cast(@CustID as Varchar). Should work then. Definitely look up sp_executesql and the benefits...
January 23, 2019 at 8:11 pm
Viewing 8 posts - 1 through 8 (of 8 total)