Question : Bring in data from linked database in batched

I have a SQL SERVER Express 2005 database that I need to bring in a large amount of data from an ACCESS 2003 database. Problem is, it is about 16M rows.  I can bring in smaller tables in one fell swoop with the SELECT * FROM TABLE...TABLE via the linked database.  But how do I change it to only bring in certain records?  that is:

SELECT * FROM TABLE WHERE COLUMN.VALUE = 79...Leads

Answer : Bring in data from linked database in batched

Well I have no idea what:
  ...Leads
...is supposed to mean, but the basic Syntax would be

    SELECT * FROM YourTable WHERE YourTABLE.YourField=79

It looks like in your syntax you are trying to specify a .Value.
This syntax may work in VB, VBA,  VB.net, ...but not really in SQL.

As an example, an actual query might look like this:
   SELECT * FROM tblOrders WHERE tblOrders.EmployeeID=79

;-)

JeffCoachman
Random Solutions  
 
programming4us programming4us