Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old September 12th, 2002, 04:28 AM
tiago251 tiago251 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 14 tiago251 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question ACCESS: how to mix UNION and MAKE-TABLE queries

Hi people!

I'm trying to put the result of the following request:

SELECT 'JR' AS EMPLOYEE
,SUBJECT
FROM JOEL
UNION
SELECT 'JC' AS EMPLOYEE
,SUBJECT
FROM JOACHIM;

into a new table, but always getting many errors...if it is possible to do that, where should I put the "into [TABLENAME]" statement?

Thanks for your answers!
Tiago

ps. By the way, how should I post "code" here, I mean what are the tags to englobe code sections? html doesn't work...

Reply With Quote
  #2  
Old September 12th, 2002, 07:16 AM
tiago251 tiago251 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 14 tiago251 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Found the answer here

Very good Access FAQ site:

http://www.kayodeok.btinternet.co.u...fficeaccess.htm

have fun...

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > ACCESS: how to mix UNION and MAKE-TABLE queries


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway