Access crash caused by large sql

This is a discussion on Access crash caused by large sql within the ms-access forums in Other Databases category; I don't understand why you're specifying the path for all but three tables, when you really need to do it for the three. Seems to me it would be much simpler to do this: FROM [connect string for this Database].APPLICATION_ACES, [connect string for this Database].PART, [connect string for this Database].FITMENT_NOTES_LEGACY, BaseVehicle, Vehicle, Make, Model, SubModel, DriveType, VehicleToBodyStyleConfig, BodyStyleConfig, BodyNumDoors, BodyType, VehicleToTransmission, Transmission, TransmissionBase, TransmissionType, TransmissionNumSpeeds, TransmissionControlType, VehicleToEngineConfig, EngineConfig, EngineBase, EngineDesignation, Aspiration, FuelType, VehicleToBrakeConfig, BrakeConfig, BrakeType as BrakeType1, BrakeType as BrakeType2, BrakeSystem, BrakeABS IN 'D:Dossiers courantsProjetsAbscoAbsco AAIA DBACESVcdbAAIA VCdb2006 ...

Go Back   Database Forum > Other Databases > ms-access

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #11  
Old 08-24-2008, 07:08 PM
Default Re: Access crash caused by large sql

I don't understand why you're specifying the path for all but three
tables, when you really need to do it for the three. Seems to me it
would be much simpler to do this:

FROM [connect string for this Database].APPLICATION_ACES, [connect string
for this Database].PART, [connect string for this
Database].FITMENT_NOTES_LEGACY, BaseVehicle, Vehicle, Make, Model,
SubModel, DriveType, VehicleToBodyStyleConfig, BodyStyleConfig,
BodyNumDoors, BodyType, VehicleToTransmission, Transmission,
TransmissionBase, TransmissionType, TransmissionNumSpeeds,
TransmissionControlType, VehicleToEngineConfig, EngineConfig,
EngineBase, EngineDesignation, Aspiration, FuelType,
VehicleToBrakeConfig, BrakeConfig, BrakeType as BrakeType1,
BrakeType as BrakeType2, BrakeSystem, BrakeABS IN 'D:\Dossiers
courantsProjetsAbscoAbsco AAIA DatabaseACESVcdbAAIA VCdb2006
Access97 20080731.mdb'

Since all your tables but 3 of them are in the same MDB, it makes
more sense to specify the connect string for those THREE and use IN
to specify the MDB for all the other tables.

From there, you might be able to resolve your issue and use joins in
place of a WHERE clause.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Reply With Quote
  #12  
Old 08-26-2008, 04:11 PM
Default Re: Access crash caused by large sql

On database window
Click "Queries" then click " Create query in Design view "
And start from the beginning.
Create your first query then save it.
Click again " Create query in Design view "
Create your second - if necessary onto the first one.
Basing or joining other queries your previously created should be
pencilled in your case.
How many queries ? Well, looking at your sql I'd say more than one
surely.
I mean if the word of "diagnose " is creating some difficulty.

kind rgds
Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 06:09 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.