Forever Breathes The Lonely Word
Peter Hahndorf's IT Blog
Navigation for Forever Breathes The Lonely Word - Scripting Jet databases
Content
Sidebar
Footer
July 21, 2006
@ 12:19 PM
Comments [0]
Scripting Jet databases
For a recent .net project I had to work with several MS Access (Jet) databases with the possibility on an upgrade to SQL Server later on. All access to tables is done with QueryDefs (Access' stored procedures). When moving to SQL Server I only have to switch to a different database access layer from OLEDB to SQL Server and port the jet databases to SQL Server. All stored procedure names and parameters would stay the same. The MS Access Upsizing Wizard is fine for tables but it ports QueryDefs to User Defined functions and not stored procedures. I was looking for a tool that scripts all queries and tables just as I do in SQL Enterprise Manager or even more like scptxfr.exe a command line tools in the SQL resource kit that I'm using to regulary script all my SQL databases. After searching the web for a while I couldn't find one and decided to write my own. This wsf script scripts all tables and QueryDefs in either one mdb files or all mdb files in a folder. It is currently in its first Beta version and I haven't done anything with the resulting scripts yet but I think its a good start.
Download the script...
Categories:
Tools
Related posts:
Changing the location of Windows Special Folders on the command line
A small tool to monitor Windows Scheduled Tasks
Multiple proofing languages in Office 2010
Work around Sysinternals license pop-ups
Access and backup the WSUS 3.0 database
4NT, my way to start applications
« Saving money thanks to some viruses
|
Home
|
My first look at Windows Vista »
All comments require the approval of the site owner before being displayed.
Name
E-mail
Home page
Remember Me
Comment (Some html is allowed:
a@href@title, b
) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.
Enter the code shown (prevents robots):
Live Comment Preview
Search
About the Author
Short biography
-
Contact Me
RSS/Subscribe
Categories
ASP.Net (25)
Community (4)
IT Pro (19)
Security (1)
SQL Server (3)
Tools (9)
Web (4)
Work on the road (11)
Archives
All dates
-
All Posts
Latest Posts
Windows Media Center tries to connect to missing Windows Home Server
Using the Google Custom Search API via jQuery
Changing the location of Windows Special Folders on the command line
Keylogger on Hostel computers
Manually installing Glimpse 0.82 for web forms
Return a limited but random selection of rows per category
Use the Glimpse beta with asp.net web forms
A small tool to monitor Windows Scheduled Tasks
A portable virtual Windows via Linux on a bootable USB drive
Categories
ASP.Net
Community
IT Pro
Security
SQL Server
Tools
Web
Work on the road
Archives
January, 2012 (2)
December, 2011 (2)
May, 2011 (4)
April, 2011 (1)
March, 2011 (1)
February, 2011 (1)
January, 2011 (2)
December, 2010 (1)
October, 2010 (1)
July, 2010 (2)
March, 2010 (4)
October, 2009 (3)
September, 2009 (1)
June, 2009 (3)
April, 2009 (1)
March, 2009 (1)
February, 2009 (1)
June, 2008 (1)
May, 2008 (1)
March, 2008 (1)
February, 2008 (1)
November, 2007 (1)
October, 2007 (2)
September, 2007 (1)
July, 2007 (2)
December, 2006 (4)
November, 2006 (2)
October, 2006 (1)
September, 2006 (2)
August, 2006 (4)
July, 2006 (9)
BlogRoll
Chris Sells
Clemens Vasters
Coding Horror
Dot Net Kicks
Leaning Into Windows
Least Privilege
Mark's Blog
MSDN
MSDN Magazine
Nikhil Kothari
Non-Admin
Onion Blog
Patterns and Practice
Scott Guthrie
Scott Hanselman
Windows Server Division