Problem in Creating Table using DB Config. Assistant

Hi, everybody. I see the error messages below when I use DB Configuration Assitant in Oracle 8i to create my database :-
ORA-01034 : Oracle not available
ORA-27146 : post/wait initializtion failed
ORA-01012 : not logged on
Can u tell me how to solve this problem ?

Connect as servermanager and enter on the prompt
"lsnrctl status" it will give you whether you have started the listener service and after that connect as internal and "startup" if the database is started it will give message "database instance already started" or else it will start the database.
also make sure you have created all control files properly
Nadeem

Similar Messages

  • Logical error in creating tables using db link in solaris

    Hi,
    While creating table using the syntax create table newtab...as select * from tab@dblink .. I am facing a problem. The newtab table created is having a structure different (from datalength point of view of varchar2 and char datatypes) from the source. The data length is getting tripled i.e. if a column a is varchar2(20) in tab then it is becoming --- a varchar2(60) in newtab. This is happening in solaris environment when the two databases are in 2 different servers. Please let me know if there are any patches to resolve the problem.
    Thanks
    Arnab

    ORA-02019: connection description for remote database not foundHave you used this database link successfully for some other queries?
    The error posted seems to indicate that the DB Link is not functional at all. Has it worked for any other type of DML operation or is this the first time you ever tried to use the link?

  • How to create table using Procedure

    Hi,
    I want to create table using procedure .
    How to write procedure for the table creation?
    thanks in advance.

    Use dynamic sql or DBMS_UTILITY.EXEC_DDL_STATEMENT:
    SQL> desc tbl1
    ERROR:
    ORA-04043: object tbl1 does not exist
    SQL> begin
      2      execute immediate 'create table tbl1(x number)';
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> desc tbl1
    Name                                      Null?    Type
    X                                                  NUMBER
    SQL> drop table tbl1
      2  /
    Table dropped.
    SQL> begin
      2      DBMS_UTILITY.EXEC_DDL_STATEMENT('create table tbl1(x number)');
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> desc tbl1
    Name                                      Null?    Type
    X                                                  NUMBER
    SQL>  SY.

  • Problem while creating table dynamically using stored procedure

    Hi all
    When i try to execute the following lines get insufficient privilege error.
    FYI: i m able to create table statically.(i.e without using stored procedure)
    CREATE OR REPLACE PROCEDURE pcalling IS
    str varchar2(60);
    BEGIN
    str:='create table t15(tno number,tname varchar2(5))';
    execute immediate str;
    END;
    Thanks in advance
    Satya

    hi
    SQL> CREATE OR REPLACE PROCEDURE runddl (ddl_in in VARCHAR2)
      2     AUTHID CURRENT_USER
      3  IS
      4  BEGIN
      5     EXECUTE IMMEDIATE ddl_in;
      6  END;
      7  .
    SQL> /
    Procedure created.AUTHID CURRENT_USER clause before the IS keyword which runddl executes, it should run under the authority of the invoker, or current user not the authority of the definer.
    if you omit it then it will no longer will be run if the creator doesnt have privelege to run this ddl regardless invoker has or not.
    i hope you got it
    Khurram Siddiqui
    [email protected]

  • Problem in creating table maintenance generator for 61 fields in table

    Hi Experts,
    I am facing problem in creating a table maintenance genarator for a ZTABLE which has 61 fields
    i am using below details whicle creating the TMG
    in Maintenance screen
    i am giving maintenance type as two step
    Maint screen no overview screen 2
                              single screen        3
    Dialog Data Transport details
    Recording routine    standard recording routine
    but it is giving following error
    screen SAPL<ZTABLE NAME>    0003 could not be generated
    In DYNPFIELD_ATTR mandatory field LINE has no value
    please let me know how to sort out these errors.
    Is there any limit on the number of fields for which we can create table maintenance generetor.
    Thanks a lot in advance
    Sudipto

    Hi Sudipto,
    There is not limit to the number of fields of the Table which can be used in TMG for generation. But, from the usability point of view this will horrible.
    I created a Z table and added 64 fields and was able to generate the TMG with the screens perfectly. So, I guess there should not be any problem.
    Well, have a look at the Function Group. I guess the screen numbers are already used by some other screens. You can set the system to propose freely available screen numbers from the pool.
    Also, check whether proper authorization is assigned or not.
    And if nothing is working, you can degenerate all the generated screens and then can have a new regeneration of it.
    Hope these tips will work.
    Thanks,
    Samantak

  • Problem while creating PO using BAPI_PO_CREATE1

    HAI TO ALL
    I AM TRYING TO CREATE PO USING BAPI
    ORDER IS SUCCESFULLY GENERATED, BUT THE CONDITIONS WHATEVER I PASS IS ARE REPEATING ,
    EVEN WE CONFIGURED DEFAULT VALUES MAINTAINED IN TRANSCTION 'OMFI" AND MAINTAINED Default Values for Purchasing FOR PARAMETER IN PARAMETER TAB IN USER PROFILE,
    HELP ME...
    REGARDS,
    SN

    Hi Sid.
    I'm having this same problems on creating PO Service. Did you solve it? How did you do that?
    I'm using a PR and the Category is 'Y', and I cant find where is the problem.
    The tables that I'm passing to the BAPI_PO_CREATE1 are:
    POITEM/ POITEMX
    POACCOUNT/ POACCOUNTX
    POSERVICES
    POSRVACCESSVALUES
    Please, if you have any idea, let me know!
    Tks a lot!
    Renata

  • Trying to create table using Union All Clause with multiple Select stmts

    The purpose of the query is to get the Substring from the value for eg.
    if the value is *2 ASA* then it should come as ASA
    where as if the value is *1.5 TST* the it sholud come as TST like wise for others too.
    I am trying to execute the below written SQL stmt but getting error as:
    *"ORA-00998 must name this expression with the column alias 00998.00000 - Must name this expression with the column alias"*
    CREATE TABLE TEST_CARE AS
    SELECT row_id, old_care_lvl,SUBSTR(old_care_lvl,3), len FROM test_care_lvl
    WHERE LENGTH(old_care_lvl) =5
    UNION ALL
    SELECT row_id, old_care_lvl,SUBSTR(old_care_lvl,3), len FROM test_care_lvl
    WHERE LENGTH(old_care_lvl) =7
    UNION ALL
    SELECT row_id, old_care_lvl,SUBSTR(old_care_lvl,3), len FROM test_care_lvl
    WHERE LENGTH(old_care_lvl) =14
    UNION ALL
    SELECT row_id, old_care_lvl,SUBSTR(old_care_lvl,3),LEN FROM test_care_lvl
    WHERE LENGTH(old_care_lvl) =7 AND old_care_lvl ='Regular'
    I want to create the table using the above given multiple select using the Union ALL clause but when trying to create run the query getting error as "ORA-00998 must name this expression with the column alias 00998.00000 - Must name this expression with the column alias"
    Please guide me how to approach to resolve this problem.
    Thanks in advance.

    When you create a table using a SELECT statement the column names are derived from the SELECT list.
    Your problem is that one of your columns is an expression that does not work as a column name SUBSTR(old_care_lvl,3)What you need to do is alias this expression and the CREATE will pick up the alias as the column name, like this:
    CREATE TABLE TEST_CARE AS
    SELECT row_id, old_care_lvl,SUBSTR(old_care_lvl,3) column3, len FROM test_care_lvl
    WHERE LENGTH(old_care_lvl) =5
    UNION ALL
    SELECT row_id, old_care_lvl,SUBSTR(old_care_lvl,3), len FROM test_care_lvl
    WHERE LENGTH(old_care_lvl) =7
    UNION ALL
    SELECT row_id, old_care_lvl,SUBSTR(old_care_lvl,3), len FROM test_care_lvl
    WHERE LENGTH(old_care_lvl) =14
    UNION ALL
    SELECT row_id, old_care_lvl,SUBSTR(old_care_lvl,3),LEN FROM test_care_lvl
    WHERE LENGTH(old_care_lvl) =7 AND old_care_lvl ='Regular'
    );You may not like the name "column3" so use something appropriate.

  • Create Tables using sql.

    Hi Dear;
    can i create tables from SQL enterprise manager and not from SAP-BO without having problem in the upgrade?
    thank you Dear.

    Hi Adele,
    I never heard that there is any issue with additional / custom tables in a B1 <b>company</b> database.
    For certification there is no issue with that - except that you must use your SAP namespace also for these tables.
    For your reference I add here the current links to the page about Solution Certification (B1-SDK) + the Test Plan - which lists all requirements:
    B1-SDK: SAP BUSINESS ONE ADD-ON SOLUTION CERTIFICATION  (B1-SDK) [original link is broken]
    Test Plan: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/81a22ee1-0701-0010-45aa-ec852e882de3
    Regards,
    Frank
    Message was edited by: Frank Moebius
    PS: Adding tables to SBO-Common is a different game though since it is not expected that a partner adds tables there and <u>eventually</u> additional tables there might get removed during upgrades.
    If you have a need for additional data storage across all companies, please create a dedicated database for that purpose.

  • Problems when creating form using wizard

    i use the data block wizard to create a form but one of my field, i use a radio button.in the layout editor, the radio button did not appear.how can i make it appear on my screen?
    i have another problem.
    how can i use the colunm of two tables when using data block wizard to create one data block?

    Hello Nicky,
    You can place the "Signature Field" in the form and ask your users to sign the file before submitting it via email.
    Regards,
    Anoop

  • Performance problem while creating table at runtim

    I have pl/sql block like
    Begin
    Exceute immediate 'drop table x '
    Execute immediate 'create table x as select .... stament (complex select by joining 7-8 tables);
    Execute immediate ('create index ind1 on table x'); -- i am not writing the full syntax
    End;
    The select statement used in create table is fetching 10 millions of rows (approx).
    The above pl/sql block is taking 30-45 minutes.
    Without going in depth of query used in select (as i have to explain the functionality otherwise),
    Could any one please suggest to create a table in fatset way like nolooging or seperate tablespace with bigger block size or any change in any DB parameter etc.
    The db server is having excelent hardware configuration 32GB ram , multi CPU (16 CPUs) , Huge hardisk.
    Thanks

    CREATE OR REPLACE VIEW VW_CUST_ACCT_BUS_REQ AS
    SELECT FC.V_CUST_NUMBER,
    FC.V_ACCT_NUMBER,
    FC.V_ACCT_CUST_ROLE_CODE
    from Fct_Acct_Cust_Roles FC --current schema table
    join dim_jurisdiction DC on DC.V_JURISDICTION_CODE = FC.V_SRC_CNTRY_CODE
    JOIN VW_APPLN_PARAMS APP ON APP.V_PARAM_CATEGORY = 'KYC'
    AND APP.V_PARAM_IDENTIFIER =
    'KYC_PROCESSING_DATE'
    AND APP.N_CNTRY_KEY = DC.N_JURISDICTION_KEY
    AND FC.FIC_MIS_DATE = APP.d_Param_Date
    UNION
    SELECT BUS_CUST_ACCT.CUST_INTRL_ID,
    BUS_CUST_ACCT.ACCT_INTRL_ID,
    BUS_CUST_ACCT.CUST_ACCT_ROLE_CD
    FROM BUS_CUST_ACCT --another schema's table containing rows in millions.
    --Can you tell me any other method to acheive the above select
    CREATE TABLE vw_kyc_dr_ip as
    SELECT FCU.V_SRC_CNTRY_CODE JRSDCN_CD,
    FCU.V_CUST_NUMBER v_cust_id,
    FACRS.V_CUST_NUMBER v_ip_cust_id,
    ROLS.F_CONTROLLING_ROLE f_cntrl_role
    FROM VW_CUST_BUS_REQ FCU -- This is another Mview it contains data approx 50,000
    JOIN VW_CUST_ACCT_BUS_REQ FACR/* see above view definition, contains rows in millions */ ON FCU.V_CUST_NUMBER = FACR.V_CUST_NUMBER
    JOIN VW_CUST_ACCT_BUS_REQ FACRS ON FACR.V_ACCT_NUMBER = FACRS.V_ACCT_NUMBER
    JOIN DIM_ACCT_CUST_ROLE_TYPE ROLS ON ROLS.V_ACCT_CUST_ROLE_CODE =FACRS.V_ACCT_CUST_ROLE_CODE
    UNION
    (SELECT FCU.V_SRC_CNTRY_CODE JRSDCN_CD,
    FCU.V_CUST_NUMBER v_cust_id,
    FCR.V_RELATED_CUST_NUMBER v_ip_cust_id,
    'N' f_cntrl_role
    FROM VW_CUST_BUS_REQ FCU
    JOIN VW_CUST_CUST_BUS_REQ FCR ON FCU.V_CUST_NUMBER =
    FCR.V_CUST_NUMBER
    JOIN VW_APPLN_PARAMS P ON P.V_PARAM_IDENTIFIER = 'KYC_PROCESSING_DATE'
    AND P.V_PARAM_CATEGORY = 'KYC'
    AND FCR.D_RELATIONSHIP_EXPIRY_DATE >=
    P.D_PARAM_DATE
    JOIN DIM_JURISDICTION ON DIM_JURISDICTION.N_JURISDICTION_KEY =
    P.N_CNTRY_KEY
    AND DIM_JURISDICTION.V_JURISDICTION_CODE =
    FCU.V_SRC_CNTRY_CODE
    MINUS
    SELECT DISTINCT FCU.V_SRC_CNTRY_CODE JRSDCN_CD,
    FCU.V_CUST_NUMBER v_cust_id,
    FACRS.V_CUST_NUMBER v_ip_cust_id,
    'N'
    FROM VW_CUST_BUS_REQ FCU
    JOIN VW_CUST_ACCT_BUS_REQ FACR ON FCU.V_CUST_NUMBER =
    FACR.V_CUST_NUMBER
    JOIN VW_CUST_ACCT_BUS_REQ FACRS ON FACR.V_ACCT_NUMBER =
    FACRS.V_ACCT_NUMBER
    JOIN DIM_ACCT_CUST_ROLE_TYPE ROLS ON ROLS.V_ACCT_CUST_ROLE_CODE =
    FACRS.V_ACCT_CUST_ROLE_CODE
    AND ROLS.F_CONTROLLING_ROLE = 'Y'
    UNION
    (SELECT FCU.V_SRC_CNTRY_CODE JRSDCN_CD,
    FCU.V_CUST_NUMBER v_cust_id,
    FCR.V_CUST_NUMBER v_ip_cust_id,
    'N' f_cntrl_role
    FROM VW_CUST_BUS_REQ FCU
    JOIN VW_CUST_CUST_BUS_REQ FCR ON FCU.V_CUST_NUMBER =
    FCR.V_RELATED_CUST_NUMBER
    JOIN VW_APPLN_PARAMS P ON P.V_PARAM_IDENTIFIER = 'KYC_PROCESSING_DATE'
    AND P.V_PARAM_CATEGORY = 'KYC'
    AND FCR.D_RELATIONSHIP_EXPIRY_DATE >=
    P.D_PARAM_DATE
    JOIN DIM_JURISDICTION ON DIM_JURISDICTION.V_JURISDICTION_CODE =
    FCU.V_SRC_CNTRY_CODE
    AND DIM_JURISDICTION.N_JURISDICTION_KEY =
    P.N_CNTRY_KEY
    MINUS
    SELECT DISTINCT FCU.V_SRC_CNTRY_CODE JRSDCN_CD,
    FCU.V_CUST_NUMBER v_cust_id,
    FACRS.V_CUST_NUMBER v_ip_cust_id,
    'N'
    FROM VW_CUST_BUS_REQ FCU
    JOIN VW_CUST_ACCT_BUS_REQ FACR ON FCU.V_CUST_NUMBER =
    FACR.V_CUST_NUMBER
    JOIN VW_CUST_ACCT_BUS_REQ FACRS ON FACR.V_ACCT_NUMBER =
    FACRS.V_ACCT_NUMBER
    JOIN DIM_ACCT_CUST_ROLE_TYPE ROLS ON ROLS.V_ACCT_CUST_ROLE_CODE =
    FACRS.V_ACCT_CUST_ROLE_CODE
    AND ROLS.F_CONTROLLING_ROLE = 'Y'
    Kindlt advice me on technical side , i think it is difficult to make you understand functionality.

  • Create Table using DBMS_SQL package and size not exceeding 64K

    I have a size contraint that my SQL size should not exceed 64K.
    Now I would appriciate if some one could tell me how to create a table using
    Dynamic sql along with usage of DBMS_SQL package.
    Brief Scenario: Users at my site are not given permission to create table.
    I need to write a procedure which the users could use to create a table .ALso my SQL size should not exceed 64K. Once this Procedure is created using DBMS_SQL package ,user should pass the table name to create a table.
    Thanks/

    "If a user doesn't have permission to create a table then how do you expect they will be able to do this"
    Well, it depends on what you want to do. I could write a stored proc that creates a table in my schema and give some other user execute privilege on it. They would then be able to create a able in my schema without any explicitly granted create table privilege.
    Similarly, assuming I have CREATE ANY TABLE granted directly to me, I could write a stroe proc that would create a table in another users schema. As long as they have quota on their default tablespace, they do not need CREATE TABLE privileges.
    SQL> CREATE USER a IDENTIFIED BY a
      2  DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp;
    User created.
    SQL> GRANT CREATE SESSION TO a;
    Grant succeeded.
    SQL> CREATE TABLE a.t (id NUMBER, descr VARCHAR2(10));
    CREATE TABLE a.t (id NUMBER, descr VARCHAR2(10))
    ERROR at line 1:
    ORA-01950: no privileges on tablespace 'USERS'So, give them quota on the tablespace and try again
    SQL> ALTER USER a QUOTA UNLIMITED ON users;
    User altered.
    SQL> CREATE TABLE a.t (id NUMBER, descr VARCHAR2(10));
    Table created.Now lets see if it really belongs to a:
    SQL> connect a/a
    Connected.
    SQL> SELECT table_name FROM user_tables;
    TABLE_NAME
    T
    SQL> INSERT INTO t VALUES (1, 'One');
    1 row created.Yes, it definitely belongs to a. Just to show that ther is nothing up my sleeve:
    SQL> create table t1 (id NUMBER, descr VARCHAR2(10));
    create table t1 (id NUMBER, descr VARCHAR2(10))
    ERROR at line 1:
    ORA-01031: insufficient privilegesI can almost, but not quite, see a rationale for the second case if you want to enforce some sort of naming or location standards but the whole thing seems odd to me.
    Users cannot create tables, so lets give them a procedure to create tables?
    John

  • Create table using a dynamic SQL returns error.

    DBMS_UTILITY.exec_ddl_statement (
    'create table test_table as select column_names from table_name@dblink
    where condition' )
    i am using the above statement in a pl/sql procedure.
    It throws an error saying
    "Exact fetch returns more than requested no. of rows"
    can any one help me on this please!!!
    Very Urgent
    Thanks in Advance.
    Bala.

    Works for me. But the more important question would be the need to have this run within PL/SQL? Why do you want to do that? what is the requirement? can you not do this one time at SQL*Plus prompt and be done with it?
    SQL> drop table emp ;
    Table dropped.
    SQL>
    SQL>
    SQL> exec dbms_utility.exec_ddl_statement('create table emp as select * from [email protected] where deptno = 10') ;
    PL/SQL procedure successfully completed.
    SQL> select count(*) from emp ;
      COUNT(*)
             3
    1 row selected.
    SQL> select count(*) from [email protected] ;
      COUNT(*)
            14
    1 row selected.
    SQL> select count(*) from [email protected] where deptno = 10 ;
      COUNT(*)
             3
    1 row selected.
    SQL>Message was edited by:
    Kamal Kishore

  • Creating table using joins in subquery

    can we create a table by using joins in subquery??
    like this
    create table emp as select * from employees e,departments d
    where d.department_id=e.department_id
    can we ??

    What happens when you try it?
    It worked for me. See below:
    drop table test_table;
    create table test_table as
    select e.employee_id, e.first_name || ' ' || e.last_name ename, e.email, e.salary, d.department_name
      from employees e
      join departments d
        on (e.department_id = d.department_id)
    where e.salary = 10000;
    select *
      from test_Table;
    EMPLOYEE_ID ENAME                                          EMAIL                       SALARY DEPARTMENT_NAME             
            150 Peter Tucker                                   PTUCKER                      10000 Sales                         
            156 Janette King                                   JKING                        10000 Sales                         
            169 Harrison Bloom                                 HBLOOM                       10000 Sales                         
            204 Hermann Baer                                   HBAER                        10000 Public Relations

  • How to create table using mysql in LabVIEW

    Hii
               I am using mysql database Toolkit for my project.  In that how to New create a table. Is there any possiblilites to create a table using query...can u send a sample prg ... and inform which toolkit Vi to use....  

    The SQL syntax for creating a table is:
    CREATE TABLE table_name
    column_name1 data_type,
    column_name2 data_type,
    column_name3 data_type,
    )The toolkit has a funciton called DB Tools Create Table. That would be the obvious function to use if you don't want to execute a SQL query to create the table. The tooklit comes with examples. Have you looked at them? There's one called Create Database Table that  would seem to be exactly what you are looking for.

  • Problem with External Table using ORACLE_INTERNAL TYPE in 9i release 2

    Hi,
    I have tried to create an external table in oracle 9i release 2 using the following qurey:
    CREATE TABLE emp_ext
    ORGANIZATION EXTERNAL
    ( TYPE ORACLE_INTERNAL
    DEFAULT DIRECTORY admin_dat_dir
    LOCATION(admin_dat_dir:'emp1.dmp')
    PARALLEL
    AS
    SELECT * from employees;
    and getting the following error message
    ORA-30657: operation not supported on external organized table
    Please help me.
    Thanks in Advance

    As a matter of fact oracle 9i has two types of api for external tables one is oracle_loader and the other is oracle_internal which in 10g become oracle_datapump.
    What my question is how can I use the other type in case of external table as we are doing in 10g? Do I need to run any script to enable this feature or is there any privillege issue?
    I've given the read, write privillege to the user and the oracle user has read/write permission in os level on the location of the directory.

Maybe you are looking for

  • Can no longer send or receive messages on iphone

    I sent a message from my iphone 4 last night and it looked as if it had sent but this am, I see it did not send.  It showed as 'sending.......' for over an hour.  I sent a new message and it then showed sending 1 of 2.  I looked at the people I'd sen

  • How to submit a ALV report in background

    Can you provide a peice of code to submit an ALV report in background? and is it possible to provide a  header information  dynmically, (changing when we say page down) in ALV?

  • Mac Mini and Smartdisk external drive

    I just got around to connecting my Smartdisk external drive to my new Mini and I couldn't access it. Disk utilities came back with an Invalid Node Structure error. It says it can't fix it and I have no idea what is going on. John

  • Using "XML Document from XML Schema" in JDeveloper

    Hi Experts, I have a requirement to generate XML Document from XML Schema. For this I have used "XML Document from XML Schema" feature in JDeveloper. It is found in File->New->General->XML Document form XML Schema. I have registered a schema with jde

  • HELP! MBP is not starting up with a start up disk

    My MBP was working fine one minute then all of a sudden, I heard constant beeping. After that it didn't shut down unless I pushed the power button. Upon restarting, I saw a question mark in the middle with a grey screen. I tried reinstalling OSX leop