Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to Export Data to SQL Server

Status
Not open for further replies.

Bonediggler1

Technical User
Jul 2, 2008
156
US
Hi--

I need to be able to export data from Access to existing SQL Server tables. I do not have the use of DTS/SSIS as this is a SQL Server back-end only.

Any scripts along these lines would be helpful.

Thank you!!
 
Your best bet is probably running this on the SQL Server side, probably using OpenRowset.

Bonediggler1 said:
this is a SQL Server back-end only
All SQL Servers are "back end", but you could download and install Microsoft SQL Management Studio Express, or just run the SQL statement with the command line interface (SqlCmd).
 
Thank you both.

It doesn't look like an append query can be used to update a linked SQL Server table. However, OpenRowset does look promising. Perhaps incorporating this somehow into a stored procedure could help streamline getting the data from Access to SS. We'll see...

As for the back-end comment, I was implying in a round-about way that I don't have Management Studio and thus cannot automate data uploads via DTS etc. The express version is also missing this. The interface we are using is Toad for Data Analysts, which has a lot of neat querying and development tools but also lacks a DTS/SSIS equivalent.

Anyway, this is my first development project in SQL Server. The learning curve is pretty steep...!

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top