Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - SQL Server & MS Access
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SQL Server & MS Access

 Post Reply Post Reply
Author
Gary View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 March 2002
Location: United Kingdom
Status: Offline
Points: 326
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gary Quote  Post ReplyReply Direct Link To This Post Topic: SQL Server & MS Access
    Posted: 27 May 2003 at 9:55am

I have a DTS which ihas a link to an MS Access database and was wondering whether it is possible to create an MS Access Query from within the MS SQL DTS ???

Something along the lines of CREATE QUERY [Queryname] AS SELECT * FROM myTable

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 2003 at 10:55am
You can query an msaccess database from within a dts package. You just create the connection and query it. I am doing that as I need to transform data between 2 sql servers and cannot go directly I run a truncate table in the access from the dts package.
Are you using the Wizard or the DTS designer?
Back to Top
Gary View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 March 2002
Location: United Kingdom
Status: Offline
Points: 326
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gary Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2003 at 2:02am

Michael,

I know that it is possible to query an MS Access db from SQL DTS - what I need to know is whether it is possible to manipulate the Access mdb itself (ie create an MS Access Query).

Maybe I didn't make my question clear enough....

In SQL Server (and most, if not all heavyweight rdbms) you can create objects (CREATE TABLE, CREATE VIEW, CREATE INDEX, etc). Is this at all possible with MS Access using SQL ?

 

Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2003 at 8:50am

if you really really want to know the syntax...

take a look at the source code of "TableEditor" (http://www.2enetworx.com/dev/projects/tableeditor.asp), because this ASP app can create tables in an access database.. and considering that its 100% asp-based, then the answer to your question is: absolutely yes

just gotta take a little effort and find out "how" :-)

Contribute to the working anarchy we fondly call the Internet
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.