Re: Execute SQL against ADO recordset
- From: "Rob Rutherford" <rob@xxxxxxxxxxx>
- Date: Mon, 12 Sep 2005 07:07:15 +0100
Thanks for the info.
"Stephen Howe" <sjhoweATdialDOTpipexDOTcom> wrote in message news:Orkc%23QztFHA.3252@xxxxxxxxxxxxxxxxxxxxxxx
> > Having created an ADO recordset, is it possible to then refer to this a a
> > SQL statement?
>
> No.
>
> > For example, having read the Employees
> > table in the Northwind database into a recordset, could I then copy this
> > to a table in an Access database using a SQL statement?
>
> No. Having said this there has been some posts here about a product that
> allows you do exactly this - within the past 2 months. i.e. do SQL
> manipulation on the Recordset.
> Check Google
> I may have it wrong but I believe it does what you want.
>
> But then why bother?
> You can do what you want without recordsets using SQL.
> You can insert records from one table in one database into another database.
> Use a Connection Execute.
>
> INSERT INTO table1 SELECT * FROM otherdatabase.dbo.table2
>
> Stephen Howe
>
>
.
- References:
- Execute SQL against ADO recordset
- From: Rob Rutherford
- Re: Execute SQL against ADO recordset
- From: Stephen Howe
- Execute SQL against ADO recordset
- Prev by Date: Re: Execute SQL against ADO recordset
- Next by Date: Re: Execute SQL against ADO recordset
- Previous by thread: Re: Execute SQL against ADO recordset
- Next by thread: Re: Execute SQL against ADO recordset
- Index(es):
Relevant Pages
|
|