Advertisement

06.25.2008 at 09:32AM PDT, ID: 23515197
[x]
Attachment Details

Union query gives invalid argument response

Asked by StacyD in Microsoft Access Database

Tags: access, Union query - invalid argument

Hello All:
I have a union query that I would like to merge in order to performa  purge. The tables each have only two fields, and they are the same type. The queruy itself runs fine but when I wrap the create table statement around it I get invalid argument. Can you help?

SELECT q.office,q.account
INTO PurgeBDPJun12Union
FROM
    (select office,account
from TableToUseToPurgeJun12
union
select office,account
from ToBePurgedFromBDPSource)  q

I do want duplicates eliminated.Start Free Trial
 
Keywords: Union query gives invalid argument res…
 
Loading Advertisement...
 
[+][-]06.25.2008 at 09:41AM PDT, ID: 21867537

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.25.2008 at 09:41AM PDT, ID: 21867548

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.25.2008 at 09:51AM PDT, ID: 21867621

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.25.2008 at 09:56AM PDT, ID: 21867661

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Access Database
Tags: access, Union query - invalid argument
Sign Up Now!
Solution Provided By: capricorn1
Participating Experts: 2
Solution Grade: A
 
 
[+][-]06.25.2008 at 10:01AM PDT, ID: 21867706

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628