Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make table Query

Status
Not open for further replies.

wdbouk

Technical User
May 28, 2003
81
CA
Hello,

I have the following querry :

SELECT Prices.*, ISSUE.*
FROM Prices LEFT JOIN ISSUE ON LEFT(Prices.Cusip,8)=LEFT(ISSUE.Cusip9,8);

when i run it , i see the result. However,when i want to modify it to a make table query i receive an error that access can't represent the join expression ON LEFT(Prices.Cusip,8)=LEFT(ISSUE.Cusip9,8)in Design view. Any help? I need the results in a table.
best wishes
 
Have you tried this ?
SELECT Prices.*, ISSUE.* INTO newTableName
FROM Prices LEFT JOIN ISSUE ON LEFT(Prices.Cusip,8)=LEFT(ISSUE.Cusip9,8);

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
yes. i tried it now but it is unbelievebly slow although i have only 62,000 rows
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top