Passing variable to create table command

Is it possible to pass a varaiable to the create table command.
At each yearend we have to manually create copy tables of the years data these are held as table_name_2002 etc. The original table only holds the current years data. We would like to create a script to create all these, along the lines of
CREATE TABLE table_name_||'&year'
AS
SELECT * FROM table_name;
As his is run every year we would like to be able to run the same script, and just pass in the year each time.
however i cannot get this to work, is there another way round this?
Thanks

try this (assuming the year is passed in as the first runtime parameter):
CREATE TABLE table_name_&1.
AS
SELECT * FROM table_name;
otherwise if you do not want to work with runtime parameters you can do it like this so that v_year is only asked for once:
define vv_year="&v_year."
CREATE TABLE table_name_&vv_year.
AS
SELECT * FROM table_name;
or you can ask for it your self, which is probably the nicest way of dealing with it ;) :
accept v_year char prompt Please input the year:
CREATE TABLE table_name_&v_year.
AS
SELECT * FROM table_name;
HTH,
Lennert

Similar Messages

  • SQLPLUS define  variables for creating table.

    I am doing the following in SQLPLUS
    define l_date = to_char(sysdate,'yyyy')
    define l_name = "'mytable'"
    define l_tn = &l_name||&l_date
    SQL> select &l_name||&l_date from dual;
    old 1: select &l_name||&l_date from dual
    new 1: select 'mytable'||to_char(sysdate,'yyyy') from dual
    'MYTABLE'||
    mytable2010
    But when I use in this way I don't get YEAR.
    SQL> select '&l_tn' from dual;
    old 1: select '&l_tn' from dual
    new 1: select 'mytable' from dual
    'MYTABL
    mytable
    I want to create table in sqlplus using the following command:
    create table &l_tn(x number)
    Please let me know what I am doing wrong here.

    Hi,
    SQL functions (like TO_CHAR) and operators (like ||) are not executed in SQL*Plus commands (like DEFINE).
    Test your variables after defining them; you'll see what I mean
    define l_date = to_char(sysdate,'yyyy')
    PROMPT     &l_date = l_dateOutput:
    to_char(sysdate,'yyyy') = l_dateThat is, l_date is being set to a 23-character string, which starts with 't' and contains '(', ',' and ')', all of which are illegal in file names (probably; system-dependent).
    I think you wanted it set to a 4-character string, such as '2010'.
    Use the COLUMN ... NEW_VALUE (or ... OLD_VALUE) command to set a substitution variable to the results of a SQL calculation.
    I think you're trying to do something like this:
    COLUMN     year_col     NEW_VALUE     l_date
    SELECT     TO_CHAR (SYSDATE, 'YYYY')     AS year_col
    FROM     dual;
    define l_name = mytable
    CREATE TABLE  &l_name&l_date
    ...

  • Using Create table command in a Pl/Sql Anonymous Block

    Hi,
    I need to create a table dynamically based on the table_name and column_names that a user wants. When I use a Pl/sql Anonymous block to do this, it complains. Any suggestions ?
    Thanks,
    Marisa

    Personally this sounds like a bad design to me. I would say under most "normal" circumstances, you should not be creating tables on the fly. Especially one where a user has control over what columns,datatypes to use. Let a developer or dba take care of that.

  • SYS.DBMS_CDC_PUBLISH errors during create table command

    While trying to create tables I am getting the following errors.
    @dv001_bld_emp_profile.sql
    create table emp_profile_tbl (
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 326
    ORA-06512: at line 3
    I tried to reload the predefined Oracle packages by re-running the catproc.sql script but that had no effect.
    Can you help???

    I tried that but no luck yet, also tried put all in a single line, but the same error. It doesn't something tricky here, but actual problem with package. "ddl_markers" is new to 11g and not much documentation is available on that.
    Also setting ddl_markers=N removed 3 columns from Publisher table, and the effect of it on Subscriber's view is still a gray area,

  • Newbie needs help with passing variables or creating flash object based on parameters

    Hello Community,
    I'm an amateur developer of Ms Access databases. In one of my applications I want to visualize the options available when reaching a certain score.
    What I'd like to get from this trial period, is a flash animation of a dartboard. Depending on an array of variables that provides the fill color (or reference thereof) the layers of the flash object will be dynamicly created, altered, or switched. The dartboard itself remains "static". I'm hoping to use 9 colors.
    I can manipulate the array any way needed. I can provide XML coding to pass the array variables. I'm just too new and untrained to incorporate this in a Edge animation or Dreamweaver.
    There is no need for interaction, once the object is created (ie no user feedback).
    Can someone point me in the right direction?
    thanks in advance,
    Jay from Stockholm

    Hi,
    I see you're using System.Data.OracleClient (which has been deprecated by MS) rather than Oracle.DataAccess.Client, but this works for me with Oracle's ODP, maybe it will help.
    Cheers,
    Greg
    using System;
    using System.Data;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    public class dataadapterfill
        public static void Main()
            using(OracleConnection con = new OracleConnection("user id=scott;password=tiger;data source=orcl"))
                con.Open();
                using(OracleCommand cmd = new OracleCommand("select ename from emp where ename = :1", con))
                    cmd.Parameters.Add(new OracleParameter("myename", OracleDbType.Varchar2, 50)).Value = "KING";
                    OracleDataAdapter da = new OracleDataAdapter(cmd);
                    DataSet ds = new DataSet();
                    da.Fill(ds);
                    foreach (DataRow row in ds.Tables[0].Rows)
                        Console.WriteLine("ename: {0}", row["ename"]);
    }

  • Randomly generate an ID for SQL Create Table command

    Hi,
    I need help to randomly generate an integer, which i can use as a primary key for the ID of a table field. I have no idea how to do this so that it generates a different number every single time.
    Right now it just increments the ID by 1. Maybe, is there a way to get the last ID value of the table field and then increment starting from that one? thanks

    Your analysis is flawed! One of my main reasons for
    doing this is to reduce the load on the db server. I
    don't have to go to the db to get an id every time I
    need one. Every now and again (usually less than one
    in a 2000) I have to repeat an insert operation.
    You already stated that this was the reason, so I used that as part of my assessment. With most, perhaps all databases, the ability to increment a key is done as part of the insert operation. It requires no additional 'trip' to the database to get the ID. There is so much wrong with your idea, I hardly know where to start. I wouldn't be so firm except you stated that you do this all the time. Even using it once is very questionable I wouldn't want this idea to profilerate to other peoples systems without comment.
    You also said:
    On one project I was having to place usage transaction records
    into a database with each one needing an ID. I started using your
    technique but it was taking almost as much time as the insert of
    each transaction into the database.I agree, and I think dcminter agreed that there are less expensive practices then max(fld)+1 which are in fact using the vendor specific capabilities. However, if this was taking as long as your insert, there was probably something else wrong. For example, if the field you are getting the max value for isn't indexed, or isn't the first field in a contatenated index (an index of multiple fields), then some databases (there are exceptions like redbrick) will require either a full table scan, an index scan or an ackward index lookup to give back the max value. It shouldn't be that way, but it is and you have undestand how your database is resolving max() in order to make the best decisions.
    I stand by analysis and I would suggest that rather then use your method "all the time" that you save it for that unusual situation where nothing else will work for you.

  • How to create table with variable

    hi,
    i m to create many table with same starting name but last name would be vary like
    i m to create table test121 and test122 and so on
    i want to set name test then any given number by variable so i can create many table.
    so how to add it in create table command.
    i tried create table test||:var (column names) but it didnt work.
    so plz suggest me how to do it ?
    thxs

    Actually this is good.
    It has nothing to do with database design. A database is not a garbage bin.
    You need to do several things
    a) make sure your design is normalized so you don't have identical tables.
    b) In future posts specify a platform and a version and the tool you are using to create the table
    c) if the tool is sql*plus learn about substitution variables aka DEFINEs.
    Sybrand Bakker
    Senior Oracle DBA

  • Passing variables to CONNECT command

    I am on Oracle 8.1.6.
    Here is my incomplete sample code :
    set serveroutput on
    var passw varchar2(200);
    define login = 'CDM1';
    DECLARE
    sql_stmt VARCHAR2(200);
    emp_schema varchar2(10) := 'CDM1';
    emp_passw varchar2(10) ;
    BEGIN
    :passw := aps_sec_pkg.get_pw('cdm1');
    dbms_output.put_line ('password is --'||:passw);
    emp_passw := :passw;
    dbms_output.put_line ('password is --'||:passw);
    END;
    How do pass variables to the CONN command so that
    conn $emp_schema/$emp_passw
    will work.
    Define command does not accept variables.
    How can I accomplish this ?

    There's probably an easier way but here's what occured to me...
    variable schema_bind varchar2(10);
    exec :schema_bind := 'MY_SCHEMA';
    column schema new_value schema_var;
    select :schema_bind as schema from dual;
    prompt &&schema_var;Richard

  • Pro*C unconsistency handling create table

    Hi,
    I'm using Pro*C to connect to database and to execute a series of creating table commands from a C++ program on a Sun Solaris. Sometime the tables are created and sometime they are not, some other times only some of the tables are created. I suspect that it has someting to do with threading in Oracle. I would appreciate any information in light of this behavior. There are no errors concerning space, tablespace, redo_log...or any issue with performance that I can see of.
    Thanks
    Gina Nguyen

    Have you given the EXEC SQL WHENEVER SQLERROR clause to trap errors (or are you checking the
    sqlca.sqlcode variable to see for errors after each SQL statement)?
    Check to make sure that you do not have EXEC SQL WHENEVER SQLERROR CONTINUE clause somewhere in
    your program.

  • Create table error

    hi
    While creating table (only structure) i m gettting this error
    ERROR at line 2:
    ORA-01401: inserted value too large for column
    ON CUSVAA (INST_NO,
    ERROR at line 2:
    ORA-00942: table or view does not exist
    i m only creating structure not inserting any thing.... this scripts contains
    create table command
    and create index command..
    second error i can understand but i m totaly confused with ora 01401 i m not inserting any thig though it is giving me this error..
    please help

    Try creating the table with the following
    CREATE TABLE CUSVAA
    (CODE CHAR (2) DEFAULT 00,
    DELI CHAR (1) DEFAULT 0,
    INST_NO CHAR (3) NOT NULL,
    CUST_NO CHAR (16) NOT NULL,
    RECNO CHAR (4) NOT NULL,
    TITLE_CODE CHAR (2) DEFAULT (LPAD(CHR(0),002,CHR(0))),
    NAME1 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
    NAME2 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
    NAME3 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
    ADD1 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
    ADD2 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
    ADD3 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
    ADD4 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
    POSTCODE CHAR (10) DEFAULT (LPAD(CHR(0),010,CHR(0))),
    PHONE_NO_RES CHAR (12) DEFAULT (LPAD(CHR(0),012,CHR(0))),
    PHONE_NO_BUS CHAR (12) DEFAULT (LPAD(CHR(0),012,CHR(0))),
    FAX_NO CHAR (12) DEFAULT (LPAD(CHR(0),012,CHR(0))),
    TELEX_NO CHAR (12) DEFAULT (LPAD(CHR(0),012,CHR(0))),
    EFFE_DATE NUMBER (9) DEFAULT (0),
    EXPI_DATE NUMBER (9) DEFAULT (0),
    CITY_CODE CHAR (4) DEFAULT (LPAD(CHR(0),004,CHR(0))),
    LAST_MAINT_DATE NUMBER (9) DEFAULT (0))
    PCTFREE 005
    PCTUSED 090
    INITRANS 5
    STORAGE (
    PCTINCREASE 0
    TABLESPACE USERS
    CREATE UNIQUE INDEX CUSVAAPK
    ON CUSVAA (INST_NO,
    CUST_NO,
    RECNO)
    PCTFREE 005
    INITRANS 5
    STORAGE (
    PCTINCREASE 0
    TABLESPACE USERS
    The specification of the defaults for the first two columns were changed
    Regards

  • Create table based on previous desc

    hey,
    i'm trying to create a few tables based on a desc i recieved
    Name Type Nullable Default Comments
    SUBSCR_NO NUMBER(10)
    SUBSCR_NO_RESETS NUMBER(6)
    is there an automatic way to do it or iether i have to use the create table command and modfy it according to specifications in the desc?

    Name                                      Type          Nullable    Default    Comments
    SUBSCR_NO                             NUMBER(10)                                
    SUBSCR_NO_RESETS                      NUMBER(6)                                 
    ACCOUNT_NO                            NUMBER(10)                     1           
    RANGE_MAP_EXTERNAL_ID                 VARCHAR2(30)   Y                            
    PARENT_ACCOUNT_NO                     NUMBER(10)      Y                            
    CURRENCY_CODE                         NUMBER(6)                      0Edited by: BluShadow on 20-Nov-2012 11:11
    added {noformat}{noformat} tags to help formatting.  Please read {message:id=9360002} and learn to do this yourself.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • ORA-00911 w/create table

    I'm trying to execute an SQL file with the following code:
    create table "t_ap_xml"
    "XML_ID" NUMBER,
    "XML_NAME" VARCHAR2(128),
    "XML_TYPE" VARCHAR(32),
    "XML_CONTENT" "SYS"."XML_TYPE",
    "XML_DESCRIPTION" VARCHAR2(4000)
    ..And i'm receiving the following error:
    ERROR at line 8:
    ORA-00911: invalid character
    It is pointing to the semicolon as the problem. If i remove the semicolon, it seems to work. But if I place that code in a DDL with other create table commands, it gives me a ORA-00922 error at the line with the next create statement. Any ideas? Thanks.

    I guess I should have been a bit more clear..
    I am using SQL*Plus, and GET-ing a text .sql file made in a text editor.
    It seems to work without the semicolon and only creating that single table. However, a problem occurs when trying to use multiple CREATE TABLE statements in the same sql file.
    So for example.. here is an excerpt:
    create table t_ap_xml
    create table another_table
    Generates the following error:
    ORA-00922: missing or invalid option
    ..That error occurs on the line in which the second CREATE TABLE statement was issued.
    Thanks for any help!

  • Creating Tables with a Script

    I am trying to create tables using a script, but it seems like consecutive statments in the script will not execute --- can anyone tell me what syntax I need to use?
    Here is my script - I am using SQL-Plus:
    CREATE TABLE regions
    ( region_id NUMBER
    CONSTRAINT region_id_nn NOT NULL
    , region_name VARCHAR2(25)
    CREATE TABLE countries
    ( country_id CHAR(2)
    CONSTRAINT country_id_nn NOT NULL
    , country_name VARCHAR2(40)
    , region_id NUMBER
    , CONSTRAINT country_c_id_pk
         PRIMARY KEY (country_id)
    ORGANIZATION INDEX
    Here is what I key in:
    SQL> get c:\oracle\test.txt
    Here is the error that comes out:
    1 CREATE TABLE regions
    2 ( region_id NUMBER
    3 CONSTRAINT region_id_nn NOT NULL
    4 , region_name VARCHAR2(25)
    5 )
    6 CREATE TABLE countries
    7 ( country_id CHAR(2)
    8 CONSTRAINT country_id_nn NOT NULL
    9 , country_name VARCHAR2(40)
    10 , region_id NUMBER
    11 , CONSTRAINT country_c_id_pk
    12 PRIMARY KEY (country_id)
    13 )
    14* ORGANIZATION INDEX
    15 run;
    CREATE TABLE countries
    ERROR at line 6:
    ORA-00922: missing or invalid option
    If I trim down the script - to just 1 create table command, no semi-colons, it works:
    Script:
    CREATE TABLE regions
    ( region_id NUMBER
    CONSTRAINT region_id_nn NOT NULL
    , region_name VARCHAR2(25)
    Key in:
    SQL> get c:\oracle\test.txt
    1 CREATE TABLE regions
    2 ( region_id NUMBER
    3 CONSTRAINT region_id_nn NOT NULL
    4 , region_name VARCHAR2(25)
    5* )
    SQL> run;
    Recieve:
    1 CREATE TABLE regions
    2 ( region_id NUMBER
    3 CONSTRAINT region_id_nn NOT NULL
    4 , region_name VARCHAR2(25)
    5* )
    Table created.
    adding a semicolon between the create table statements doesn't solve this issue - does anyone have any ideas?
    Thanks,
    -Tom

    try using a file that ends with .sql instead of .txt
    and use a semi -colon
    CREATE TABLE regions
    ( region_id NUMBER
    CONSTRAINT region_id_nn NOT NULL
    , region_name VARCHAR2(25)
    CREATE TABLE countries
    ( country_id CHAR(2)
    CONSTRAINT country_id_nn NOT NULL
    , country_name VARCHAR2(40)
    , region_id NUMBER
    , CONSTRAINT country_c_id_pk
    PRIMARY KEY (country_id)
    Consider using a spool file so you can check for errors at the end.
    Or you can use a template like this:
    -- 0 ---------------------------------------------------------------------------------------------
    PROMPT
    PROMPT REGIONS
    PROMPT
    ---------------------------------------------------------------------------------------------------|
    -- CREATE SECTION-------------------------------------------------------------------------------|
    ---------------------------------------------------------------------------------------------------|
    CREATE TABLE REGIONS
    ( REGION_ID NUMBER
    CONSTRAINT REGION_ID_NN NOT NULL
    , REGION_NAME VARCHAR2(25)
    -- INDEXES ----------------------------------------------------------------------------------------
    -- SYNONYMS ---------------------------------------------------------------------------------------
    CREATE OR REPLACE PUBLIC SYNONYM REGIONS FOR REGIONS ;
    -- GRANTS -----------------------------------------------------------------------------------------
    GRANT SELECT ON REGIONS TO SCOTT;

  • Passing variable having value as whole SOAP request to command while invoking ODI WS call

    When passing variable in place of soap request message (variable value is whole SOAP request message prepared using procedure) in ODI Invoke WebService command like -->
    OdiInvokeWebService "-URL=url...." "-PORT_TYPE=..." "-OPERATION=..." "-RESPONSE_MODE=NEW_FILE" "-RESPONSE_FILE_CHARSET=UTF8" "-RESPONSE_XML_ENCODING=UTF-8" "-RESPONSE_FILE=..." "-RESPONSE_FILE_FORMAT=SOAP" "-HTTP_USER=..." "-HTTP_PASS=..."
    #SOAPREQUESTMESSAGE
    Gives error :
    ODI-1226: Step OdiInvokeWebService 1 fails after 1 attempt(s).
    ODI-1241: Oracle Data Integrator tool execution fails.
    Caused By: com.sunopsis.wsinvocation.SnpsWSInvocationException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '#' (code 35) in prolog; expected '<'
    at [row,col {unknown-source}]: [1,1]
        at com.sunopsis.wsinvocation.client.impl.AbstractMessageImpl.loadFromXML(AbstractMessageImpl.java:333)
        at com.sunopsis.wsinvocation.client.impl.AbstractMessageImpl.loadFromString(AbstractMessageImpl.java:348)
        at com.sunopsis.wsinvocation.client.impl.AbstractMessageImpl.fromString(AbstractMessageImpl.java:403)
        at com.sunopsis.wsinvocation.client.impl.AbstractJWSDLParserImpl.fromXML(AbstractJWSDLParserImpl.java:272)
        at com.sunopsis.wsinvocation.client.impl.AbstractJWSDLParserImpl.getWebServiceRequestByOperation(AbstractJWSDLParserImpl.java:260)
        at com.sunopsis.dwg.tools.common.WebserviceUtils.getSOAPMessage(WebserviceUtils.java:94)
        at com.sunopsis.dwg.tools.common.WebserviceUtils.invoke(WebserviceUtils.java:138)
        at com.sunopsis.dwg.tools.InvokeWebService.actionExecute(InvokeWebService.java:327)
        at com.sunopsis.dwg.function.SnpsFunctionBase.execute(SnpsFunctionBase.java:276)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java:3437)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeOdiCommand(SnpSessTaskSql.java:1509)
        at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:44)
        at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:1)
        at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
        at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
        at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
        at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
        at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
        at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
        at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
        at java.lang.Thread.run(Thread.java:662)
    Thanks in anticipation...

    the used variable 'SOAPREQUESTMESSAGE' is being created in a procedure using jython.
    1. Can we use this variable (SOAPREQUESTMESSAGE) value in the next step that is while invoking web service request (can it persist) ?
    2. If not then how can we use this variable value to invoke ws request in next step ?
    Would like to appreciate help.
    Pls reply.

  • Passing value to bind variable of another table from one table

    hi,
    I have a multi select table. When one row is selected from this table (no button is clicked, only selection is done), an attribute from that selected row (say userid) should be passed to the bind variable of another table and the corresponding details of that particular userid should be displayed in the other table. When more than one row is selected, the other table should display no rows.
    My main problem is what code has to be written to pass value to bind variable and where it should be written.
    Please give me a detailed explaination as soon as possible.
    Thank you.

    Sorry, didnot add this. The table is multi select table.

Maybe you are looking for

  • How many install's.

    HI YA how many times can i copy logic 8 on different computers.I have 2 macs you see and want to no how many times i can copy logic 8 onto different macs.Plus if it got deleted of the hard drive if i could install it again without using up its instal

  • Zooming in on portion of clip (person) smoothly?

    As most of you know already I am working on a highlight video for a college football player.  I am trying to zoom in on this player at the end of a particular play - when the camera actually follows a different player in the opposite direction. I sea

  • Cannot assign operations into an RPC Service (x)

    I've been running a flex application for years now, and added a couple lines of code to it and all of a sudden started getting "Cannot assign operations into an RPC Service (x)" and "Cannot assign operations into an RPC Service (y)" out of no where. 

  • How does one make very large brush strokes of several inches wide. I could do this in the previous version of Apurture.

    I just upgraded my Aperture app but now it will not allow me to make inches wide brush strokes when I need to lighten, darken or other adjustments. In the previous version I could make inches wide adjustments. I really need to do this again. How can

  • Error -2147418113 when connecting with SQL toolkit

    I have no trouble connecting with DBConnect( ) to an Access database.  However, when I try to connect to an Oracle database (Oracle73 driver), I get error -2147418113 "Catastrophic failure".  Any ideas?  Thanks.