"Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote in message news:<WrpXc.1485$A1t.1025@news04.bloor.is.net.cabl e.rogers.com>...[color=blue]
> "Access Newbie" <access_2000_newbie@yahoo.com> wrote in message
> news:51928137.0408260936.74ad0e85@posting.google.c om...[color=green]
> >
pietlinden@hotmail.com (Pieter Linden) wrote in message[/color]
> news:<bf31e41b.0408251456.5bb1aaa3@posting.google. com>...[color=green][color=darkred]
> > > why not create a link to your SQL Server table in your Access DB and
> > > then just create an append query?[/color]
> >
> > Because I have 1.5 million records to append to the SQL Server table
> > and doing it that way takes too long. I need to figure out how to do
> > it using a pass-through query.
> >
> > BTW, I figured out how to do it using BCP on the command line, but
> > that involves an extra step of exporting the Access table to a text
> > file. I'd like to skip that step and use an Access pass-through query
> > to append to the SQL Server table directly, but I can't figure out how
> > to reference the local Access table in the SQL statement. Any ideas?[/color]
>
> PMFJI.
>
> A pass-through query CAN'T reference a local Access table. Pass-through
> queries run on the server: they don't know anything about the MDB that
> they're located in.
>
> Can you possible use DTS?[/color]
Thanks for the info. Since I was ultimately able to do it using BCP
fairly easily, I'll just keep doing it that way.