Re: Execute SQL against ADO recordset
- From: "Stephen Howe" <sjhoweATdialDOTpipexDOTcom>
- Date: Mon, 12 Sep 2005 01:52:13 +0100
> 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
.
- Follow-Ups:
- Re: Execute SQL against ADO recordset
- From: Rob Rutherford
- Re: Execute SQL against ADO recordset
- From: Rob Rutherford
- Re: Execute SQL against ADO recordset
- References:
- Execute SQL against ADO recordset
- From: Rob Rutherford
- Execute SQL against ADO recordset
- Prev by Date: Execute SQL against ADO recordset
- Next by Date: Re: Execute SQL against ADO recordset
- Previous by thread: Execute SQL against ADO recordset
- Next by thread: Re: Execute SQL against ADO recordset
- Index(es):
Relevant Pages
|
|