ORA-01723 null columns are not allowed

We create a table using DEC from a remote database. We use the DEC due to performance issues with INSERT-SELECT.
EXECUTE IMMEDIATE 'CREATE TABLE ods_idl_vst NOLOGGING AS SELECT * FROM remote_tab@remote_db vst';
"How can I ' ora-01723 null columns are not allowed" error? Our data base is 11g.

Hello

Yes it is possible, then you will need to use the trick of cast, or remove the columns in your selection.

Herald tiomela
http://htendam.WordPress.com

Tags: Database

Similar Questions

  • ORA-02021: DDL Operations are not allowed on a remote database

    Hello

    I need to SELECT grants to a role on a synonym, but I got this error:

    SQL > GRANT SELECT ON SYNERGIA. CoDato_SED to ROLE_SYNERGIA;
    GRANT SELECT ON SYNERGIA. CoDato_SED to ROLE_SYNERGIA
    *
    ERROR on line 1:
    ORA-02021: DDL Operations are not allowed on a remote database


    SYNERGIA. CoDato_SED is a synonym of a remote database create with this script:

    CREATE A SYNONYM SYNERGIA. CoDato_SED for GST. CoDato_SED@BDEEDN. DSYN;

    Please how do I deal with these cases.

    Thank you.
    ----------------------------------------------------
    Version of database: Oracle 9i 9.2.0.8.0
    SO: HP - UX 11.23

    Read the docs.

    You grant privileges on objects that are not synonymous.

  • Create Materialized View ORA-01723: columns of length zero are not allowed

    I am trying to create a materialized view that derives from a column of a function and I get: ORA-01723: columns null are not allowed.

    I use 10 gr 2 with the following definition (simple version):

    CREATE MATERIALIZED VIEW ACES
    SELECT
    function_name (column_name) alias_de_colonne
    FROM table_name;

    I even tried to cast it as below:

    CREATE MATERIALIZED VIEW ACES
    SELECT
    Cast (function_name (column_name) AS VARCHAR2 (200)) alias_de_colonne
    FROM table_name;

    My function has an exception to return a value, even if no value are.

    I looked everywhere for the solution. Someone at - there a way around this problem? I really need my function to calculate the column because it has business rules that I can't join in my definition of the materialized view. My only hope around this is to insert values into a table and then create a materialized table view, I don't want to do that if someone has a solution around this.

    Any help would be greatly appreciated.

    Thank you

    Kyle

    Published by: Kyle Miller on April 19, 2011 08:28

    Have you tried to create a table with the correct structure and then by creating the view materialized, based on the predefined table as described here...

    http://www.oaktable.NET/content/ultra-fast-MV-alteration-using-prebuilt-table-option

    ?

    See you soon

    Ben

  • ORA-01723: columns of length zero are not allowed

    Hello

    I try to combine the 2 tables (one of the tables as a single column and the other has 2 columns)... Here's the query that I'm running

    create the table temp_combine
    as
    SELECT the CITY, NULL AS TABLE_A Prov.
    Union of all the
    SELECT CITY, Prov. OF TABLE_B

    Here is the error message I got:

    ORA-01723: columns of length zero are not allowed

    Please advice, how to solve this problem

    How do I solve this problem

    Or reverse the order of the union of all the

    SELECT CITY, Prov FROM TABLE_B
    union all
    SELECT CITY, NULL AS Prov FROM TABLE_A
    

    or a cast of NULL for the Prov. data type (for example assuming that it is varchar2 (10)):

    SELECT CITY, CAST(NULL AS VARCHAR2(10)) AS Prov FROM TABLE_A
    union all
    SELECT CITY, Prov FROM TABLE_B
    
  • You are not allowed to open the form ORA-01403: no data found

    Hello

    I created a new forms of Oracle 10 g. It compiles successfully, but when it is open, it gives an error message: you are not allowed to open the form ORA-01403: no data found.

    I am already connected to the database. Please can someone help what is the reason of this problem, and no matter what possible resolution?

    Looks like you have some kind of security is enabled.  However, because you do not share details about your environment or what you're doing here is not that we can do is guess.

    • Exactly what version of forms do you use?
    • Exactly which version of the database that you are using?
    • You use something like Oracle E-Business (e.g. template.fmb)?
    • You created the form with Oracle Designer?
    • If you create a simple form using only the layout assistants and the DataBlock compared to schema Oracle demo (SCOTT), this form run?

    No additional details describing what you do or have done could be useful.

  • ORA-20009: you are not allowed to connect to this database

    Hello

    We have the 11.2.0.1.0 Oracle database.

    The DB automatically stops as well as the service stops.

    Verification of the alert log, here are the errors... These are continually producing the newspaper and new .trc and .trm files are created every minute.

    Errors in the d:\oracle\admin\fw4dev\bdump\diag\rdbms\fw4dev\fw4dev\trace\fw4dev_j000_7424.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-20009: you are not allowed to connect to this database
    ORA-06512: at line 4 level
    Fri Jul 01 13:14:32 2011
    Errors in the d:\oracle\admin\fw4dev\bdump\diag\rdbms\fw4dev\fw4dev\trace\fw4dev_ora_8672.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-20009: you are not allowed to connect to this database
    ORA-06512: at line 4 level
    Fri Jul 01 13:15:19 2011
    Errors in the d:\oracle\admin\fw4dev\bdump\diag\rdbms\fw4dev\fw4dev\trace\fw4dev_j000_4916.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-20009: you are not allowed to connect to this database
    ORA-06512: at line 4 level
    Fri Jul 01 13:15:41 2011
    Errors in the d:\oracle\admin\fw4dev\bdump\diag\rdbms\fw4dev\fw4dev\trace\fw4dev_ora_3952.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-20009: you are not allowed to connect to this database
    ORA-06512: at line 4 level
    Fri Jul 01 13:16:19 2011
    Errors in the d:\oracle\admin\fw4dev\bdump\diag\rdbms\fw4dev\fw4dev\trace\fw4dev_j000_832.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-20009: you are not allowed to connect to this database
    ORA-06512: at line 4 level
    Fri Jul 01 13:17:16 2011
    Errors in the d:\oracle\admin\fw4dev\bdump\diag\rdbms\fw4dev\fw4dev\trace\fw4dev_ora_3988.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-20009: you are not allowed to connect to this database
    ORA-06512: at line 4 level
    Fri Jul 01 13:17:19 2011
    Errors in the d:\oracle\admin\fw4dev\bdump\diag\rdbms\fw4dev\fw4dev\trace\fw4dev_j000_4352.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-20009: you are not allowed to connect to this database
    ORA-06512: at line 4 level
    Fri Jul 01 13:18:19 2011
    Errors in the d:\oracle\admin\fw4dev\bdump\diag\rdbms\fw4dev\fw4dev\trace\fw4dev_j000_2892.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-20009: you are not allowed to connect to this database
    ORA-06512: at line 4 level
    Fri Jul 01 13:19:19 2011
    Errors in the d:\oracle\admin\fw4dev\bdump\diag\rdbms\fw4dev\fw4dev\trace\fw4dev_j000_2416.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-20009: you are not allowed to connect to this database
    ORA-06512: at line 4 level
    ......
    ..
    .

    Please go back, in case anyone has the solution for the same thing.

    Kind regards
    Jinisha

    Hello
    It is a 'feature' really annoying a logon trigger event is 'CONNECTION' not 'LOGON' that is to say there is a space after the opening of SESSION

    Change your query to

    Select * from dba_triggers, where triggering_event like 'LOGON '.

    And you will find it.

    See you soon,.
    Harry

  • ORA-01719: outer join operator (+) not allowed in operand of GOLD or IN

    I'm migrating a stored procedure (package) in Oracle 11 g.  The SQL has an outer join, combined with a "GOLD":

    Select a.row1, a.row2, b.row3, b.row4, c.row5, c.row6

    schema1.table1 a, schema1.table2 b, schema2.table3 c

    where

    ((c.orgunit = a.org (+) and b.newaccount (+) and TO_CHAR(c.createdatetime,'MM/DD/YYYY = c.account and c.feed = 'FOO' ') = TO_CHAR (SYSDATE, ' DD/MM/YYYY'))

    or

    ((c.feed = 'BAR' and c.orgunit = a.org (+) and c.account b.newaccount (+) and TO_CHAR(c.createdatetime,'MM/DD/YYYY =') = TO_CHAR (SYSDATE, ' DD/MM/YYYY'));

    The error is:

    ORA-01719: outer join operator not allowed in operand of GOLD or IN

    * Cause: Outer join appears in a clause or.

    * Action: If A and B are predicates, to achieve the effect of (has or B).

    I do not understand how to apply the suggested action to my query above.  Can anyone provide a solution or a workaround?

    Thank you.

    your base table is c, a and b must be attached to the left

    Select a.row1, a.row2, b.row3, b.row4, c.row5, c.row6

    of schema2.table3 c

    Join schema1.table1 left a c.orgunit on = a.org

    c.account left join schema1.table2 b = b.newaccount

    where c.createdatetime > = trunc (sysdate)

    and c.createdatetime<>

    and (c.feed = 'FOO' or c.feed = 'BAR');

  • ORA-14030: partitioning column does not exist in the CREATE TABLE statement

    Hi all

    We are trying to create a partition materialized view and get an error below.
    ORA-14030: partitioning column does not exist in the CREATE TABLE statement
    Our GL_BALANCES21 and GL_CODE_COMBINATIONS21 base tables is already divided by interval of the range on Code_combination_id.
    In the same way that we try to partition the view materialized
    We get the error.
    ORA-14030: partitioning column does not exist in the CREATE TABLE statement
    Where the clause there are 4 tables gl_balances21, gl_code_combinations21, gl_periods and gl_set_of_books.


    CREATE MATERIALIZED VIEW apps. BAL_PART
    PARTITION BY RANGE ("CODE_COMBINATION_ID")
    (SCORE LOWER (80000) VALUES,
    PARTITION OF LOWER VALUES (160000),
    PARTITION OF LOWER VALUES (240000),
    PARTITION OF LOWER VALUES (320000),
    PARTITION OF LOWER VALUES (400000),
    PARTITION OF LOWER VALUES (480000),
    PARTITION OF LOWER VALUES (560000),
    PARTITION OF LOWER VALUES (640000),
    PARTITION OF LOWER VALUES (720000),
    PARTITION OF VALUES LESS THAN (800000),
    PARTITION OF LOWER VALUES (880000),
    PARTITION OF LOWER VALUES (960000),
    PARTITION OF VALUES LESS THAN (10400000),
    PARTITION OF LOWER VALUES (11200000),
    PARTITION OF LOWER VALUES (12000000),
    PARTITION OF LOWER VALUES (12800000),
    PARTITION OF VALUES LESS THAN (13600000),
    PARTITION OF LOWER VALUES (14400000),
    PARTITION OF VALUES LESS THAN (15200000),
    PARTITION OF LOWER VALUES (16000000),
    PARTITION OF VALUES LESS THAN (16800000),
    PARTITION OF VALUES LESS THAN (17600000),
    PARTITION OF VALUES LESS THAN (18400000),
    PARTITION OF VALUES LESS THAN (19200000),
    PARTITION OF LOWER VALUES (20000000),
    PARTITION OF VALUES LESS THAN (20800000),
    PARTITION OF VALUES LESS THAN (21600000),
    PARTITION OF VALUES LESS THAN (22400000),
    PARTITION OF VALUES LESS THAN (23200000),
    PARTITION OF LOWER VALUES (24000000),
    PARTITION OF VALUES LESS THAN (24800000),
    PARTITION OF VALUES LESS THAN (25600000),
    PARTITION OF VALUES LESS THAN (26400000),
    PARTITION OF LOWER VALUES (27200000),
    PARTITION OF LOWER VALUES (28000000),
    PARTITION OF VALUES LESS THAN (28800000),
    PARTITION OF VALUES LESS THAN (29600000),
    PARTITION OF VALUES LESS THAN (30400000),
    PARTITION VALUES LESS THAN (MAXVALUE))
    QUICKLY REFRESH ON DEMAND
    SELECT the QUERY REWRITE as
    SELECT GL.GL_CODE_COMBINATIONS21. ROWID C1,
    GL.GL_BALANCES21. ROWID C2,
    "GL". "" GL_BALANCES21 ". "" ACTUAL_FLAG, "
    "GL". "" GL_BALANCES21 ". "" CURRENCY_CODE "
    "GL". "" GL_BALANCES21 ". "" PERIOD_NUM, "
    "GL". "" GL_BALANCES21 ". "" PERIOD_YEAR ".
    "GL". "" GL_BALANCES21 ". "" SET_OF_BOOKS_ID ""SOB_ID"
    "GL". "" GL_CODE_COMBINATIONS21 ". "" CODE_COMBINATION_ID ""CCID.
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT1 ",.
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT10, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" DIRECTION11, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT12, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT13, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT14, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT2 ",.
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT3. "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT4, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT5, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT6, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT7. "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT8, "
    "GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT9, "
    "GL". "" "" GL_PERIODS '. "" PERIOD_NAME,"
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) Open_Bal_Cr,
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) +.
    NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_CR', 0) Close_Bal_Cr,
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0) Open_Bal_Dr,
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0) +.
    NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_DR', 0) Close_Bal_Dr,
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0).
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) Open_Bal,
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0).
    NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) +.
    NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_DR', 0).
    NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_CR', 0) Close_Bal,
    NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_CR', 0) Period_Cr,
    NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_DR', 0) Period_Dr
    OF GL.GL_CODE_COMBINATIONS21.
    GL.GL_BALANCES21,
    GL.GL_SETS_OF_BOOKS,
    GL.GL_PERIODS
    WHERE GL.GL_BALANCES21. CODE_COMBINATION_ID = GL.GL_CODE_COMBINATIONS21. CODE_COMBINATION_ID
    AND GL.GL_SETS_OF_BOOKS. SET_OF_BOOKS_ID = GL.GL_BALANCES21. SET_OF_BOOKS_ID
    AND GL.GL_PERIODS. PERIOD_NUM = GL.GL_BALANCES21. PERIOD_NUM
    AND GL.GL_PERIODS. PERIOD_YEAR = GL.GL_BALANCES21. PERIOD_YEAR
    AND GL.GL_PERIODS. PERIOD_TYPE = GL.GL_BALANCES21. PERIOD_TYPE
    AND GL.GL_PERIODS. PERIOD_NAME = GL.GL_BALANCES21. PERIOD_NAME
    AND GL.GL_PERIODS. PERIOD_SET_NAME = GL.GL_SETS_OF_BOOKS. PERIOD_SET_NAME
    and gl.GL_CODE_COMBINATIONS21.summary_flag! = « Y »

    ERROR on line 54:
    ORA-01013: user has requested the cancellation of the current operation

    I checked the metalink note saying that ensure that all columns in a partitioning column list are columns of
    the table being created.

    Partition is already there, on the column of code_combination_id of gl_balances21 and gl_code_combinations21.

    Please suggest.

    Thank you

    It's your mistake:

    PARTITION BY RANGE ("CODE_COMBINATION_ID") 
    

    but in your projection of column list, you have an alias he:

    "GL"."GL_CODE_COMBINATIONS21"."CODE_COMBINATION_ID" "CCID",
    

    You must use the alias as a partition key, not the name fom the secondary table column.
    --
    John Watson
    Oracle Certified Master s/n
    http://skillbuilders.com

  • ORA-00934: function of group not allowed error when creating index

    ORA-00934: Group feature is not allowed here
    create index idx_emp on emp(max(install_time))

    Hello

    Daniel wrote:
    ORA-00934: Group feature is not allowed here

    create index idx_emp on emp(max(install_time))
    

    It's true. It is documented in the Manual of the SQL language

    Restrictions on Function-based Indexes 
    
    Function-based indexes are subject to the following restrictions:
    ...
    The column_expression cannot contain any aggregate functions.
    

    MAX is an aggregate function.

    What problem are you trying to solve? If you could create an index like this, how would you use it?
    Explain what you need to do, and someone will help you find a good way to do it.

  • ORA-16143: connections of RFS not allowed during or after a Terminal recovery

    Hi all

    I wanted to transfer primary DB archiving log of STANDBY DB by the window / given destnination

    After you have created the database physically Eve, I put database waiting for recovery by using the command:-change the recovery of database managed standby database disconnect from the session.

    After that when I ran this command: -.
    ALTER database recover managed standby database finish;

    After that when I tried to recover database to help given comand awaiting:-recover managed standby database.

    Get the error such as ORA-16143: RFS connections that are not allowed during or after a Terminal recovery

    I can see this error on primary DB filev alerts log

    I can open my database in waiting.

    The two Oracle: 10.2.0.4
    The two platform: RHEL 4.7

    Please suggest me for this, help is appreciated

    Published by: user1687821 on July 12, 2010 08:37

    user1687821,

    After the use of the clause to FINISH, you MUST open the standby database as PRIMARY.

    Finishing clause must be used while you're perparing to failover to your database pending.

    Which is clearly given by the error message; you did a cover of Terminal:

     ORA-16143: RFS connections not allowed during or after terminal recovery 
    

    unless you have a pending restore point until you execute the clause of finishing, you will need rebuild your watch or use it as the primary database.

    See you soon.

  • You are not allowed to create or update this content

    I am trying to create a new post, but when I click on 'Post' I get the error message "you are not allowed to create or update this content.

    Is this a bug or is it user error?

    Try again in a little, it's a known bug. Also try to refresh the page or signing in.

  • Why this message: you are not allowed to view or update this topic

    Why this message: you are not allowed to publish or comment on it.

    It's a legitimate question.

    You encounter a bug in the Jive Software that runs this forum. Most of the time simply try again or refresh the page will fix the problem. There is one caveat with respect to time. You can't post more than once every 30 seconds, and it's to discourage spamming.

  • Firefox MAC v30 with proxy must authenticate "Cache Access Denied" sorry, you are not allowed to ask: this cover until you have authenticated

    Firefox functioned perfectly until we have updated to version 30.0. It seems that the new version does not like our Proxy Configuration that requires users to auth with their AD accounts.

    In the latest version, Firefox will appear a box that allow you to type the user name and password that works perfectly. However, this is not pop up anymore and gives me this error message.

    The following error was encountered:
    
       Cache Access Denied.
    

    Sorry, you are not allowed to ask:

       http://www.google.com.au/url?
    

    This cache until you have yourself authenticated.

    I try to configure the username into a key ring and allow firefox to access manually, but Firefox seems does not access this key chain at all.

    Is that someone has a problem with the proxy server that needs to authenticate in Firefox30.0? Does anyone know the possible solutions?

    Thank you very much!

    Shuopan

    Trouble Shooting - update

    Interestingly enough, Firefox works for 1 minute after I use Safari with proxy Auth. However, if I get Safari for 1 or 2 minutes, Firefox will be stop working and displays similar error message.

    tried network.http.use - cache = false but does not work

    Thank you

    We find the solution of Philipp is useful.

    "Hello, this is perhaps due to the deactivation of some insecure authentication protocols in firefox 30: https://www.mozilla.org/en-US/firefox/30.0/releasenotes/#whatsnew .

    You can try to enter: config in the firefox address bar (confirm the message information where it appears) and search for the preference named network.negotiate - auth.allow - insecurity-ntlm-v1. Double-click it and change its value to true. »

    https://www.Mozilla.org/en-us/Firefox/30.0/releasenotes/#whatsnew

  • Multimedia player that allows some of my WAV files to be played in a more quick read but other WAV files are NOT allowed to read at a faster speed.

    original title WAV file: windows media player

    Multimedia player that allows some of my WAV files to be played in a more quick read but other WAV files are NOT allowed to read at a faster speed.  Any suggestions on how to fix?

    Thank you

    Hello
    1 did you change on your computer before this problem?
    2. what happens when you try to play?
    3. what operating system is running on your computer?

    What version of the operating system Windows am I running?
    http://Windows.Microsoft.com/en-us/Windows7/help/which-version-of-the-Windows-operating-system-am-i-running
    Follow the suggestions and see if it helps.

    Method 1

    You can run Windows Media Player settings convenience store.
    Open the troubleshooting Windows Media Player settings Troubleshooter
    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter

    Method 2
    You can read the article and then check.
    Change playback speed in Windows Media Player
    http://Windows.Microsoft.com/en-us/Windows7/change-playback-speed-in-Windows-Media-Player

    See also:
    Play an audio or video file: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows7/play-an-audio-or-video-file-frequently-asked-questions
    Play an audio or video file
    http://Windows.Microsoft.com/en-us/Windows7/play-an-audio-or-video-file

     
  • "You are not allowed to change the settings for this printer. If you need to change the settings, contact your system administrator.

    XP Pro, SP3. I downloaded the free Bullzip pdf printer. Somehow my old printer pdf in my printer disappeared list which I have used for years. I get this message when installing - "you are not allowed to change the settings for this printer. If you need to change the settings, contact your system administrator. I click ok and it ends, but it doesn't work. It does not appear in the printer control panel as a printer to change anything.

    I built this computer at home and I'm the only one using it. What is this function 'administrator '? I've never had to administrator on any program. Never. That is what it is?

    CNET is infamous for the grouping of things in its downloads as much a / v programs report as junk (I went through the same thing using eSet NOD32 has / v).  I seem to remember that if you ignore the warning and download the exe file and then use a tool like the free 7-zip to extract only the file necessary to run the program you want, you can work around the problem.

    For a pdf printer free which is not CNET - and works well - go here--> http://www.cutepdf.com/products/cutepdf/writer.asp

    EDIT TO ADD A LINK:

    See, for example, http://forums.cnet.com/7723-12543_102-582307/safe-downloads-cnet-com-sorry-but-not-anymore/

Maybe you are looking for