Viewing 9 posts - 1 through 10 (of 10 total)
Steve, Wayne
Thank you!
Both of your statements give the desired results. Thanks for extracting the teeth! It appears to have been painfull. Thanks for the patience!
Best regards
Pieter
June 29, 2010 at 3:03 pm
Steve Cullen (6/29/2010)
June 29, 2010 at 2:44 pm
Steve Jones - Editor (6/29/2010)
I'm a little unclear about what you want for results? It looks like you are joining budget to actuals already, or is...
June 29, 2010 at 2:28 pm
Steve Jones - Editor (6/29/2010)
UNION combines two queries. Need the same number of fields, but
-- query 1
select fielda, fieldB
from OneTable
UNION
-- query 2
Select FieldC, FieldD
from AnotherTable
Thanks Steve, but how...
June 29, 2010 at 2:13 pm
I did notice the word UNION from three posts. It was also suggested at the office.
As a novice though I have no idea what to do with it, (and I...
June 29, 2010 at 1:51 pm
I have changes the suggest query to:
declare @Org text, @period int -- will be parameters to the procedure
SET @Org = 'RSA/JNB/T00'
SET @period =201001
SELECT IntGL.Org, IntGL.period, IntGL.account, GL.Amount, IntGL.budgetAmount
FROM...
June 29, 2010 at 1:35 pm
Wayne
Thanks, your understanding of the question is correct.
I just need to figure out how to link the parameters in the worksheet to the declare statement and then test the query.
Thanks...
June 29, 2010 at 1:09 pm
Let me rephrase. Where on this forum collection do I post questions about SQL Select Queries?
On hhich discussion group/sub forum - there are several and it is not clear whether...
June 29, 2010 at 12:30 pm
Viewing 9 posts - 1 through 10 (of 10 total)