SQL Newbie Question - Basic understanding

Johnrg

Registered User.
Local time
Tomorrow, 09:35
Joined
Sep 25, 2008
Messages
115
Hi There SQL masters!!,

We have a relativelly complex Access 2010 database that we are wanting to upsize to SQL.

We have done some upsize testing and most functions seem to work fine at or around the same speed that the current Access back end delivers, but there are other functions that either do not work at all, or are alot slowever in delivering a result than the current Access BE is.

The database has alot of queries in it, about 150, and some of these are pretty long and complex, union queries etc.

The developer I am working with does not have alot of SQL experiance and we are trying to get our heads around making the most of the SQL database engine to run these more complex queries for us rather than having them all in the access front end file.

Can someone explain, in very basic talk, how you go about getting the SQL database engine to run these more complex queries? Do you create a query direct in the SQL management studio and then somehow link it to the Access FE? like the tables link via ODBC?

Someone gave me this example:
You have 100000 records but only want ten returned:
If this query runs direct in the Access FE, all the data for the 100000 records comes down the pipe to access, then it it sorts it to 100 and displays the result.
But if it runs in the SQL BE only the 100 records you want come down the pipe, hence making the process faster with the speed it processes and the drop in network traffic. Is this correct?

Thanks, please be gentle!!

JohnG
 
Glad I've found this thread. I'm experimenting with implementing an SQL backend/Access FE but still learning how to update the queries and my database is split into FE/BE at the moment.

One problem is my queries somethings use custom fucntions and also input from form textboxes so I'm not sure how to overcome this...
 
One problem is my queries somethings use custom fucntions and also input from form textboxes so I'm not sure how to overcome this...

As for input from form controls... simply with VBA grab the values out of the controls...

Safely read form field text controls
http://www.access-programmers.co.uk/forums/showthread.php?p=1131039#post1131115

then pass the values through to the SQL, be it ADO.Pararameters or passing them via string as you build a pass-through query.

I am not sure what you mean by the former part here...

One problem is my queries somethings use custom fucntions

????????
 

Users who are viewing this thread

Back
Top Bottom