Error ORA-12899, even you the length of the data is correct.
Dear all,I'm getting ORA-12899 problem: value too large for column 'TEST '. "'"' STUDENT'."" NAME"(size: 94, maximum: 79).
Valer'evne you the length of the column 'Name' is less than 79.
Infact I am getting the value of 'Name' of the other database, processing in Java and you try to insert the value in Oracle database with the help of hibernation, the length of the 'name' is located only 60 I checked in Java, before inserting this value.
Even after having inserted the length is only 60 too, I see Oracle. So why Oracle throws this error at the time of the insertion of the value of the "name"?
Any body have an idea on the question, please help.
Thanking you all.
AL32UTF8 is a multibyte character set: each character can take up to 4 bytes. So, you have to modify the table definition for this with something like (assuming that the maximum number of bytes would be 320):
alter table student modify (name varchar2(320));
Tags: Database
Similar Questions
-
ORA-01124: cannot retrieve the data file 1 - file is in use or recovery
I'm trying to recover the database in waiting, but it gives the error below.
ORA-00283: cool cancelled due to errors
ORA-01124: cannot retrieve the data file 1 - file is in use or recovery, the recovery is already said
ORA-01110: data file 1: ' I:\ORACLE\QAS\SAPDATA1\SYSTEM_1\SYSTEM. DATA1'
When I checked in the alert log recovery is not started. and later I hae given ' alter database recover Cancel "and the command to meet with the threshold.
"media recovery has not started.
It seems that the recovery was stuck between the two.
Please advise me how to kill the recovery session that is stuck. because I don't want to bounce the database pending.
Thanks in advance.Dataguard and MRP, you run a script before.
In a standby scripted, a session to RETRIEVE the DATABASE would an UNTIL clause (SEQUENCE up to THAT most likely). At the end of the recovery at this point (SEQUENCE #), he left and stop at the database.
In addition, the script is such that when a RECOVERY session is active, another session is not authorized to start. It can loop in pending state or go out and do it again the next scheduled interval.
Apparently your startup script is not strong enough to prevent another session of RECOVERY to start even though the first is active (or it doesn't have a good up to THAT clause and stop, exit, closing stocks)
What you have is a custom implementation of a database of pending. Without all the details of the script, the 'blocking' between sessions (to avoid a second RECOVER start when one is already running) etc... We can't really do much to help you.
Your scripts must be standing with status information. It should be possible for you to discover the 'other' sqlplus session which emanates a DATABASE to RECOVER, but not yet out (p. ex... How about a simple "ps - ef |") grep sql' and ' ps - ef | combination of grep ora"?)Hemant K Collette
Published by: Hemant K Collette on May 29, 2013 17:47
-
Hi all
Here is the create table script, which does not work, error ORA-12899 keep expressing. Please suggest...,.,.
CREATE TABLE FX_TRANS
(
SAGE_TRADE_TYPE VARCHAR2 (50 BYTE),
UPSTREAM_EXECUTION_TS TIMESTAMP (9).
LOCAL_TZ VARCHAR2 (20 BYTE),
GMT_CONV_ENTERED_DT_TS TIMESTAMP (9) ALWAYS GENERATED IN THE FORM ("SONARDBO". "FN_CONVERT_TIMEZONE"("LOCAL_TZ","ENTERED_DT_TS")), "
GMT_CONV_EXECUTION_DT_TS TIMESTAMP (9) ALWAYS GENERATED IN THE FORM ("SONARDBO". "FN_CONVERT_TIMEZONE"("LOCAL_TZ","UPSTREAM_EXECUTION_TS")), "
);[Error] Running (5:3): ORA-12899: value too large for column 'GMT_CONV_EXECUTION_DT_TS' (actual: 11, maximum: 20)
[Error] Performance (6:3): ORA-12899: value too large for column 'GMT_CONV_EXECUTION_DT_TS' (actual: 11, maximum: 20)
Used fucntion Script that I use as a VIRTUAL column expression:CREATE OR REPLACE FUNCTION SONARDBO. FN_CONVERT_TIMEZONE
(
PI_LOCAL_TZ IN VARCHAR2,
PI_DT IN TIMESTAMP
)
RETURNS THE TIMESTAMP
DETERMINISTIC
IS
LV_TIMESTAMP TIMESTAMP;
BEGIN
LV_TIMESTAMP: = CASE WHEN PI_LOCAL_TZ = 'SERGEANT' THEN
TO_TIMESTAMP (TO_CHAR)
((FROM_TZ)
PI_DT,
"Asia/Singapore")
IN THE ZONE IS "GMT"),.
'YYYY-MM-DD HH. FF H '),'YYYY-MM-DD HH. TZDS FF PM ")"
WHEN PI_LOCAL_TZ = "GMT" THEN
TO_TIMESTAMP (TO_CHAR)
((FROM_TZ)
PI_DT,
"GMT")
IN THE ZONE IS "GMT"),.
'YYYY-MM-DD HH. FF H '),'YYYY-MM-DD HH. TZDS FF PM ")"
WHEN PI_LOCAL_TZ = "IS" THEN
TO_TIMESTAMP (TO_CHAR)
((FROM_TZ)
PI_DT,
"America/New_York")
IN THE ZONE IS "GMT"),.
'YYYY-MM-DD HH. FF H '),'YYYY-MM-DD HH. TZDS FF PM ")"
ANOTHER NULL
END;
RETURN LV_TIMESTAMP;
EXCEPTION
WHILE OTHERS THEN
LIFT;
END;
/Thank you very much
Arpit
This one worked for me.
-----------------
drop table FX_TRANS; CREATE TABLE FX_TRANS ( SAGE_TRADE_TYPE VARCHAR2 (50 BYTE), UPSTREAM_EXECUTION_TS TIMESTAMP (9), LOCAL_TZ VARCHAR2 (20 BYTE), ENTERED_DT_TS TIMESTAMP (9), GMT_CONV_ENTERED_DT_TS timestamp(9) GENERATED ALWAYS AS (cast ("FN_CONVERT_TIMEZONE" ("LOCAL_TZ", "ENTERED_DT_TS") as timestamp(9))), GMT_CONV_EXECUTION_DT_TS timestamp(9) GENERATED ALWAYS AS (cast("FN_CONVERT_TIMEZONE" ("LOCAL_TZ", "UPSTREAM_EXECUTION_TS") as timestamp(9)))); INSERT INTO fx_trans (SAGE_TRADE_TYPE, UPSTREAM_EXECUTION_TS, LOCAL_TZ, ENTERED_DT_TS) VALUES ('A', SYSTIMESTAMP, 'SGT', SYSTIMESTAMP + 1 / 24); commit;
------------
See you soon,.
Manik.
-
Re: Sql * loader 11g - error ORA-12899
My incorrect file has 2 first recordings like this:
MEMB_NUMBER, ID_NUMBER, ASSIGNED_MEMB_NUMBER, ASSOC_AMT, ASSOC_TYPE, DATE_ADDED, DATE_DE_MODIFICATION, OPERATOR_NAME, USER_GROUP, LOCATION_ID,
0000000107,0000828633, 1.5, J, 22-FEB-02, 12-JUN-02, MSUM080_MEMB_CONV, 00.
0000002301,0000800007, 297,5, J, 03-AUG-00, 12-JUN-02, MSUM080_MEMB_CONV, 00.
My Log file says:
Sheet 1: Rejected - error on the OWBREP table. MEMB_ENTITY, column ID_NUMBER.
ORA-12899: value too large for column 'OWBREP '. "" "" MEMB_ENTITY '. "" ID_NUMBER"(real: 20, maximum: 10)
Sheet 2: Rejected - error on the OWBREP table. MEMB_ENTITY, the ASSOC_AMT column.
ORA-01722: invalid number
Description of table target:memb_number VARCHAR2 (10 Byte) There ID_Number VARCHAR2 (10 Byte) There assigned_memb_number VARCHAR2 (15 Byte) There assoc_amt Number (14.2) There assoc_type Char (1 byte) There date_added Date There Date_Modified Date There operator_name VARCHAR2 (32 Byte) There user_group VARCHAR2 (2 Byte) There Location_id number There
Can you please tell me why the sqlldr throw error? The data looks correct to me.Hello
seems your control file command is not sync with the order of the tables, I think it would be
FIELDS ENDED BY ',' POSSIBLY FRAMED BY "" "
TRAILING NULLCOLS
(
MEMB_NUMBER,
ID_NUMBER,
ASSIGNED_MEMB_NUMBER,
ASSOC_AMT,
ASSOC_TYPE,
DATE_ADDED,
DATE_MODIFIED,
OPERATOR_NAME,
USER_GROUP,
LOCATION_ID
)
Try with this
-
Hi all
I started playing with OEMM and I get the following error when I try to 'Trace Data Impact' in an Oracle table. Here's what I do:
- I created a template and collected a few schemas/tables:
- Now when I try to "Trace Data Impact' on the table AP_DEF_STG, I get the following:
I already tried to create a "Configuration" for her, I tried to text instead of graphics, but the error is the same. If I go to a view of Oracle and do a "track Data Lineage", I get the same error again.
That someone was already been in this situation? This is the full error trace:
({"error": true, "errorMessage": "SQL error during the tracing of lineage: ORA-22813: value of the operand exceeds the limits of the system"})
', 'errorType': 'Line error', 'errorCodes': "[LNGTRC_E0016]".
","stackTrace":"Error Codes - [LNGTRC_E0016].
Request - VizModelLineage
Settings - showInternalObject [false] showNoType [true] showControlLinks [false] startingIds [17 #4723 #0] isBizUI [false] ObjectID [17 #1 #0] showSummaryView [true] collapseLevel [features] resetCache [fake] profile [] showMappingsAsNodes [true] skipCache [false] tracingDirection [3] tracingType [DataLineage] [ReportTree2202015-104855025] originalStartingObject cacheId [17 #4723 #0] viewType actionType [loadlineage] of viewId [ReportTree2202015-104855025] [ModelLineage]
MITI.web.common.exceptions.LineageUIException: SQL for tracing line error: ORA-22813: value of the operand exceeds the limits of the system
at MITI.web.common.service.facades.LineageFacadeImpl.getLineageGraph (LineageFacadeImpl.java:284)
at MITI.flash.tabs.VizModelLineage.getLineageTree (VizModelLineage.java:429)
at MITI.flash.tabs.VizModelLineage.buildLineageGraph (VizModelLineage.java:356)
at MITI.flash.tabs.VizModelLineage.performAction (VizModelLineage.java:148)
at MITI.server.servlets.FlashServlet.doPost (FlashServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
to org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler.process (AbstractProtocol.java:611)
to org.apache.tomcat.util.net.JIoEndpoint$ SocketProcessor.run (JIoEndpoint.java:316)
to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:895)
to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:918)
to org.apache.tomcat.util.threads.TaskThread$ WrappingRunnable.run (TaskThread.java:61)
at java.lang.Thread.run(Thread.java:662)
Caused by: MITI.server.services.lineage.LineageException: (LNGTRC_E0016) SQL error during the tracing of lineage: ORA-22813: value of the operand exceeds the limits of the system
at MITI.server.services.lineage.database.LineageDataSource.handle (LineageDataSource.java:41)
at MITI.util.database.CommonDataSource.handleSQLException (CommonDataSource.java:124)
at MITI.util.database.CommonDataSource.executeTransaction (CommonDataSource.java:83)
at MITI.util.database.CommonDataSource.executeStatement (CommonDataSource.java:54)
at MITI.server.services.lineage.impl.LineageImpl.traceLineage (LineageImpl.java:554)
at MITI.server.services.lineage.common.LineageTracer.traceLineage (LineageTracer.java:1078)
at MITI.server.services.lineage.common.LineageTracer.traceDataLineage (LineageTracer.java:313)
at MITI.server.services.lineage.common.LineageTracer.traceTechnicalData (LineageTracer.java:176)
at MITI.web.common.service.facades.LineageFacadeImpl.getLineageGraph (LineageFacadeImpl.java:245)
... 21 more
Caused by: java.sql.SQLException: ORA-22813: value of the operand exceeds the limits of the system
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1188)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
at MITI.util.database.Query.executeStatement (Query.java:45)
at MITI.util.database.Statement.execute (Statement.java:66)
to MITI.util.database.CommonDataSource$ 1.run(CommonDataSource.java:50)
to MITI.util.database.CommonDataSource$ 1.run(CommonDataSource.java:47)
at MITI.util.database.Transaction.execute (Transaction.java:92)
at MITI.util.database.CommonDataSource.executeTransaction (CommonDataSource.java:80)
... more than 27
Caused by:
MITI.server.services.lineage.LineageException: (LNGTRC_E0016) SQL error during the tracing of lineage: ORA-22813: value of the operand exceeds the limits of the system
at MITI.server.services.lineage.database.LineageDataSource.handle (LineageDataSource.java:41)
at MITI.util.database.CommonDataSource.handleSQLException (CommonDataSource.java:124)
at MITI.util.database.CommonDataSource.executeTransaction (CommonDataSource.java:83)
at MITI.util.database.CommonDataSource.executeStatement (CommonDataSource.java:54)
at MITI.server.services.lineage.impl.LineageImpl.traceLineage (LineageImpl.java:554)
at MITI.server.services.lineage.common.LineageTracer.traceLineage (LineageTracer.java:1078)
at MITI.server.services.lineage.common.LineageTracer.traceDataLineage (LineageTracer.java:313)
at MITI.server.services.lineage.common.LineageTracer.traceTechnicalData (LineageTracer.java:176)
at MITI.web.common.service.facades.LineageFacadeImpl.getLineageGraph (LineageFacadeImpl.java:245)
at MITI.flash.tabs.VizModelLineage.getLineageTree (VizModelLineage.java:429)
at MITI.flash.tabs.VizModelLineage.buildLineageGraph (VizModelLineage.java:356)
at MITI.flash.tabs.VizModelLineage.performAction (VizModelLineage.java:148)
at MITI.server.servlets.FlashServlet.doPost (FlashServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
to org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler.process (AbstractProtocol.java:611)
to org.apache.tomcat.util.net.JIoEndpoint$ SocketProcessor.run (JIoEndpoint.java:316)
to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:895)
to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:918)
to org.apache.tomcat.util.threads.TaskThread$ WrappingRunnable.run (TaskThread.java:61)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.sql.SQLException: ORA-22813: value of the operand exceeds the limits of the system
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1188)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
at MITI.util.database.Query.executeStatement (Query.java:45)
at MITI.util.database.Statement.execute (Statement.java:66)
to MITI.util.database.CommonDataSource$ 1.run(CommonDataSource.java:50)
to MITI.util.database.CommonDataSource$ 1.run(CommonDataSource.java:47)
at MITI.util.database.Transaction.execute (Transaction.java:92)
at MITI.util.database.CommonDataSource.executeTransaction (CommonDataSource.java:80)
... more than 27
Caused by:
java.sql.SQLException: ORA-22813: value of the operand exceeds the limits of the system
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1188)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
at MITI.util.database.Query.executeStatement (Query.java:45)
at MITI.util.database.Statement.execute (Statement.java:66)
to MITI.util.database.CommonDataSource$ 1.run(CommonDataSource.java:50)
to MITI.util.database.CommonDataSource$ 1.run(CommonDataSource.java:47)
at MITI.util.database.Transaction.execute (Transaction.java:92)
at MITI.util.database.CommonDataSource.executeTransaction (CommonDataSource.java:80)
at MITI.util.database.CommonDataSource.executeStatement (CommonDataSource.java:54)
at MITI.server.services.lineage.impl.LineageImpl.traceLineage (LineageImpl.java:554)
at MITI.server.services.lineage.common.LineageTracer.traceLineage (LineageTracer.java:1078)
at MITI.server.services.lineage.common.LineageTracer.traceDataLineage (LineageTracer.java:313)
at MITI.server.services.lineage.common.LineageTracer.traceTechnicalData (LineageTracer.java:176)
at MITI.web.common.service.facades.LineageFacadeImpl.getLineageGraph (LineageFacadeImpl.java:245)
at MITI.flash.tabs.VizModelLineage.getLineageTree (VizModelLineage.java:429)
at MITI.flash.tabs.VizModelLineage.buildLineageGraph (VizModelLineage.java:356)
at MITI.flash.tabs.VizModelLineage.performAction (VizModelLineage.java:148)
at MITI.server.servlets.FlashServlet.doPost (FlashServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
Oracle has published OEMM 12.2.1 and this error is gone! So if you are facing this problem in an older version, just go to the newest one.
-
I can't access my user account even if the password is correct.
I was not able to access my user account even if the password is correct. It happened to our 2 admin represents, so now we only use the guest user account.
Hello
Something must have corrupted these accounts.
You can try to fix it with Safe Mode - repeatedly press F8 as you bootup. The ADMIN account in trunk
Mode has no default password (unless someone has changed the password so it should be available).These problems and similar bugs can help:
A temporary profile is loaded after you connect to a Windows Vista-based system
http://support.Microsoft.com/kb/947242How to fix error "your user profile was not loaded correctly! You have been connected with a
temporary profile. "in Vista
http://www.Vistax64.com/tutorials/135858-user-profile-error-logged-temporary-profile.htmlSome programs such as the updated Google (if you added the toolbar Google, Chrome or Google Earth)
has been known to cause this problem.How to fix error "the user profile Service has no logon. User profile cannot be loaded. »
http://www.Vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.htmlTry these to erase corruption in the case where it plays a role.
1. run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup
2. start - type in the search - box COMMAND find top - RIGHT CLICK – RUN AS ADMIN
sfc/scannow
How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
generates in Windows Vista cbs.log
http://support.Microsoft.com/kb/9282283. then run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.
How to run the check disk at startup in Vista
http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html-----------------------------------------------
Other methods:
Use the hidden administrator account to lower your user account (to the lowest level) APPLY/OK then go back
and reset it to the Admin APPLY/OK - this clearly allows corruption. Do this several times. Do the same for others
accounts that may be difficult. If necessary you can also reset your password in the accounts.
Do not forget to leave your Admin account and the other to the desired level.Make another Admin account with your password and use it to fix the others if necessary. (just for
repair, don't use regular account, not a safety valve) always keep a spare ADMIN account.DO NOT LEAVE THE ENABLED LSA OR USE DAILY. If it corrupts you are toast!
How to enable or disable the real built-in Administrator account in Vista
http://www.Vistax64.com/tutorials/67567-administrator-account.htmlYou can run the Admin account hidden from the prompt by if necessary.
This tells you how to access the System Recovery Options and/or a Vista DVD
http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspxIf you cannot access your old account, you can still use an Admin to migrate to another (do not forget to always
not that an Admin account that is not used except for testing and difficulty).Difficulty of a corrupted user profile
http://windowshelp.Microsoft.com/Windows/en-AU/help/769495bf-035C-4764-A538-c9b05c22001e1033.mspxI hope this helps.
Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.
-
I'm trying to upload my site using ftp, but for some strange reason, the ftp server box becomes red, even if the name is correct. everyone knows about this problem?
Hello
I would ask to share with you the screenshot of the box which becomes red.
Concerning
Vivek
-
Hello!
This is SANDEEP, I loaded data using FDM in HFM. How to check if the data is correct or not, what ever the data I was responsible in HFM.
Please tell me how to recover the data and what format, clearly can you me the data verification process step by step.
It would be useful for me...
Thanks in advance...
Kind regards
SANDEEP
Hi Sandeep,
I think the best way is to extract data from HFM for the same POV that you have loaded FDM and check if it is the same.
If you then use HFM 11.1.2.x version
1. login to the application and go to the menu Administration / extract / data.
2. set the POV that you have loaded the data, then unzip it. You can open the file unzipped in a notebook
3. you can compare the file with the data file generated by FDMEE under Outbox folder.
But what would you give all the data corresponding to the POV that you set. So please ensure that you have the correct POV, defined according to the export FDMEE.
Thank you
Chandra
-
Error ORA-00979 when you run the SQL in Oracle 11.2.0.3
Hi Oracle Experts,
I am trying to execute a SQL statement which consist of 2-3 levels of inline queries. Part of this SQL statement is as below:
When I run the level the lowest and second lowest level inline queries statements, which consists of a select field of data and functions, there is no error and capable of generating the result.SELECT "SAMPLE_RESULT"."PROPERTYID", "SAMPLE_RESULT"."QUALIFIER", ROUND(AVG(SAMPLE_RESULT.RESULT),2) avg_result, AVG(DECODE(SAMPLE.QUALITYSTATUS, 'P', 1,'F', 5)) qltystatus, TO_CHAR("SAMPLE"."SAMPLEDT",'dd-Mon-yyyy') sampledt, TO_CHAR("SAMPLE"."SAMPLEDT",'rrrr-mm-dd') sortdate STD.stdev, getCL.cl FROM ( SELECT ROUND(stddev(INS.avg_result),2) stdev FROM ( SELECT "SAMPLE_RESULT"."PROPERTYID", "SAMPLE_RESULT"."QUALIFIER", ROUND(AVG(SAMPLE_RESULT.RESULT),2) avg_result, AVG(DECODE(SAMPLE.QUALITYSTATUS, 'P', 1,'F', 5)) qltystatus, TO_CHAR("SAMPLE"."SAMPLEDT",'dd-Mon-yyyy') sampledt FROM "SAMPLE", "SAMPLE_RESULT", "ACTIVITY" WHERE ( "SAMPLE"."SAMPLEID" = "SAMPLE_RESULT"."SAMPLEID" ) AND ( "SAMPLE_RESULT"."TESTINSTANCE" = fn_max_instance ( sample.sampleid, sample_result.testid, sample_result.propertyid ) ) AND ( "SAMPLE"."ACTIVITYID" = "ACTIVITY"."ACTIVITYID" ) AND ( ACTIVITY.VARIANTID IN ('Sales Gas','Contaminants End') ) AND ( ACTIVITY.LOCATIONID = 'S-5003C' ) AND ( SAMPLE.EVENTID <> 'AD-HOC' ) AND ( "SAMPLE"."SAMPLESTATUS" = 'L' ) AND ( TO_DATE(TO_CHAR(SAMPLE.SAMPLEDT,'dd-mon-yyyy')) BETWEEN TO_DATE (TO_CHAR(:StartDate,'dd-Mon-RRRR')) AND TO_DATE(TO_CHAR( :StartDate,'dd-Mon-RRRR')) + 6 ) AND ( SAMPLE_RESULT.PROPERTYID = 'GCV' ) GROUP BY SAMPLE_RESULT.PROPERTYID, SAMPLE_RESULT.QUALIFIER, TO_CHAR("SAMPLE"."SAMPLEDT",'dd-Mon-yyyy') ) INS ) STD, ( SELECT ROUND(AVG(INS.avg_result),2) cl FROM ( SELECT "SAMPLE_RESULT"."PROPERTYID", "SAMPLE_RESULT"."QUALIFIER", ROUND(AVG(SAMPLE_RESULT.RESULT),2) avg_result, AVG(DECODE(SAMPLE.QUALITYSTATUS, 'P', 1,'F', 5)) qltystatus, TO_CHAR("SAMPLE"."SAMPLEDT",'dd-Mon-yyyy') sampledt FROM "SAMPLE", "SAMPLE_RESULT", "ACTIVITY" WHERE ( "SAMPLE"."SAMPLEID" = "SAMPLE_RESULT"."SAMPLEID" ) AND ( "SAMPLE_RESULT"."TESTINSTANCE" = fn_max_instance ( sample.sampleid, sample_result.testid, sample_result.propertyid ) ) AND ( "SAMPLE"."ACTIVITYID" = "ACTIVITY"."ACTIVITYID" ) AND ( ACTIVITY.VARIANTID IN ('Sales Gas','Contaminants End') ) AND ( ACTIVITY.LOCATIONID = 'S-5003C' ) AND ( SAMPLE.EVENTID <> 'AD-HOC' ) AND ( "SAMPLE"."SAMPLESTATUS" = 'L' ) AND ( TO_DATE(TO_CHAR(SAMPLE.SAMPLEDT,'dd-mon-yyyy')) BETWEEN TO_DATE (TO_CHAR(:StartDate,'dd-Mon-RRRR')) AND TO_DATE(TO_CHAR( :StartDate,'dd-Mon-RRRR')) + 6 ) AND ( SAMPLE_RESULT.PROPERTYID = 'GCV' ) GROUP BY SAMPLE_RESULT.PROPERTYID, SAMPLE_RESULT.QUALIFIER, TO_CHAR("SAMPLE"."SAMPLEDT",'dd-Mon-yyyy') ) INS ) getCL, "SAMPLE", "SAMPLE_RESULT", "ACTIVITY" WHERE ( "SAMPLE"."SAMPLEID" = "SAMPLE_RESULT"."SAMPLEID" ) AND ( "SAMPLE_RESULT"."TESTINSTANCE" = fn_max_instance (sample.sampleid, sample_result.testid, sample_result.propertyid) ) AND ( "SAMPLE"."ACTIVITYID" = "ACTIVITY"."ACTIVITYID" ) AND ( ACTIVITY.VARIANTID IN ('Sales Gas','Contaminants End') ) AND ( ACTIVITY.LOCATIONID = 'S-5003C' ) AND ( SAMPLE_RESULT.PROPERTYID IN ('GCV','SG','T. Sulphur','Dew Point', 'HC Dew Pts') ) AND ( TO_DATE(TO_CHAR(SAMPLE.SAMPLEDT,'dd-mon-yyyy')) BETWEEN TO_DATE(TO_CHAR (:StartDate,'dd-Mon-RRRR')) AND TO_DATE(TO_CHAR(:StartDate, 'dd-Mon-RRRR')) + 6 ) GROUP BY "SAMPLE_RESULT"."PROPERTYID", "SAMPLE_RESULT"."QUALIFIER", TO_CHAR("SAMPLE"."SAMPLEDT",'dd-Mon-yyyy'), TO_CHAR("SAMPLE"."SAMPLEDT",'rrrr-mm-dd'), STD.stdev, getCL.cl )
But when I run the statement which refer to the alias of queries inline (STD, getCL), it prompted an error ORA-00979 not a group by expression. This happened only Oracle 11.2.0.3. If I run the statement in another version of Oracle (11 GR 1 material and below), I am able to generate the result.
Please advice how can I fix this problem.
Published by: xysOra on 29 April 2013 19:37It seems that this should be the "SAMPLE" TO_CHAR conversions "" SAMPLEDT ".
You seem to be willing to cut the time part of SAMPLEDT. The best way to do so is TRUNC (SAMPLEDT).
In each of the groups of clauses, replace TO_CHAR ('SAMPLE'. ("' SAMPLEDT ', 'dd-Mon-yyyy') with TRUNC ('SAMPLE'. (' "SAMPLEDT") and completely remove the TO_CHAR ('SAMPLE'. ("' SAMPLEDT ',"dd-mm-rrrr") in the last group of.
Replace in selection lists, TO_CHAR ('SAMPLE'. ("' SAMPLEDT ', 'dd-Mon-yyyy') with TO_CHAR (TRUNC ('SAMPLE'. ((' ' SAMPLEDT '), 'dd-Mon-yyyy') and replace TO_CHAR ("SAMPLE". "SAMPLEDT", "dd-mm-rrrr") with TO_CHAR (TRUNC ("SAMPLE" ".")) " "" "SAMPLEDT"), "dd-mm-rrrr").
These changes can take you the ORA-00979 not one group by expression.
Also the date manipulation is wrong — you do implicit conversions to date using default formats, when what you seem to want is to truncate the time part. Instead of
TO_DATE(TO_CHAR(SAMPLE.SAMPLEDT,'dd-mon-yyyy')) BETWEEN TO_DATE(TO_CHAR (:StartDate,'dd-Mon-RRRR')) AND TO_DATE(TO_CHAR(:StartDate, 'dd-Mon-RRRR')) + 6
use
TRUNC(SAMPLE.SAMPLEDT) BETWEEN TRUNC(:StartDate) AND TRUNC(:StartDate) + 6
I hope this helps.
David -
sqlldr returns ORA-14400 even if the partition exists
Hello
I encountered an error with SQL Loader, which I was hoping someone here could help me.
I am loading a file of different length records. What kind of record it is identifiable by a field called record_type and all the records in the file are loaded into the same table.
The problem I encounter is that, on average, a record of each 10000 is rejected with errors:
ORA-00604: an error has occurred at the SQL level 1 recursive
ORA-14400: inserted partition key is not mapped with any partition
These documents go into a .bad file and I look at the date, which is the partition, then I can't find anything that can explain why it was rejected because the partition is there.
When I try to load the .bad file contained in the table, then it works without the documents already rejected being rejected again.
What I don't understand, why the records are rejected in the first place, but then a second attempt loaded with success even if no changes were made to the table (no new added or deleted partitions). I somehow use SQL loader so that it is not intended to be used, or could I have forgotten a parameter into the .ctl file?
Oracle version is 11.1.0.7.0.
I use the control file looks like this (subset, got total 6 types of different recordings)
DOWNLOAD THE DATA
INFILE *.
ADD
IN THE ROAM5 TABLE
WHEN (41:43) = "A3."
TRAILING NULLCOLS
(
FILE_NAME POSITION(1:40) 40 "TRIM(:FILE_NAME)."
RECORD_TYPE POSITION (41:43) TANK (3),
IMSI POSITION (44:58) CHAR (15) "TRIM(:IMSI)."
IMSI_TYPE POSITION (59:60) TANK (2) "TRIM(:IMSI_TYPE)."
SENDER_ID POSITION (61:80) CHAR (20) "TRIM(:SENDER_ID)."
CUSTOMER_TAG POSITION (81:134) TANK (54) "TRIM(:CUSTOMER_TAG)."
DATE_FROM_CDR (135:148) POSITION Date 'YYYYMMDDHH24MISS ',.
CALL_EVENT_DATE (149:162) POSITION Date 'YYYYMMDDHH24MISS ',.
TOTAL_CHARGED_UNITS POSITION (163:167) CHAR (5) "TRIM(:TOTAL_CHARGED_UNITS)."
FINAL_CHARGE_RATE POSITION (168:179) TANK (12) "TRIM(:FINAL_CHARGE_RATE)."
TOTAL_CHARGEABLE_UNITS POSITION (180:184) CHAR (5) "TRIM(:TOTAL_CHARGEABLE_UNITS)."
CURRENCY_CODE POSITION (185:189) CHAR (5) "TRIM(:CURRENCY_CODE)."
USAGE_TYPE POSITION (190:194) CHAR (5) "TRIM(:USAGE_TYPE)."
TAX_RATE POSITION (195:206) TANK (12) "TRIM(:TAX_RATE)."
CAMEL_SERVICE_LEVEL POSITION (207:207) CHAR (1) "TRIM(:CAMEL_SERVICE_LEVEL)."
CALLED_NUMBER POSITION (208:228) TANK (21) "TRIM(:CALLED_NUMBER)."
ANNOTATION POSITION (229:483) CHAR (255) "TRIM(:ANNOTATION)."
CALLING_NUMBER POSITION (484:488) CHAR (5) 'TRIM(:CALLING_NUMBER) '.
)
IN THE ROAM5 TABLE
WHEN (41:43) = "CG3.
TRAILING NULLCOLS
(
FILE_NAME POSITION(1:40) 40 "TRIM(:FILE_NAME)."
RECORD_TYPE POSITION (41:43) TANK (3),
IMSI POSITION (44:58) CHAR (15) "TRIM(:IMSI)."
IMSI_TYPE POSITION (59:60) TANK (2) "TRIM(:IMSI_TYPE)."
SENDER_ID POSITION (61:80) CHAR (20) "TRIM(:SENDER_ID)."
CUSTOMER_TAG POSITION (81:159) TANK (79) "TRIM(:CUSTOMER_TAG)."
CALLING_NUMBER POSITION (160:164) CHAR (5) "TRIM(:CALLING_NUMBER)."
DATE_FROM_CDR (165:178) POSITION Date 'YYYYMMDDHH24MISS ',.
CALL_EVENT_DATE (179:192) POSITION Date 'YYYYMMDDHH24MISS ',.
DATE_FROM_CDR (165:178) POSITION Date 'YYYYMMDDHH24MISS ',.
CALL_EVENT_DATE (179:192) POSITION Date 'YYYYMMDDHH24MISS ',.
TOTAL_CHARGED_UNITS POSITION (193:204) TANK (12) "TRIM(:TOTAL_CHARGED_UNITS)."
FINAL_CHARGE_RATE POSITION (205:216) TANK (12) "TRIM(:FINAL_CHARGE_RATE)."
TOTAL_CHARGEABLE_UNITS POSITION (217:228) TANK (12) "TRIM(:TOTAL_CHARGEABLE_UNITS)."
TAX_RATE POSITION (229:240) TANK (12) "TRIM(:TAX_RATE)."
CURRENCY_CODE POSITION (241:245) CHAR (5) "TRIM(:CURRENCY_CODE)."
USAGE_TYPE POSITION (246:250) CHAR (5) "TRIM(:USAGE_TYPE)."
ANNOTATION POSITION (251:442) CHAR (192) "TRIM(:ANNOTATION)."
APN_NI POSITION (443:447) CHAR (5) 'TRIM(:APN_NI) '.
)
Partitioning is based around a syntax like this:
)
TABLESPACE REVASS_DATA
PCTUSED 0
PCTFREE 10
INITRANS 1
MAXTRANS 255
PARTITION BY RANGE (DATE_FROM_CDR)
(
CDR_20121014 PARTITION VALUES LESS THAN (TO_DATE (' 2012-10-15 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN '))
LOGGING
NOCOMPRESS
I'm grateful for any advice or help that you could give me.
Best regards
Jesper
Published by: 967860 on October 26, 2012 04:10 - Oracle version addedYou do work on a direct path load (direct = y) then check Bug 8611203
-
Data truncation error ORA-12899 ODI File_To_RT: value too large for colum
Hello
Give me an idea so I can truncate the grater data source to length max before you insert into the target table.
Prtoblem details: -.
For my script read the data of the insert and the source .txt file the data in the length of the target table.suppose source file data exceeds the length of col max of the target table. So how I truncates the data so that the data migration will be successful and also can avoid the mistake of ODI "" ORA-12899: value too large for column '. "
Thank you
SébastienI was referring to the source database. Because C$ table is created based pon the source data store. Increase the physical and logical length on a same value.
If you see the code generated for C$ table create table step you can see the size of the column. This table is not able to store the incoming string value.Substr function will be used when the data will be loaded either I$ table or table target.
-
Link table error: ORA-01485: compile bind different length to execute
Hi all -
I'm running on a question where I receive the following error message when you try to use the binding table. I'm dynamically enumeration of a set of data and fill tables Oracle of the same name with all the data from the DataTable. I tried debugging with just a single datatable of 10 records with the double data type, however still receive the exception. For reference, the connection is already open before calling this method.
public void BulkLoadWithArrayBinding (System.Data.DataTable dt)
{
StringBuilder sb = new StringBuilder();
The list settings < OracleParameter > As new List < OracleParameter >(dt.) Columns.Count);
OracleCommand cmd = new OracleCommand();
cmd connection group conn.;
SB. Append ("INSERT INTO" + dt. TableName + "(' ');
foreach (DataColumn DC in dt. Columns)
{
SB. Append (dc. ColumnName.ToUpper ());
If (dc. Ordinal < dt. Columns.Count - 1).
SB. AppendLine(",");
}
SB. Append(") VALUES(");
foreach (DataColumn DC in dt. Columns)
{
string parameterName = dc. ColumnName.ToUpper ();
SB. Append (":" + parameterName);
If (DC. Ordinal < dt. Columns.Count - 1).
SB. AppendLine(",");
String [] sArray = new String [dt. Rows.Count];
Xavier of DateTime [] = new DateTime [dt. Rows.Count];
Decimal [] dbArray = new Decimal [dt. Rows.Count];
OracleParameter p = null;
If (dc. DataType.Name is "String")
{
for (int i = 0; i < dt.) Rows.Count; i ++)
{
[i] sArray is dt. Lines [i] [dc. Ordinal]. ToString();
}
p = new OracleParameter (parameterName,
OracleDbType.Varchar2, dt. Rows.Count, ParameterDirection.Input);
p.CollectionType = OracleCollectionType.PLSQLAssociativeArray;
p.Size = sArray.Length;
p.Value = sArray;
}
ElseIf (dc. DataType.Name is "DateTime")
{
for (int i = 0; i < dt.) Rows.Count; i ++)
{
Xavier [i] = Convert.ToDateTime (dt. Lines [i] [dc. Ordinal]);
}
p = new OracleParameter (parameterName,
OracleDbType.Date, dt. Rows.Count, ParameterDirection.Input);
p.CollectionType = OracleCollectionType.PLSQLAssociativeArray;
p.Size = dArray.Length;
p.Value = ASA;
}
on the other
If (dc. DataType.Name is 'Double')
{
for (int i = 0; i < dt.) Rows.Count; i ++)
{
dbArray [i] = Convert.ToDecimal (dt. Lines [i] [dc. Ordinal]);
}
/ * p = new OracleParameter (parameterName, OracleDbType.Decimal, dbArray.Length, ParameterDirection.Input); * /.
p = new OracleParameter();
p.ParameterName = parameterName;
p.OracleDbType = OracleDbType.Decimal;
p.Direction = ParameterDirection.Input;
p.CollectionType = OracleCollectionType.PLSQLAssociativeArray;
p.Size = dbArray.Length;
p.Value = dbArray;
}
cmd. Parameters.Add (p);
parameters. Add (p);
}
SB. AppendLine ("") ");"
cmd.CommandText = sb. ToString();
cmd.CommandType = CommandType.Text;
cmd ArrayBindCount group dt. Rows.Count;
BindByName. cmd = true;
cmd ExecuteNonQuery());
}Hello
I don't actually run your code, but you should not be put in p.CollectionType = OracleCollectionType.PLSQLAssociativeArray; Associative arrays are differnet liaison of the table.
An associative array is the equivalent of a scalar array type that you would spend in a stored procedure to a single run.
Binding of the table is used to 'run this statement X times, here is the data for all X executions above all. "
Here is a small example, I hope this can help,
Greg//create table onedouble(col1 number); using System; using System.Data; using Oracle.DataAccess.Client; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { double[] doubs = new double[10]; for (int i=0;i<10;i++) doubs[i] = Double.Parse(i.ToString()+"."+i.ToString()); using (OracleConnection con = new OracleConnection("data source=orcl;user id=scott;password=tiger")) { con.Open(); using (OracleCommand cmd = new OracleCommand("", con)) { cmd.CommandText = "insert into onedouble values(:1)"; cmd.ArrayBindCount = 10; cmd.Parameters.Add(new OracleParameter("",OracleDbType.Double)); cmd.Parameters[0].Value = doubs; // this causes ora-1485 //cmd.Parameters[0].CollectionType = OracleCollectionType.PLSQLAssociativeArray; cmd.ExecuteNonQuery(); } } } } }
results
=======SQL > select * from onedouble;
COL1
----------
0
1.1
2.2
3.3
4.4
5.5
6.6
7.7
8.8
9.9 -
HI EXPERTS...
Please helpme to fix this...
I have a database of oracle 11g, runnint on a Windows Server 2008:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
I have two tables:
CREATE TABLE UTILS. SEG_ROLES
(
VARCHAR2 (12-BYTE) APPLICATION,
ROL VARCHAR2 (12-BYTE),
USERS VARCHAR2 (255 BYTE)
)
TOGETHER TO DEFINE
Insert into SEG_ROLES (APPLICATION, ROL, USERS) Values ('MULTIPLAN', 'ADMIN', 'ADMIN');
Insert into SEG_ROLES (APPLICATION, ROL, USERS) Values ("MULTICLIP", 'CAR01', 'PATY');
Insert into SEG_ROLES (APPLICATION, ROL, USERS) Values ("MULTICLIP", "CAR02", "FABIOLA, ERIKA");
Insert into SEG_ROLES (APPLICATION, ROL, USERS) Values ("MULTICLIP", "CON01', 'LUCY, PATY');
Insert into SEG_ROLES (APPLICATION, ROL, USERS) Values ("MULTICLIP", 'CON02', 'VALERIA');
COMMIT;
CREATE TABLE UTILS. SEG_ACCESOS
(
VARCHAR2 (12-BYTE) APPLICATION,
ADMROL VARCHAR2 (12-BYTE),
VARCHAR2 (20 BYTE) MENU,
OPCION VARCHAR2 (20 BYTE),
TYPE VARCHAR2 (5 BYTE),
OBJETO_MENU VARCHAR2 (40 BYTE),
ACCESO VARCHAR2 (2 BYTE),
ROLES_ACCESOS VARCHAR2 (255 BYTE)
)
TOGETHER TO DEFINE
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", "ADMIN", "ROOMMA", NULL, am', 'm_coloca', the of ', 'CAR01, CAR02');
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", "ADMIN", "PUT", "PREVALIDA", "SM", "sm_prevalida", the from ', 'CAR01, CAR02');
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", "ADMIN", "PUT", "PRECOLOCA", "SM", "sm_preColocacion", the from ', 'CAR01, CAR02');
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", 'ADMIN', 'LOVE', "COLOCACIÓN", "SM", "sm_colocacion", the from ', "CAR01");
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", "ADMIN", "PUT", "REGCOLOCA", "SM", "sm_regcoloca", the from ', "CAR01");
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", "ADMIN", "LDP", NULL, am', 'm_PLD', the of ', "CAR01, CAR02, CON01 CON02");
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", "ADMIN", "LDP", "LN_CONSULTA", "SM", "sm_PLD_LNConsulta", the from ', 'CAR01, CAR02');
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", "ADMIN", "LDP", "LN_BARRIDOMASIVO", "SM", "sm_PLD_LNBarridoMasivo", the from ', "CAR01");
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", "ADMIN", "LDP", "REP_INICICLO", "SM", "sm_PLD_ReporIniciclo", the from ', 'CON01, CON02');
Insert into SEG_ACCESOS (APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS)
Values ("MULTICLIP", "ADMIN", "LDP", "LN_BITACORA", "SM", "sm_PLD_LNBitacora", the from ', "CON01");
COMMIT;
- And this point of view:
CREATE VIEW UTILS. VW_ROL_USER AS
Select distinct APPLICATION, ROL, trim (column_value) USUARIO
from (SELECT APPLICATION, ROL, USERS USER
FROM UTILS. SEG_ROLES
WHERE IT IS NOT NULL TO USERS
ORDER BY APPLICATION, ROL
) t,.
XMLTable ((' «' ||)) Replace (USER, ",", "",""). '"'))
order by APPLICATION, ROL, trim (column_value)
CREATE VIEW UTILS. VW_ACC_ROL AS
Select distinct APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, trim (column_value) ROL
(SELECT APPLICATION, ADMROL, MENU, OPTION, TIPO, OBJETO_MENU, ACCESO, ROLES_ACCESOS ROL
FROM UTILS. SEG_ACCESOS
WHERE ROLES_ACCESOS IS NOT NULL
ORDER BY APPLICATION, ADMROL, MENU, OPTION
) t,.
XMLTable ((' «' ||)) Replace (ROL, ",", "",""). '"'))
MENU, TYPE, OPTION, APPLICATION control, trim (column_value)
CREATE VIEW UTILS. VW_SEG_ACCESOS AS
SELECT VACR. APPLICATION, VACR. MENU, VACR. TIPO, VACR. OPCION, VACR. OBJETO_MENU, VACR. ACCESO, VACR. ROL, VUSR. USUARIO
FROM UTILS. VW_ACC_ROL VACR,
UTILS. VW_ROL_USER VUSR
WHERE VACR. ROL = VUSR. ROL
ORDER OF VACR. APPLICATION, VACR. ROL, VACR. MENU, VUSR. USUARIO, VACR. TIPO, VACR. OPCION
When I ask the last posting, it works fine:
SELECT VSEG.* IN UTILS. VW_SEG_ACCESOS VSEG
But when I add conditions:
SELECT VSEG.* IN UTILS. VW_SEG_ACCESOS VSEG
WHERE VSEG. APPLICATION = "MULTIPLAN.
AND VSEG. USER = 'PATY '.
It generates this error:
ORA-22813: value of the operand is greater than the limits of the system
Cause: The value of the object or the Collection was too big. The size of the value might have exceeded 30 k in a context of TYPE, or size may be too large for the available memory.
Action: Choose a different value, and try the operation again.
Why?
Thanks in advance...
Finally found a SOLUTION at: http://stackoverflow.com/questions/14328621/oracle-10g-splitting-string-into-multiple-rows
just change the way we create the view using the regexp_substr.
CREATE VIEW UTILS. VW_ROL_USER AS
SELECT distinct trim APPLICATION, ROL, (regexp_substr (USERS, ' [^,] +', 1, level)) USER
FROM UTILS. SEG_ROLES t
WHERE IT IS NOT NULL TO USERS
CONNECTION BY instr (USERS, ',', 1, level - 1) > 0
order by APPLICATION, ROL
Thank you all
-
RMAN-04004: recovery catalog database error: ORA-12170: TNS: connect the ti
Hello:
Last night ' RMAN backup error: ' RMAN-04004: recovery catalog database error: ORA-12170: TNS: Connect timeout.
I can sqlplus to the target database and the catalog database. The listener is in place. What is the problem? What should I check?
Thanks in advance for your help.in the oratest/orapass@rmandb1 CATALOG,.
rmandb1 is the name of the service. normally the name of the service and the name of db are kept same.
check rmandb1 tnsping where you try to run ' RMAN TARGET / CATALOG oratest/orapass@rmandb1 "command.
as optput will get the ip address of the server on which db is resident, no port, Protocol
as
---------
[Oracle@RAC3 ~] $ tnsping orcl
AMT Ping utility for Linux: Version 10.2.0.5.0 - Production on December 23, 2011 21:12:20
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Use settings files:
/opt/app/Oracle/product/DB/10.2.1/network/admin/SQLNET.oraTNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = rac3.rajesh.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
OK (10 ms)
-------------------------------Here the HOST = rac3.rajesh.com is the present db Server
Published by: Rajesh.Rathod on December 23, 2011 07:43
-
Error: ORA-01031: insufficient privileges, the connect via SQLPlus
Hello
I installed Oracle database 11.2.0.1.0 on Windows 2008.
When I try to connect using sqlplus, it gives me the following error:
C:\users\administrator > sqlplus "/ as sysdba".
SQL * more: Production of release 11.2.0.1.0 Fri Sep 2 10:43:57 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter the user name:
The administrator of the user part of the ora_dba group.
Please help me how I can solve this problem.
Thank youYou are right. I didn't know that it was Windows. My bad! Thanks for pointing it out.
It should be NTS (for the native security)
Maybe you are looking for
-
How to configure synchronization
I used synching my laptop and desktop as well on XP. Now, I try to add a new laptop on Win 8.1. When I set up the sync he asked my e-mail address and a password. However the username and password I had for a few years are two strings of random charac
-
I am the administrator and I can't play games
I am the administrator and I can't play games
-
Pavilion 2014: Wifi problem
My laptop sometimes it just does not receive the same wifi card when I installed the Broadcom drivers. Also, there are no wifi card in the crib devie. There is no just like the wifi card in my laptop. I tried to reboot several times, but it does not
-
just bought a 6 d. shooting multiple exposures, and then disabled it push normal, but the functionality was not disabled. He is still shooting Multipe exhibitions. feel trapped. Help. How to get out or is it a defect of the camera? Thanks for any hel
-
Acer Iconia W510 someone arriving kkkkk to work?
I installed kkkkk but when I run the app, all I get is a black screen. Someone at - it get this working?