Area or view of sql sentences with error??
Hi Gurus!
I wanna know if is there any view or something like that, where I can look for a sql sentence with error?
The views V$SQL, V$SQLAREA, V$SQLTEXT doesn't work for that because they have de last rigth sql sentences and I need the last with error.
Thanks in advance.
SQL Developer maintains a history of the SQL statements that it has issued over time. That is a purely client-side function, though, it just tells you what SQL has been issued by the local client. It doesn't tell you anything about what SQL has been sent to the server by other client applications on the client machine or from other client machines.
Justin
Similar Messages
-
Hi All,
We are in process of CU&UC during the unicode process , we have exported the DB and during Import during create database phase we are facing this problem..
Please suggest.....
@@/oracle/RSS/102_64/rdbms/admin/catproc.sql
exit;
Executed with error.
Thanks,
Subhash.GSome more errors:
Below error from sapinst.log for reference .
INFO 2007-11-03 06:19:35 Removing file /tmp/sapinst_instdir/NW04S/LM/COPY/ORA/SYSTEM/CENTRAL/AS-ABAP/ora_query3_tmp0_1.sql. INFO 2007-11-03 06:19:35 Creating file /tmp/sapinst_instdir/NW04S/LM/COPY/ORA/SYSTEM/CENTRAL/AS-ABAP/ora_query3_tmp0_1.sql. ERROR 2007-11-03 06:43:42 CJS-00084 SQL statement or script failed.
DIAGNOSIS: Error message: ORA-955 for defaultdest ERROR 2007-11-03 06:43:45 MUT-03025 Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined. ERROR 2007-11-03 06:43:47 FCO-00011 The step runCatprocSql with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|runCatprocSql was executed with status ERROR . INFO 2007-11-03 06:53:37 An error occured and the user decide to stop.\n Current step "|NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|runCatprocSql"
Error from ora_sql.log
@@/oracle/RSS/102_64/rdbms/admin/catproc.sql exit; Executed with error.
Thanks -
Hi guys,
Sorry that i'm quite new to PL SQL and oracle. I having some issue on pl sql function as i implementing a CREATE OR REPLACE FUNCTION. Below is my syntax for my function.
create or replace function auth_Name ( v_auth_state IN varchar)
return varchar2 is
v_authName varchar;
BEGIN
select name into v_authName from employee
where
name= v_auth_state;
return v_authName;
end auth_Name;
But whenever I compile it will show "Function created with compilation errors". Isn't it supposed to show "Function created successfully"? anyone can guide me along with this?Hi,
Welcome to the forum!
The immediate problem is that the local variable v_authName can't be declared as just VARCHAR. That's how you give the datatype of an argument (like v_auth_state) or the function's return type, but the local variable has to be given a length.
You could say something like:
v_authName varchar (20);but, since v_authName has to match a specific column from a specific table, it's better to define it as that column's type and length directly.
You might want to do the same for the argument and the return type, like this:
create or replace function auth_Name ( v_auth_state IN employee.name%TYPE)
return employee.name%TYPE is
v_authName employee.name%TYPE;
BEGIN
select name
into v_authName
from employee
where
name = v_auth_state;
return v_authName;
end auth_Name;
show errorsIt looks the function is just returning it's argument. Is that what you want? If not, describe what the function is supposed to do.
As written, the function will have a run-time error if there is not exactly one row in the employee table with the given name. What would you like to happen if there is no matching row in the table? How about if there are several? -
Dynamic SQL run with error 'ORA-29275: partial multibyte character'
Hi All,
In daily work, we use daynamic SQL to load data from another database through DB Link. However, even if I run the following simple statement in our DB, it will raise the error.
CREATE TABLE TEST_TMP
AS
SELECT TRANSACTION_REASON
FROM [email protected] --it is using db link.
WHERE LAST_UPDATE_DATE>=TO_DATE('18-12-2012 22:01:58', 'dd-mm-yyyy hh24:mi:ss');
This statement had been workng correctly before OCT-2012 and there was no change with the source. Afterwards, there was just a change which upgraded the DB version from 10g to 11g on our side. I have browsed my technical articles, but I still cannot find the root cause. Is it due to the updgrading of the DB which practice stricter sanity check?
I don't know.
I'd appreciate of you can give me suggestion if you know such case.
Thanks,
DavidDavid Paul wrote:
Hi,
Can you give me a full explaination about the DL http://vibhorkumar.wordpress.com/2011/02/27/fix-of-ora-29275-partial-multibyte-character/ you mentioned?
I don't understand the query in it well.
Thanks,
DavidDon't confuse yourself... It's just saying to convert data into your local DB type...
Check these queries -
1] /* check this in both your LOCAL and REMOTE databases */
select dump('a',1010) from dual;
I got --
Typ=96 Len=1 CharacterSet=AL32UTF8: 97
So, my charset encoding is AL32UTF8. Similarly, find yours for both Local & Remote DBs.
2]
/* Then do */
CONVERT(transaction_reason,'<local_charset>','<remote_charset>')Edited by: ranit B on Dec 22, 2012 5:46 PM -
When i try to import a schema from one oracle to another one (also 11g), it shows the following errors:
Job 999 has been reopened at Wednesday, 12 October, 2011 16:05
Restarting "SYS1"."999":
Processing object type SCHEMA_EXPORT/USER
ORA-39083: Object type USER failed to create with error:
ORA-00959: tablespace 'HSS' does not exist
Failing sql is:
CREATE USER "HSS" IDENTIFIED BY VALUES 'S:EFC32883462E172BE4E973549229FAD75D854E3B6E24F44EB8830F6D09C9;F258BD7AE1E5E74B' DEFAULT TABLESPAC
E "HSS" TEMPORARY TABLESPACE "TEMP"
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
ORA-39083: Object type SYSTEM_GRANT failed to create with error:
ORA-01917: user or role 'HSS' does not exist
Failing sql is:
GRANT CREATE VIEW TO "HSS"
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
ORA-39083: Object type DEFAULT_ROLE failed to create with error:
ORA-01918: user 'HSS' does not exist
Failing sql is:
ALTER USER "HSS" DEFAULT ROLE ALL
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
ORA-39083: Object type PROCACT_SCHEMA failed to create with error:
ORA-31625: Schema HSS is needed to import this object, but is unaccessible
ORA-01435: user does not exist
Failing sql is:
BEGIN
sys.dbms_logrep_imp.instantiate_schema(schema_name=>SYS_CON
TEXT('USERENV','CURRENT_SCHEMA'), export_db_name=>'ORCL', inst_scn=>'1940096');COMMIT; END;
ORA-39083: Object type TABLE:"HSS"."WKS_PROPERTY" failed to create with error:
ORA-01918: user 'HSS' does not exist
Failing sql is:
CREATE TABLE "HSS"."WKS_PROPERTY" ("ID" NUMBER(10,0) NOT NULL ENABLE, "NAME" VARCHAR2(255 BYTE) NOT NULL ENABLE, "VAL" CLOB
NOT NULL ENABLE, "ORD" NUMBER(10,0) NOT NULL ENABLE) SEGMENT CREATION DEFERRED PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING TABLESPACE "HSS" LOB ("VAL") STORE AS BASICFILE ( TABLESPACE "HSS" ENABLE STORAGE IN ROW CHUNK 8192 NOCACHE L
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/VIEW/VIEW
ORA-39083: Object type VIEW failed to create with error:
ORA-31625: Schema HSS is needed to import this object, but is unaccessible
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.KUPW$WORKER", line 6573
ORA-44001: invalid schema
Job "SYS1"."999" completed with 102 error(s) at 16:05:12
Execution errors encountered.
Job state: COMPLETED
Can anyone give me a hand?
Many thanksthanks after i create the tablespace in destination db the import can process but it still show some error
Job 9 has been reopened at Wednesday, 12 October, 2011 17:46
Restarting "SYS1"."9":
Processing object type SCHEMA_EXPORT/USER
ORA-31684: Object type USER:"HSS" already exists
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
ORA-31684: Object type SEQUENCE:"HSS"."LCM-MIGRATION_ID-SEQ" already exists
ORA-31684: Object type SEQUENCE:"HSS"."WKS_IDENTITY_SEQ" already exists
ORA-31684: Object type SEQUENCE:"HSS"."ESS_FAILOVER_RESOURCE_SEQ" already exists
ORA-31684: Object type SEQUENCE:"HSS"."ESS_FAILOVER_LEASE_OWNER_SEQ" already exists
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
. . imported "HSS"."CSS_ROLE_LOCALES" 1.258 MB 5322 rows
. . imported "HSS"."CSS_ROLE_MEMBERS" 43.88 KB 127 rows
. . imported "HSS"."HSS_COMPONENT_FILES" 23.69 KB 13 rows
. . imported "HSS"."CSS_GROUPS" 8.476 KB 1 rows
. . imported "HSS"."CSS_IDENTITY" 6.484 KB 2 rows
. . imported "HSS"."CSS_MEMBER_TYPE" 5.468 KB 3 rows
. . imported "HSS"."CSS_PROVISIONING_INFO" 14.12 KB 18 rows
. . imported "HSS"."CSS_ROLES" 42.69 KB 174 rows
. . imported "HSS"."CSS_USERS" 10.63 KB 1 rows
. . imported "HSS"."HSS_COMPONENT" 11.07 KB 57 rows
. . imported "HSS"."HSS_COMPONENT_LINKS" 16.93 KB 134 rows
. . imported "HSS"."HSS_COMPONENT_PROPERTY_VALUES" 38.67 KB 434 rows
. . imported "HSS"."HSS_COMPONENT_TYPES" 10.01 KB 143 rows
. . imported "HSS"."PRODUCT" 8 KB 13 rows
. . imported "HSS"."QRTZ_LOCKS" 5.109 KB 5 rows
. . imported "HSS"."SMA_AUDIT_AREA_DIM" 8.015 KB 28 rows
. . imported "HSS"."SMA_CONFIG" 16.31 KB 116 rows
. . imported "HSS"."SMA_FILTER_DIM" 15.40 KB 116 rows
. . imported "HSS"."SMA_GLOBAL_CONFIG_MAP" 15.24 KB 116 rows
. . imported "HSS"."SMA_GLOBAL_SETTING" 7.664 KB 1 rows
. . imported "HSS"."SMA_TASK_DIM" 16.54 KB 116 rows
. . imported "HSS"."CES_ACL_INFO" 0 KB 0 rows
. . imported "HSS"."CES_APPS" 0 KB 0 rows
. . imported "HSS"."CES_AUTO_PROCESS_TASK" 0 KB 0 rows
. . imported "HSS"."CES_MESSAGES" 0 KB 0 rows
. . imported "HSS"."CES_PARTICIPANT" 0 KB 0 rows
. . imported "HSS"."CES_PARTICIPANT_EVENTS" 0 KB 0 rows
. . imported "HSS"."CES_PROCESS_DEF" 0 KB 0 rows
. . imported "HSS"."CES_PUSH_AUTO_PROCESS_TASK" 0 KB 0 rows
. . imported "HSS"."CES_SYSTEM" 0 KB 0 rows
. . imported "HSS"."CES_TASKS" 0 KB 0 rows
. . imported "HSS"."CES_TASKS_RESULT" 0 KB 0 rows
. . imported "HSS"."CES_USERS" 0 KB 0 rows
. . imported "HSS"."CES_WF_INSTANCES" 0 KB 0 rows
. . imported "HSS"."CSS_DELEGATED_LIST" 0 KB 0 rows
. . imported "HSS"."CSS_DELEGATED_MEMBERS" 0 KB 0 rows
. . imported "HSS"."CSS_GROUP_CACHE_DELTA" 0 KB 0 rows
. . imported "HSS"."CSS_GROUP_MEMBERS" 0 KB 0 rows
. . imported "HSS"."CSS_USER_PREFERENCES" 0 KB 0 rows
. . imported "HSS"."ESS_CLUSTER_SERVER_MAPPING" 0 KB 0 rows
. . imported "HSS"."ESS_FAILOVER_LEASE" 0 KB 0 rows
. . imported "HSS"."ESS_FAILOVER_LEASE_OWNER" 0 KB 0 rows
. . imported "HSS"."ESS_FAILOVER_RESOURCE" 0 KB 0 rows
. . imported "HSS"."HDB_SCHEDULED_TASKS" 0 KB 0 rows
. . imported "HSS"."HSS_COMPONENT_TIERS" 0 KB 0 rows
. . imported "HSS"."LCM_MIGRATION" 0 KB 0 rows
. . imported "HSS"."LCM_MIGRATION_TASK" 0 KB 0 rows
. . imported "HSS"."LCM_MIGRATION_TASK_DETAILS" 0 KB 0 rows
. . imported "HSS"."QRTZ_BLOB_TRIGGERS" 0 KB 0 rows
. . imported "HSS"."QRTZ_CALENDARS" 0 KB 0 rows
. . imported "HSS"."QRTZ_CRON_TRIGGERS" 0 KB 0 rows
. . imported "HSS"."QRTZ_FIRED_TRIGGERS" 0 KB 0 rows
. . imported "HSS"."QRTZ_JOB_DETAILS" 0 KB 0 rows
. . imported "HSS"."QRTZ_JOB_LISTENERS" 0 KB 0 rows
. . imported "HSS"."QRTZ_PAUSED_TRIGGER_GRPS" 0 KB 0 rows
. . imported "HSS"."QRTZ_SCHEDULER_STATE" 0 KB 0 rows
. . imported "HSS"."QRTZ_SIMPLE_TRIGGERS" 0 KB 0 rows
. . imported "HSS"."QRTZ_TRIGGERS" 0 KB 0 rows
. . imported "HSS"."QRTZ_TRIGGER_LISTENERS" 0 KB 0 rows
. . imported "HSS"."SMA_APPLICATION_CONFIG_MAP" 0 KB 0 rows
. . imported "HSS"."SMA_AUDIT_ATTRIBUTE_FACT" 0 KB 0 rows
. . imported "HSS"."SMA_AUDIT_FACT" 0 KB 0 rows
. . imported "HSS"."SMA_PROJECT_CONFIG_MAP" 0 KB 0 rows
. . imported "HSS"."SMA_TEMP_LCM_IN" 0 KB 0 rows
. . imported "HSS"."SMA_TEMP_USER_IN" 0 KB 0 rows
. . imported "HSS"."WKS_GROUP" 0 KB 0 rows
. . imported "HSS"."WKS_IDENTITY" 0 KB 0 rows
. . imported "HSS"."WKS_IDENTITY_XREF" 0 KB 0 rows
. . imported "HSS"."WKS_PROPERTY" 0 KB 0 rows
. . imported "HSS"."WKS_ROLE" 0 KB 0 rows
. . imported "HSS"."WKS_SUBJECT" 0 KB 0 rows
. . imported "HSS"."WKS_USER" 0 KB 0 rows
. . imported "HSS"."WKS_VERSION" 0 KB 0 rows
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
ORA-39083: Object type INDEX_STATISTICS failed to create with error:
ORA-01403: no data found
ORA-01403: no data found
Failing sql is:
DECLARE I_N VARCHAR2(60); I_O VARCHAR2(60); c DBMS_METADATA.T_VAR_COLL; df varchar2(21) := 'YYYY-MM-DD:HH24:MI:SS'
; BEGIN DELETE FROM "SYS"."IMPDP_STATS"; c(1) := 'TRIGGER_NAME'; c(2) := 'TRIGGER_GROUP'; DBMS_METADATA.GET_STAT_INDNAME('HSS','QRTZ_TRIGGERS',c,2,i_o,i_n); INSERT INTO "SYS"."IMPDP_STATS" (type,version,flags,c1,c2,c3,c5,n1,n2,n3,n4,n5,n6,n7,n8,n9,
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/VIEW/VIEW
ORA-31684: Object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-31684: Object type VIEW:"HSS"."VW_APPLICATIONS_CLUSTER" already exists
ORA-31684: Object type VIEW:"HSS"."ESS_FAILOVER_ACTIVE_NODE_VIEW" already exists
Processing object type SCHEMA_EXPORT/VIEW/COMMENT
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
ORA-39111: Dependent object type COMMENT skipped, base object type VIEW:"HSS"."VW_APPLICATIONS" already exists
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Job "SYS1"."9" completed with 23 error(s) at 17:46:27
Execution errors encountered.
Job state: COMPLETED -
Hi Folks-
It has been a while and I hope this finds you all doing well.
I am working oin a customer application and we are experiencing intermitment MS SQL 2005 insert errors. We have isolated the cause as the use of the special character, the apostrophe (i.e. " " ") in a material/item description. The underlying MES application can accept the apostrophe along with the SAP MM back-end, but not MII, The MII version is 12.0.6 Build 14. The application also uses the Java Plug-in version 1.6.0_07, which is also the Java Runtime version. I am not sure of the SQL jdbc being used but was hoping that perhaps there was a version that could "handle" this special character issue or if there was a non-programmatic way to address this. At this point we are anxious about changing Master Data.
Any insights or suggestions would be appreciated. Thanks in advance and I look forward to your responses.
Kevin Fitzgerald
Invensys Operation ManagementHi Kedar-
This is great information and I thank you for your insights. I do have what I hope are 2 brief follow-on questions:
1. Does the single quote/apostrophe represent a general escape character that can be used in all cases? Are there others (i.e. \n, etc.)
2. Your special characters cited above do not include the asterik, *. My customer has also decided to use this special character in a new product description (go figure!!). Can this be "escaped out" via the same means?
I have been able to successfully use the java function stringreplace to alter the text as you suggest- even for a local and I hope transaction variable. Any additional comments per my questions above would certainly advance the cause.
Thanks again and I look forward to your comments. Take care and be safe.
Kevin -
How to export data and SQL sentence?
Hi all,
I need to create SQL sentences with INSERT INTO clauses of exported data from a table to populate another table?
Thanks and best regards,
Carlos N.Inserting one row at a time is inefficient.
You can do this instead
SQL> select decode(rownum,1,'Insert all'||chr(13),' ')||
2 'into emp (empno,ename) values ('||empno||','''||ename||''')' from emp
3 /
DECODE(ROWNUM,1,'INSERTALL'||CHR(13),'')||'INTOEMP(EMPNO,ENAME)VALUES('||EMPNO||','''||ENAME||''
Insert all into emp (empno,ename) values (7369,'SMITH')
into emp (empno,ename) values (7499,'ALLEN')
into emp (empno,ename) values (7521,'WARD')
into emp (empno,ename) values (7566,'JONES')
into emp (empno,ename) values (7654,'MARTIN')
into emp (empno,ename) values (7698,'BLAKE')
into emp (empno,ename) values (7782,'CLARK')
into emp (empno,ename) values (7788,'SCOTT')
into emp (empno,ename) values (7839,'KING')
into emp (empno,ename) values (7844,'TURNER')
into emp (empno,ename) values (7876,'ADAMS')
into emp (empno,ename) values (7900,'JAMES')
into emp (empno,ename) values (7902,'FORD')
into emp (empno,ename) values (7934,'MILLER')
select * from dual ; --- // Add this statement manually or in the script
-- // using prompt statement in sqlplus SS -
SNP Optimizer run ends with error: Error when determining Customizing data
Hi All
Can you help please what settings are missing: SNP optimizer run canceled with error "Error when determining Customizing data".
Thanks
Best Regards
AndreyOn integration tab of SNP optimizer profile,
maintain 'regard as customer demand' for both dependent demands and distribution demands for fixed orders.
By default it is 'regard as hard constraint' which should be changed.
bye,
Nitin Thatte -
(Error: BOMGR 0060) IDispatch error # 109 Connection or SQL sentence error
Hi all members
BO version: BO 6.5
My client is facing following error in Infoview all of sudden for last 2 weeks while viewing the published reports in an Infoview.
BusinessObjects server process raised an automation exception. (Error: BOMGR 0060) IDispatch error # 109 Connection or SQL sentence error.
(DA0005): [Exception: DBD, ORA-12154:
TNS:could not resolve the connect identifier specified State: N/A] The following data providers have not been successfully refreshed:
SQL 1 with XYZ. (DMA0007): (BSSBUWSIT0001.xxxxxx.com)
(returned by function Refreshing Document
Following is the wording of my client
"it comes to all reports, only few run smoothly, and if we restart the server it goes immediately otherwise it takes some time to get disappearu2026"
Kindly any member guide me for the resolution of this problem.
Thanks in advance
Regards,
Izhar
Edited by: izhar ahmed on Sep 29, 2008 12:03 PMHi Izhar,
Could you please review the following information it might help you to resolve the issue.
You need to check the following things.
Things to check:
1. ORACLE PATH in client SYSTEM VARIABLES:
On the Windows 2000 CLIENT user machine:
- Right-click on "My Computer" and select "Properties". The "System Properties" window appears.
- Go to the "Advanced" tab and 'Environment Variables' and under 'System Variables' window the 'path' variable.
- Click on 'Edit' and copy and paste the info into this case notes. Check if there is more than one Oracle home defined in the "Path" system variable.
- If there is more than one Oracle home defined, then edit your "Path" variable so that only one Oracle home is defined.
2. TNSNAMES.ORA:
- Check to see if any multiple copies of the "tnsnames.ora" file and the "sqlnet.ora" file are identical to each other.
There may be a problem with certain lines contained within the tnsnames.ora in C:\ORANT\NET80\ADMIN folder.
eg: [(COMMUNITY = TCP.world), (GLOBAL_NAME = LIVEServer.world)]
3. OCIW32.dll Search for these on client machine
You may have a copy of the "OCIW32.dll" file in both the Oracle client/bin and the other <Oracle application>/bin directories.
Rename or remove the "OCIW32.dll" file located in the other Oracle application /bin directory.
Note:
Please make sure that you have installed only one version of Oracle middleware, which must be the same version as the query database (ie NOT SQL Net 2.3 if you are connecting to a Oracl 8.1.6 query database)
4. CHECK THE REGISTRY ORACLE_HOME:
Check if one version of middleware on that machine, by the registry contacts. BO will look for the middleware in:
HKEY_LOCAL_MACHINE/Software/Oracle : ORACLE_HOME
Other Business Objects tests to carry out:
1. import the universe via Supervisor and go into properties -> Test connection. Any errors?
2. Check the connection - 'Edit' --> Database Engine - which Oracle driver version is being used for this universe?
3. Check the universe domain by clicking Tools -> Repository -> Click on Universe domain and Test. Also click 'Modify' to select the correct Oracle driver version.
*********MORE*****
In order to find in it all information for the connection to the database BO always checks the path of the middleware (Control Panel -> System -> Environment -> Path (eg C: ORANT) and uses the first occurrence of ociw32.dll found within the %path%. Business Objects also reads the Oracle registry and the value ORACLE_HOME to find the list of TNS but it cannot deal with two different versions of Oracle.
Consequently, both need to be synchronized to avoid a problem.
Regards,
Sarbhjeet Kaur -
BO Error - Connection or SQL sentence error (DA0005)
Hi All,
I am facing an issue while connecting to BO -
Connection or SQL sentence error (DA0005)
Exception: DBD, ORA-12170: TNS:Connect timeout occuredState: N/A
Funny thing is, this error occurs on some machines, whereas on some it does not. There, BO works pretty smooth. We tried exchanging the TNS files between machines, tried matching the firewall rules, but nothing works.
Any ideas on why this is happening? Thanks a lot in advance!
Cheers,
AkshayOur issue seems very similar to yours. The errors we have are:
Connection or SQL sentence error (DA0005). Unable to create connection.
or
A connection required to refresh this document is unavailable (DA0004)
or
Cannot open file due to unknown error (FRM0007)
I've tried lots of posts on google but couldn't find proper solution.
Desperately looking for help as the users are just not able to work with this kind of errors
and there's still time for us to commence the upgrade.
Wondering what's your environment. Ours as below:
BOXI R2 sp6
Database: Oracle 11g -
Java.sql.SQLException: Internal Error: Inconsistent catalog view
Hi all,
I have an Oracle procedure defined like:
pkgoms.p_oms_audit ( in_tab_oms_audit in tab_oms_audit,out_status out number)
tab_oms_audit is a collection of t_oms_audit
Here is the structure for the type (with 16 fileds)
create or replace type t_oms_audit as object(
Username_ VARCHAR2(101),
d_Date_ Date,
<other fields>) ;
In my Java code I have:
// conn is the connections to db
oracle.sql.StructDescriptor structDesc = oracle.sql.StructDescriptor.createDescriptor("TAB_OMS_AUDIT", conn);
Object[] attributes = new Object[16];
// Fill out the array: attributes[] in the same structure that t_oms_audit is defined
// Receive the following error on the next line:
// java.sql.SQLException: Internal Error: Inconsistent catalog view
oracle.sql.STRUCT struct = new oracle.sql.STRUCT(structDesc, conn, attributes);
anOracleCallableStatement.setObject(1, struct, java.sql.Types.STRUCT);
anOracleCallableStatement.execute();I searched for the above error and the only thing I could find was that its a permission issue; I can execute select, update, insert, delete, ... on db, so not sure if its in fact a permission issue or I am doing sth. else wrong. Any help is greatly appreciated.Hi all
I have the same problem.
it's not a GRANT problem because in PL/SQL the object works fine.
JDBC Release problem?
Any help is greatly appreciated. -
I am running SQL Agent that executes an SSIS process from sql server1. The SSIS process executes its SQL/tables/sp’s against another sql server2.
I get an error after adding data flow tasks with transaction supported within a sequence with transaction required. The error, “The SSIS Runtime has failed to enlist the OLE DB connection in a distributed transaction with error 0x8004D024 "The transaction
manager has disabled its support for remote/network transactions"
Prior to adding this sequence everything was working from sql agent, and there were other sequences with oledb destinations.
Everything works when running within SSIS Package.
I see this article on similar issue,
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0bfa2569-8849-4884-8f68-8edf98a9b4fe/problem-to-execute-a-package-and-tasks-with-a-certain-transactionoption-property-i-need-help?forum=sqlintegrationservices
“I had similar issue and solved by setting the following on both the machines. Allow Remote Clients, Allow Remote Administration,
Allow Inbound Clients, Allow Outbound Clients, and TIP are enabled in Component Services/My Computer/Properties/MSDTC/Security Configuration.”
I don’t want to remove transaction required for the “Remove Duplicates from Staging” sequence.
Anyone seen this?
Greg HansonDTC was running on remote computer. The problem was it was no longer accepting transactions from remote servers. This was in SSIS so I had to turn to "Transaction Supported" for all Data Flow Transactions.
Greg Hanson -
We are working on some extraordiary long SQL stored procedure. Due to the shear size and IF/ELSE nesting it is very tedious to understand the logic .
What I am looking for is an SQL editor with tree view, where we can see IF/ ELSE, LOOP etc block as nodes. For example expand a node and see all blcoks of code within it.
+ IF block 1
expand---
-IF blcok 1
+IF block 1.1
+IF block 1.2
further expand
-IF blcok 1
+IF block 1.1
-IF block 1.2
IF block 1.2.1Do some Google searches for a text editor that supports "folding".
-
The below SQL runs fine on DB11.2.0.1.0 but fails on DB9.2.0.8.0 with error:
WITH users_with_dba_privs AS
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-00904: "from$_subquery$_005"."PARENT": invalid identifier
SQL
WITH users_with_dba_privs AS
(select distinct child user_name
from (select null parent, 'DBA' child from dual
union all
select granted_role parent, grantee child
from dba_role_privs)
where child in (select username from dba_users)
start with parent is null connect by parent = prior child )
select 'select_any_table',
substr(SYS_CONNECT_BY_PATH(c, '->'),3,512) path, c
from (select null p, name c
from system_privilege_map
where name = 'SELECT ANY TABLE'
union all
select -- users/roles and roles granted
granted_role p,
grantee c
from dba_role_privs
where granted_role != 'DBA'
union all
select -- users/roles with select any table
privilege p, grantee c
from dba_sys_privs
where privilege = 'SELECT ANY TABLE')
where (c = 'PUBLIC' OR c in (select username from dba_users))
AND c NOT IN('MDSYS','DMSYS','CTXSYS','WMSYS','ORDSYS','OLAPSYS','DBSNMP')
and c NOT IN (select user_name from users_with_dba_privs)
start with p is null connect by p = prior c
union all
select 'select_privilege',
substr(SYS_CONNECT_BY_PATH(c, '->'),3,512) path, c
from (select null p, view_name c
from dba_views
where view_name like 'DBA_%'
union all
select -- users/roles and roles granted
granted_role p,
grantee c
from dba_role_privs
where granted_role != 'DBA'
union all
select -- users/roles with select on DBA views
table_name p, grantee c
from dba_tab_privs
where privilege = 'SELECT'
and table_name like 'DBA_%')
where (c = 'PUBLIC' OR c in (select username from dba_users))
AND c NOT IN('MDSYS','DMSYS','CTXSYS','WMSYS','ORDSYS','OLAPSYS','DBSNMP')
and c NOT IN (select user_name from users_with_dba_privs)
start with p is null connect by p = prior c
Thanks in advance.
~Hozyhoek,
Why do you think this WITH clause is special?
I've taken the liberty of formatting the code, and can't see what's wrong. (Maybe I'm just too tired)
I believe 9i did have subquery factoring.
with users_with_dba_privs
as ( select distinct child user_name
from ( select null parent, 'DBA' child from dual
union all
select granted_role parent, grantee child
from dba_role_privs)
where child in ( select username from dba_users)
start with parent is null
connect by parent = prior child)
select 'select_any_table', substr(sys_connect_by_path(c, '->'), 3, 512) path, c
from (select null p, name c
from system_privilege_map
where name = 'SELECT ANY TABLE'
union all
select -- users/roles and roles granted
granted_role p, grantee c
from dba_role_privs
where granted_role != 'DBA'
union all
select -- users/roles with select any table
privilege p, grantee c
from dba_sys_privs
where privilege = 'SELECT ANY TABLE')
where (c = 'PUBLIC'
or c in ( select username from dba_users))
and c not in
('MDSYS'
,'DMSYS'
,'CTXSYS'
,'WMSYS'
,'ORDSYS'
,'OLAPSYS'
,'DBSNMP')
and c not in ( select user_name from users_with_dba_privs)
start with p is null
connect by p = prior c
union all
select 'select_privilege', substr(sys_connect_by_path(c, '->'), 3, 512) path, c
from (select null p, view_name c
from dba_views
where view_name like 'DBA_%'
union all
select -- users/roles and roles granted
granted_role p, grantee c
from dba_role_privs
where granted_role != 'DBA'
union all
select -- users/roles with select on DBA views
table_name p, grantee c
from dba_tab_privs
where privilege = 'SELECT'
and table_name like 'DBA_%')
where (c = 'PUBLIC'
or c in ( select username from dba_users))
and c not in
('MDSYS'
,'DMSYS'
,'CTXSYS'
,'WMSYS'
,'ORDSYS'
,'OLAPSYS'
,'DBSNMP')
and c not in ( select user_name from users_with_dba_privs)
start with p is null
connect by p = prior cRegards
Peter -
Need help with SQL Query with Inline View + Group by
Hello Gurus,
I would really appreciate your time and effort regarding this query. I have the following data set.
Reference_No---Check_Number---Check_Date--------Description-------------------------------Invoice_Number----------Invoice_Type---Paid_Amount-----Vendor_Number
1234567----------11223-------------- 7/5/2008----------paid for cleaning----------------------44345563------------------I-----------------*20.00*-------------19
1234567----------11223--------------7/5/2008-----------Adjustment for bad quality---------44345563------------------A-----------------10.00------------19
7654321----------11223--------------7/5/2008-----------Adjustment from last billing cycle-----23543556-------------------A--------------------50.00--------------19
4653456----------11223--------------7/5/2008-----------paid for cleaning------------------------35654765--------------------I---------------------30.00-------------19
Please Ignore '----', added it for clarity
I am trying to write a query to aggregate paid_amount based on Reference_No, Check_Number, Payment_Date, Invoice_Number, Invoice_Type, Vendor_Number and display description with Invoice_type 'I' when there are multiple records with the same Reference_No, Check_Number, Payment_Date, Invoice_Number, Invoice_Type, Vendor_Number. When there are no multiple records I want to display the respective Description.
The query should return the following data set
Reference_No---Check_Number---Check_Date--------Description-------------------------------Invoice_Number----------Invoice_Type---Paid_Amount-----Vendor_Number
1234567----------11223-------------- 7/5/2008----------paid for cleaning----------------------44345563------------------I-----------------*10.00*------------19
7654321----------11223--------------7/5/2008-----------Adjustment from last billing cycle-----23543556-------------------A--------------------50.00--------------19
4653456----------11223--------------7/5/2008-----------paid for cleaning------------------------35654765-------------------I---------------------30.00--------------19
The following is my query. I am kind of lost.
select B.Description, A.sequence_id,A.check_date, A.check_number, A.invoice_number, A.amount, A.vendor_number
from (
select sequence_id,check_date, check_number, invoice_number, sum(paid_amount) amount, vendor_number
from INVOICE
group by sequence_id,check_date, check_number, invoice_number, vendor_number
) A, INVOICE B
where A.sequence_id = B.sequence_id
Thanks,
NickIt looks like it is a duplicate thread - correct me if i'm wrong in this case ->
Need help with SQL Query with Inline View + Group by
Regards.
Satyaki De.
Maybe you are looking for
-
Pricing diff in sales order diff in billing
Frnds I have 3 pricing procedures for a client....in sales order all 3 are visible as per the respective document type but when i go to invoice for all 3 document types it picking just one specific pricing procedure eveytime......do i need to chng an
-
Hi, sometimes 3905 phones cannot transfer calls: user press tranfer key, dial the extension but nothing happens. The problem is random and disappears resetting the phone. Callmanager Version:8.6.2.22900-9 Phone version: 9-2-2-0 Thank you.
-
Category ABAP Programming Error Runtime Errors CONVT_NO_NUMBER Except. CX_SY_CONVERSION_NO_NUMBER ABAP Program ZMM_MIGO_GOODS_ISSUE Application Component Not assigned Date and Time 26.05.2014 1
-
G4 does not accept my network password
All of a sudden, my ibook g4 does not accept my network password. My mac mini (also on my network) accepts it just fine. I restarted my network but the same problem occurs. Help please!
-
Contacting Apple to Deauthorise
Ok guys, first time poster here for support as I usually read up on topics as people have often asked before! So hi and thanks for all the previous posters asking the questions I didn't have to balls to ask :P Anyhoo on to the point, I'm the kind of