Hi.
We just switched from Oracle to Access. Does anyone know how to load SQL
files directly into Access through a DOS command line statement?
Whoa! Hold your horses. Oracle scripts are incompatible with Jet, Access's
database engine, so you can do this the hard way or the easy way. An
experienced Oracle DBA can set up this data load in minutes for a one-time
migration or for recurring uploads of data into the Jet tables. Or it could
take an inexperienced person a month or more to (maybe) get it right.
Please tell us your circumstances in what has brought this Oracle-to-Access
switch on, because database experts will tell you that this rarely a good
idea. If the answer is, "Oracle is too expensive to license," then Oracle
offers a free solution, Oracle Express (if your data is 4 GB or less), where
you can store all of your existing schemas, tablespaces, stored procedures,
data, et cetera, without having to alter what you currently have, so you
won't lose your previous investments in Oracle. You can download Oracle
Express from the following Web page:
http://www.oracle.com/technology/products/database/xe/index.html
Or, if you just need a user-friendly application to access the data in the
tables and you don't have the time or expertise to use Oracle developer
tools, then you could keep the schemas, data, et cetera, where they are in
the Oracle tables (back end) and build the interface (front end) with Access
or some other development environment, such as VB, Java, VB.Net, C#, et
cetera.
And please tell us your situation, such as whether you have an Oracle DBA
available and, if not, why not -- perhaps he's coming back soon? -- and your
own skill set and skill level, whether you still have the Oracle instance
running, where the data is located (Oracle tables, export files, SQL
scripts), whether this is a one-time migration or a recurring upload, whether
you have TOAD installed, and what types of Oracle script files you have,
because Oracle script files are designed to work with various Oracle tools.
The scripts can be SQL*Plus scripts to spool the results of dynamic SQL into
a file containing the individual SQL INSERT statement for each record, or the
file containing the actual SQL statements, or par files, or dump files, or
PL/SQL stored procedures, so you definitely need to know which is which, and
what you actually have.
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact info.