ORA-02070: database PSQL_REPORT does not support some function in this cont
[oracle@stdb ~]$ sqlplus / as sysdba
SQL*Plus: Release *10.2.0.5.0* - Production on Tue Mar 20 13:15:35 2012
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
Session altered.
Elapsed: 00:00:00.00
13:23:36 SQL> desc "report_accident_detail"@PSQL_REPORT
Name Null? Type
id NOT NULL NUMBER(10)
accident_master_id NOT NULL NUMBER(10)
subscriber_id NOT NULL NUMBER(10)
unit_id NOT NULL NUMBER(10)
event_number NUMBER(10)
reg_number VARCHAR2(254)
vin VARCHAR2(254)
servertime_begin NUMBER(10)
servertime_end NUMBER(10)
event_datetime DATE
event_address VARCHAR2(254)
event_location VARCHAR2(254)
latitude FLOAT(53)
longitude FLOAT(53)
area_id NUMBER(3)
area_kind NUMBER(1)
ignition_state NUMBER(5)
accel_value_x FLOAT(53)
accel_value_y FLOAT(53)
accel_value_z FLOAT(53)
vehicle_speed FLOAT(53)
call_to_customer_datetime DATE
is_customer_confirmed_accident NUMBER(10)
note VARCHAR2(254)
gen_datetime DATE
1* select count(*) from "report_accident_detail"@PSQL_REPORT
13:21:33 SQL> /
COUNT(*)
150
1 row selected.
Elapsed: 00:00:00.01
1* select * from "report_accident_detail"@PSQL_REPORT
13:21:57 SQL> /
ERROR:
ORA-02068: following severe error from PSQL_REPORT
ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.1.4)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=PSQL_REPORT)))
no rows selected
Elapsed: 00:00:00.09
initPSQL_REPORT.ora
HS_FDS_CONNECT_INFO = PSQL_REPORT
HS_FDS_TRACE_LEVEL = 255
HS_FDS_SHAREABLE_NAME = /usr/lib64/psqlodbc.so
HS_LANGUAGE = AMERICAN_AMERICA.CL8MSWIN1251
HS_FDS_SQLLEN_INTERPRETATION=32
set ODBCINI = /etc/odbc.ini
set ODBCINSTINI = /etc/odbcinst.ini
Oracle Database CHARACTER SET CL8MSWIN1251
Postgres Database
CREATE DATABASE "3st_reports"
WITH OWNER = sysdba
ENCODING = 'UTF8'
TABLESPACE = pg_default
LC_COLLATE = 'ru_RU.UTF-8'
LC_CTYPE = 'ru_RU.UTF-8'
CONNECTION LIMIT = -1;
Listener:
[oracle@stdb ~]$ cat /u01/app/oracle/product/11.2.0/Gateway_x64/network/admin/listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/Gateway_x64/network/admin/listener.ora
# Generated by Oracle configuration tools.
GATEWAY_X64 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.1.4)(PORT = 1522))
SID_LIST_GATEWAY_X64 =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = PSQL)
(PROGRAM = dg4odbc)
(SID_NAME = PSQL)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/Gateway_x64)
(ENVS=LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2.0/Gateway_x64/lib)
(SID_DESC =
(GLOBAL_DBNAME = PSQL_REPORT)
(PROGRAM = dg4odbc)
(SID_NAME = PSQL_REPORT)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/Gateway_x64)
(ENVS=LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2.0/Gateway_x64/lib)
#INBOUND_CONNECT_TIMEOUT_GATEWAY_X64 = 0
ADR_BASE_GATEWAY_X64 = /u01/app/oracle
strace shows me 'Segmentation fault':
2807 write(7, " SQLFetch: row: 1, column 22, bf"..., 51) = 51
2807 write(7, " SQLFetch: row: 1, column 22, bf"..., 63) = 63
2807 write(7, " SQLFetch: row: 1, column 23, bf"..., 50) = 50
2807 write(7, " SQLFetch: row: 1, column 23, bf"..., 62) = 62
2807 write(7, " SQLFetch: row: 1, column 24, bf"..., 53) = 53
2807 write(7, " SQLFetch: row: 1, column 24, bf"..., 82) = 82
2807 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
2807 rt_sigprocmask(SIG_UNBLOCK, [SEGV], NULL, 8) = 0
2807 chdir("/u01/app/oracle/product/11.2.0/Gateway_x64/rdbms/log") = 0
2807 mkdir("hs_core_2807", 0750) = 0
2807 chdir("hs_core_2807") = 0
2807 open("/u01/app/oracle/product/11.2.0/Gateway_x64/rdbms/log/hs_core_2807/hs_core_trace_2807.trc", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 10
2807 fstat(10, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
2807 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaab616000
PSQL_REPORT_agt_2903.trc
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- TUESDAY MAR 20 2012 13:13:17.733
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
HOSGIP returned value of "UCS2" for HS_NLS_NCHAR
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
HOSGIP returned value of "32" for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "PSQL_REPORT"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:PSQL_REPORT
SQLFetch: row: 1, column 20, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
0: C1CAA145 B6F3ED3F [...E...?]
SQLFetch: row: 1, column 21, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 21, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
0: 00000000 00005440 [......T@]
SQLFetch: row: 1, column 22, bflsz: 16, bflar: -1
SQLFetch: row: 1, column 22, bflsz: 16, bflar: SQL_NULL_DATA
SQLFetch: row: 1, column 23, bflsz: 4, bflar: -1
SQLFetch: row: 1, column 23, bflsz: 4, bflar: SQL_NULL_DATA
SQLFetch: row: 1, column 24, bflsz: 65537, bflar: 0
SQLFetch: row: 1, column 24, bflsz: 65537, bflar: 0, (bfl: 65536, mbl: 1000000)
[root@stdb ~]# cat */etc/odbc.ini*
[ODBC Data Sources]
PSQL_REPORT = PostgreSQL
[PSQL_REPORT]
Driver = PostgreSQL
Description = PostgreSQL_DSN
DSN = PSQL
Servername = 172.16.1.6
Username = sysdba
Password = ***
Database = 3st_reports
ReadOnly = No
Servertype = postgres
Port = 5432
#FetchBufferSize = 1000
#EnableQuotedIdentifiers = 1
#TDS_Version = 8.0
Trace=Yes
TraceFile=/tmp/odbc.log
[root@stdb ~]# cat */etc/odbcinst.ini *
[ODBC]
Trace=Yes
TraceFile=/tmp/odbc.log
# Included in the unixODBC package
[PostgreSQL]
Description = ODBC for PostgreSQL
Driver = /usr/lib64/psqlodbcw.so
Setup = /usr/lib64/psqlodbcw.so
FileUsage = 1
Debug = 1
Edited by: 922067 on 20-Mar-2012 03:21
Thank you for the answer.
The table definition in postgres db:
CREATE TABLE report_accident_detail
id serial NOT NULL,
accident_master_id integer NOT NULL,
subscriber_id integer NOT NULL,
unit_id integer NOT NULL,
event_number integer,
reg_number character varying(15),
vin character varying(30),
servertime_begin numeric(10,0),
servertime_end numeric(10,0),
event_datetime timestamp without time zone,
event_address character varying(250),
event_location character varying(23),
latitude double precision,
longitude double precision,
area_id numeric(3,0),
area_kind numeric(1,0),
ignition_state smallint,
accel_value_x double precision,
accel_value_y double precision,
accel_value_z double precision,
vehicle_speed double precision,
call_to_customer_datetime timestamp without time zone,
is_customer_confirmed_accident integer,
note character varying(4000),
gen_datetime timestamp without time zone DEFAULT transaction_timestamp(),
CONSTRAINT pk_accident_detail PRIMARY KEY (id ),
CONSTRAINT fk_accident_detail_1 FOREIGN KEY (accident_master_id)
REFERENCES report_accident_master (id) MATCH SIMPLE
ON UPDATE RESTRICT ON DELETE RESTRICT DEFERRABLE INITIALLY DEFERRED
WITH (
OIDS=FALSE
ALTER TABLE report_accident_detail OWNER TO sysdba;
Similar Messages
-
ORA-02070: database HS_ABS_VW does not support ROWIDs in this context
I have two heterogeneous connections with sql server in Oracle 9i. These are the inv_ tables and abs_ tables (HS_ABS_VW ) . When I add the inline view bas the ORA-2070 error will occur. When I run these separatly they run fine.
Anybody an idea?
SELECT week,toetsopdracht,gewas,rasnaam,batch,zaden,rn_total as "Start",Eind,Box || let || bereik as Labcode,Protocol
FROM
SELECT a.*,
lead(let,1) over (partition by box,protocol order by box,protocol) as bereik,
lead(rn_total,1) over (partition by box,protocol order by box,protocol) as eind
FROM
SELECT sdu.u_week_of_processing as Week,
ad.method_code as ToetsOpdracht,
ap.crop_description as Gewas,
ad.variety_name as RasNaam,
ad.batch_number as Batch,
ad.number_of_seeds as Zaden,
sau.u_box_code as Box,
p.name as protocol,
bas.primertype,
bas.uitslag,
count(*) over (partition by sau.u_box_code,p.name) tel,
row_number() over (partition by sau.u_box_code,p.name order by sau.u_box_code,p.name,sau.u_box_position) rn_box,
row_number() over (partition by p.name order by sau.u_box_code,p.name,sau.u_box_position) rn_total,
substr(sau.u_box_position,1,1) let
FROM sdg sd,sdg_user sdu,sample sa,sample_user sau,aliquot a,test t,test_user tu,u_protocol p,abs_determinations ad,abs_primaries ap,
SELECT distinct ge.gewasnaam,gr.groepnaam,r.abs_product_number, r.abs_reciproke, p.primernaam, pt.primertype,u.uitslag
FROM inv_uitslagteelten u, inv_primers p, inv_rassen r,inv_teelten t,inv_groepen gr,inv_gewassen ge,
SELECT k.teeltid, k.primerid,
concat(max(case when k.primertype = 'f' then 'f' else null end),max(case when k.primertype = 'i' then 'i' else null end)) primertype
FROM
SELECT teeltid,primerid,'f' as PrimerType
FROM inv_uitslagteelten
WHERE onderscheidgroep = 1
UNION
SELECT teeltid,inteeltprimerid as primerid,'i' as PrimerType
FROM inv_teelten
WHERE inteeltprimerid is not null
) k
GROUP BY k.teeltid,k.primerid
) pt
WHERE pt.teeltid = u.teeltid
AND pt.primerid = u.primerid
AND pt.primerid = p.primerid
AND pt.teeltid = t.teeltid
AND t.rasid = r.rasid
AND t.groepid = gr.groepid
AND gr.gewasid = ge.gewasid
) bas
WHERE sdu.u_abs_determination = ad.determination_assignment
AND sdu.u_abs_product_number = ap.product_number
AND sd.sdg_id = sdu.sdg_id
AND sd.sdg_id = sa.sdg_id
AND sa.sample_id = sau.sample_id
AND sa.sample_id = a.sample_id
AND a.aliquot_id = t.aliquot_id
AND t.test_id = tu.test_id
AND tu.u_protocol_id = p.u_protocol_id
AND sdu.U_ABS_GROUP_CODE = bas.groepnaam
AND sdu.U_ABS_PRODUCT_NUMBER = bas.abs_product_number
AND sdu.U_ABS_RECIPROKE = bas.abs_reciproke
AND p.name = bas.primernaam
AND sd.sdg_id = 391
) a
WHERE rn_box = 1 OR tel = rn_box
WHERE rn_box = 1Very strange! Can someone explain to me why I don't get tjhe error when leaving the distinct out from the inline view pt?
-
Dg4odbc to MySQL update errors: "does not support IS NULL in this context"
I am having a problem with 'where x is null' clauses in update statements to MySQL from 11g, using dg4odbc. Updates using the clause 'where x is null' return errors like this:
ORA-02070: database PLAZAHOST does not support IS NULL in this context
The rejected queries never get to mysql. Furthermore, I noticed that select statements with 'where x is null' show up in the mysql query log with the where clause stripped out, although correct results are returned to SQLPlus. It looks as though 'where x is null' is stripped off by dg4odbc, which subsequently applies a secondary filter to the results received from MySQL.
Note, both statements above work properly when issued from the MySQL client.
Has anybody seen this? It's a big problem for me, but I can't find any references to other people having the same problem, so I assume I've got something misconfigured -- but I don't know what.
I'm using MySQL ODBC 5.1 Driver, MySQL 5.1 Community Edition, and Oracle 11g R1 all running on a 32-bit Windows server.
Thank you -- rick
=============
here's a spool of a sample oracle session:
SQL> col descr1 for a40
SQL> select * from t1@plazahost;
id1 descr1
1 hello
2
SQL> descr t1@plazahost
Name Null? Type
id1 NUMBER(10)
descr1 VARCHAR2(255)
SQL> select * from t1@plazahost where "descr1" is null;
id1 descr1
2
SQL> update t1@plazahost set "descr1"='updated' where "descr1" is null;
update t1@plazahost set "descr1"='updated' where "descr1" is null
ERROR at line 1:
ORA-02070: database PLAZAHOST does not support IS NULL in this context
SQL> spool off
=============
here's the mysql query log snip for the oracle session:
100804 10:24:20 1637 Connect moms_oracle@MOMS_HOST on moms
1637 Query SET NAMES utf8
1637 Query SET character_set_results = NULL
1637 Query SET SQL_AUTO_IS_NULL = 0
1637 Query set autocommit=0
1637 Query select database()
1637 Query COMMIT
1637 Query SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED
1637 Query SHOW TABLE STATUS FROM `moms` LIKE 'T1'
1637 Query SHOW COLUMNS FROM `moms`.`t1`
1637 Query SELECT `id1`,`descr1` FROM `moms`.`t1` LIMIT 0
1637 Query SHOW KEYS FROM `moms`.`T1`
1637 Query SHOW TABLE STATUS FROM `moms` LIKE 'T1'
1637 Query SHOW COLUMNS FROM `moms`.`t1`
1637 Query SELECT `id1`,`descr1` FROM `moms`.`t1` LIMIT 0
1637 Query SELECT A1.`id1`,A1.`descr1` FROM `T1` A1
1637 Query SELECT `id1`,`descr1` FROM `T1`
100804 10:24:28 1637 Query COMMIT
1637 Quit
=============
here's the Oracle HS trace file for the same oracle session:
Oracle Corporation --- WEDNESDAY AUG 04 2010 10:24:19.608
Heterogeneous Agent Release
11.1.0.7.0
Oracle Corporation --- WEDNESDAY AUG 04 2010 10:24:19.608
Version 11.1.0.7.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "UCS2"
setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
setting HS_FDS_SUPPORT_STATISTICS to default of "TRUE"
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
Exiting hgosdip, rc=0
ORACLE_SID is "plazahost"
Product-Info:
Port Rls/Upd:7/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.1.0.7.0_0006, Instance:plazahost
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=178
HOCXU_DRV_NCHAR=1000
HOCXU_DB_CSET=178
HOCXU_SEM_VER=110000
Entered hgolofn at 2010/08/04-10:24:19
Exiting hgolofn, rc=0 at 2010/08/04-10:24:20
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
Exiting hgoinit, rc=0 at 2010/08/04-10:24:20
Entered hgolgon at 2010/08/04-10:24:20
reco:0, name:moms_oracle, tflag:0
Entered hgosuec at 2010/08/04-10:24:20
Exiting hgosuec, rc=0 at 2010/08/04-10:24:20
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using moms_oracle as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2010/08/04-10:24:20
HS_FDS_CONNECT_INFO = "momsPlazaHost"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2010/08/04-10:24:20
dsn:momsPlazaHost, name:moms_oracle
optn:
##>Connect Parameters (len=43)<##
## DSN=momsPlazaHost;
#! UID=moms_oracle;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2010/08/04-10:24:20
DriverName:myodbc5.dll, DriverVer:05.01.0005
DBMS Name:MySQL, DBMS Version:5.1.35-community-log
Exiting hgocont, rc=0 at 2010/08/04-10:24:20
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 64 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2010/08/04-10:24:20
Entered hgoulcp at 2010/08/04-10:24:20
Entered hgowlst at 2010/08/04-10:24:20
Exiting hgowlst, rc=0 at 2010/08/04-10:24:20
SQLGetInfo returns ` for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns Y for SQL_COLUMN_ALIAS
2 instance capabilities will be uploaded
capno:1991, context:0x0001ffff, add-info: 0
capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
Exiting hgoulcp, rc=0 at 2010/08/04-10:24:20
Entered hgouldt at 2010/08/04-10:24:20
0 instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2010/08/04-10:24:20
Entered hgobegn at 2010/08/04-10:24:20
tflag:0 , initial:1
hoi:0x12f03c, ttid (len 26) is ...
00: 4D4F4D53 44422E38 62393537 3032392E [MOMSDB.8b957029.]
10: 322E3130 2E333131 3531 [2.10.31151]
tbid (len 23) is ...
00: 4D4F4D53 44425B32 2E31302E 33313135 [MOMSDB[2.10.3115]
10: 315D5B31 2E345D [1][1.4]]
TXN Capable:3, Isolation Option:0xf
Exiting hgobegn, rc=0 at 2010/08/04-10:24:20
Entered hgodtab at 2010/08/04-10:24:20
count:1
table: T1
Entered hgopcda at 2010/08/04-10:24:20
Column:1(id1): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
Entered hgopcda at 2010/08/04-10:24:20
Column:2(descr1): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
The hoada for table T1 follows...
hgodtab, line 651: Printing hoada @ 02A32DDC
MAX:2, ACTUAL:2, BRC:1, WHT=6 (TABLE_DESCRIBE)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 id1
12 VARCHAR Y 255 255 0/ 0 0 0 0 descr1
Exiting hgodtab, rc=0 at 2010/08/04-10:24:20
Entered hgodafr, cursor id 0 at 2010/08/04-10:24:20
Exiting hgodafr, rc=0 at 2010/08/04-10:24:20
Entered hgotcis at 2010/08/04-10:24:20
Calling SQLStatistics for T1
Calling SQLColumns for moms_oracle.T1
Column "id1": dtype=4, colsize=10, decdig=0, char_octet_length=0, cumulative avg row len=4
Column "descr1": dtype=12, colsize=255, decdig=0, char_octet_length=255, cumulative avg row len=195
Exiting hgotcis, rc=0 at 2010/08/04-10:24:20
Entered hgopars, cursor id 1 at 2010/08/04-10:24:20
type:0
SQL text from hgopars, id=1, len=40 ...
00: 53454C45 43542041 312E6069 6431602C [SELECT A1.`id1`,]
10: 41312E60 64657363 72316020 46524F4D [A1.`descr1` FROM]
20: 20605431 60204131 [ `T1` A1]
Exiting hgopars, rc=0 at 2010/08/04-10:24:20
Entered hgoopen, cursor id 1 at 2010/08/04-10:24:20
hgoopen, line 83: NO hoada to print
Exiting hgoopen, rc=0 at 2010/08/04-10:24:20
Entered hgodscr, cursor id 1 at 2010/08/04-10:24:20
Entered hgopcda at 2010/08/04-10:24:20
Column:1(id1): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
Entered hgopcda at 2010/08/04-10:24:20
Column:2(descr1): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:256, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
hgodscr, line 506: Printing hoada @ 02A32DDC
MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 id1
12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
Exiting hgodscr, rc=0 at 2010/08/04-10:24:21
Entered hgoftch, cursor id 1 at 2010/08/04-10:24:21
hgoftch, line 117: Printing hoada @ 02A32DDC
MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 id1
12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
SQLBindCol: column 1, cdatatype: -16, bflsz: 4
SQLBindCol: column 2, cdatatype: 1, bflsz: 257
2 rows fetched
Exiting hgoftch, rc=0 at 2010/08/04-10:24:21
Entered hgoftch, cursor id 1 at 2010/08/04-10:24:21
hgoftch, line 117: Printing hoada @ 02A32DDC
MAX:2, ACTUAL:2, BRC:2, WHT=5 (SELECT_LIST)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 id1
12 VARCHAR Y 5 256 0/ 0 0 0 0 descr1
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/08/04-10:24:21
Entered hgoclse, cursor id 1 at 2010/08/04-10:24:23
Exiting hgoclse, rc=0 at 2010/08/04-10:24:23
Entered hgodafr, cursor id 1 at 2010/08/04-10:24:23
Exiting hgodafr, rc=0 at 2010/08/04-10:24:23
Entered hgopars, cursor id 1 at 2010/08/04-10:24:23
type:0
SQL text from hgopars, id=1, len=31 ...
00: 53454C45 43542060 69643160 2C606465 [SELECT `id1`,`de]
10: 73637231 60204652 4F4D2060 543160 [scr1` FROM `T1`]
Exiting hgopars, rc=0 at 2010/08/04-10:24:23
Entered hgoopen, cursor id 1 at 2010/08/04-10:24:23
hgoopen, line 83: NO hoada to print
Exiting hgoopen, rc=0 at 2010/08/04-10:24:23
Entered hgodscr, cursor id 1 at 2010/08/04-10:24:23
Entered hgopcda at 2010/08/04-10:24:23
Column:1(id1): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/08/04-10:24:23
Entered hgopcda at 2010/08/04-10:24:23
Column:2(descr1): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:256, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/08/04-10:24:23
hgodscr, line 506: Printing hoada @ 02A32DDC
MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 id1
12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
Exiting hgodscr, rc=0 at 2010/08/04-10:24:24
Entered hgoftch, cursor id 1 at 2010/08/04-10:24:24
hgoftch, line 117: Printing hoada @ 02A32DDC
MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 id1
12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
SQLBindCol: column 1, cdatatype: -16, bflsz: 4
SQLBindCol: column 2, cdatatype: 1, bflsz: 257
2 rows fetched
Exiting hgoftch, rc=0 at 2010/08/04-10:24:24
Entered hgoftch, cursor id 1 at 2010/08/04-10:24:24
hgoftch, line 117: Printing hoada @ 02A32DDC
MAX:2, ACTUAL:2, BRC:2, WHT=5 (SELECT_LIST)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 id1
12 VARCHAR Y 5 256 0/ 0 0 0 0 descr1
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/08/04-10:24:24
Entered hgoclse, cursor id 1 at 2010/08/04-10:24:27
Exiting hgoclse, rc=0 at 2010/08/04-10:24:27
Entered hgodafr, cursor id 1 at 2010/08/04-10:24:27
Exiting hgodafr, rc=0 at 2010/08/04-10:24:27
Entered hgocomm at 2010/08/04-10:24:28
keepinfo:0, tflag:1
00: 4D4F4D53 44422E38 62393537 3032392E [MOMSDB.8b957029.]
10: 322E3130 2E333131 3531 [2.10.31151]
tbid (len 23) is ...
00: 4D4F4D53 44425B32 2E31302E 33313135 [MOMSDB[2.10.3115]
10: 315D5B31 2E345D [1][1.4]]
cmt(0):
Entered hgocpctx at 2010/08/04-10:24:28
Exiting hgocpctx, rc=0 at 2010/08/04-10:24:28
Exiting hgocomm, rc=0 at 2010/08/04-10:24:28
Entered hgolgof at 2010/08/04-10:24:28
tflag:1
Exiting hgolgof, rc=0 at 2010/08/04-10:24:28
Entered hgoexit at 2010/08/04-10:24:28
Exiting hgoexit, rc=0 at 2010/08/04-10:24:28is null statement is post processed. This means in case of a select ALL records from the remote database are fetched into the Oracle database and the is null statement is then processed locally in the Oracle db.
So thze select will work as it is handled internally in the Oracle database. This also means as But "is null" isn't sent to the foreign MySQL db the update clause will fail with ORA-02070: database PLAZAHOST does not support IS NULL in this context
You need to recode the statement or use passthrough statements. -
ORA-02070 database does not support semi join in this context
The following merge sql on Oracle 11g throws "ORA-02070 database does not support semi join in this context".
MERGE INTO ORDERS tgt
USING
SELECT C.short_name, C.customer_id
FROM customers C
WHERE customer_id IN ( SELECT distinct customer id FROM orders O WHERE O.order_date > SYSDATE - 3 )
)src
ON ( tgt.customer_id=src.customer_id )
WHEN MATCHED THEN
UPDATE SET tgt.short_name=src.short_name;
Any ideas? This piece of code was working on an earlier version of Oracle 11g.
Thanks,
AnuHi, Anu,
You can try this:
MERGE INTO ORDERS tgt
USING
SELECT C.short_name, C.customer_id
FROM customers C
) src
ON ( tgt.customer_id = src.customer_id
AND tgt.order_date > SYSDATE - 3
WHEN MATCHED THEN
UPDATE SET tgt.short_name = src.short_name; It's surprising that the error message mentioned a semi-join, because you weren't doing a semi-join. An example of a semi-join is:
MERGE INTO ORDERS tgt
USING
SELECT DISTINCT
C.short_name, C.customer_id
FROM customers C
JOIN orders o ON c.customer_id = o.customer_id
WHERE o.order_date > SYSDATE - 3
) src
ON (tgt.customer_id = src.customer_id)
WHEN MATCHED THEN
UPDATE SET tgt.short_name = src.short_name; but perhaps the optimizer re-wrote your IN sub-query as a semi-join.
An EXISTS sub-query is another way to get the results you want, unless it causes ORA-02070, also. Natrually, I can't test anythihng, since you didn't post any sample data.
Edited by: Frank Kulash on Apr 5, 2011 11:34 AM -
Standard Data Collection Failing with Error ORA-04054: database link does not exist.
Hi Gurus,
When I am running Standard Data Collection in ASCP(APS) instance R12.1.3, its failing with error : ORA-04054: database link does not exist.
There is no such Database link exits which is showing in above error.
Also the database link name in the above error is not profile values in the database.
I think, concurrent might be fetching this database link name from some tables related to plan.
I am not having much knowledge about how this ASCP/APS works.
Need your help to resolve this issue.
Thanks,Hi,
ASCP Collections looks at the dblink from instances definitions from.
1. Responsibility: Advanced Planning Administrator
2. Navigation: Admin > Instances
You may review the note in support.oracle.com - Understanding DB Links Setup for APS Applications - ASCP and ATP Functionality (Doc ID 813231.1) -
I have noticed that Safari does not support some HTML commands on this operating platform. Can anybody throw any light on this issue please?
Examples.
-
Captivate 7 App packager Browser does not support some of the content message
Hi
I have succesfully creating a training app using the app packager for IOS (and to a certain extent android), however when you start the app a message starts up saying :"This browser does not support some of the content in the file you are trying to view. Use IE 9 or later, Safari 5.1 or later etc. " The interesting thing is that I am using the latest versions of both safari and chrome?
I checked out the javascript and and althouth there is an "if then" test, clearly it is not testing correctly. Has someone got a fix for this e.g. modifications to the code to make it work?
Regards
MarkHi Phani
Attached please find the ini file as requested.
I look forward to your response.
Kind regards
Mark
Geometric Progression
Cutting thru complexity
Tel: (+2721) 794 8332 or (0861) 000-615
Fax: (+27 11) 252 8089
Website: <http://www.gpifm.com/> http://www.gpifm.com
Authorised FSP (Licence No: 43224)
Bankseta accredited (No:557066)
BOTA accredited
<http://lnkd.in/sybY4S> linkedin3 -
TS1416 It seems the latest itunes version does not support sync functions to ipod classic
I have updated my Itunes to version 11.04 but it seems this version does not support syncing with Ipod classic it seems it only supports the Ipod touch. Does anyone have any solutions for this problem?
Device not recognized. Take note of item 5.
http://support.apple.com/kb/ts1538 -
Lightroom does not support burning cd on this computer?
Why am I getting a message that Lightroom does not support burning to cd/dvd on this computer? I am using Windows 8.1 64bit. I have plenty of RAM and hard drive space.
There is no OS X 5.0.5. If you can boot to OS X on your computer select About This Mac from the Apple menu. It will display the version you have installed.
I think the message meant you can only install 64-bit Windows 7.
Perhaps one of these will help you:
Mac Basics- Using Windows on your Mac with Boot Camp
Boot Camp- System requirements for Microsoft Windows operating systems
Boot Camp Help- Overview of Boot Camp setup
Boot Camp- Installing Windows 7 Frequently Asked Questions
Boot Camp 4, OS X Lion and Mountain Lion- Frequently asked questions -
SQL Server Compact data provider for EF does not support some Entity SQL canonical functions
I would like to get some comments on this issue:
http://connect.microsoft.com/SQLServer/feedback/details/812735Dennis,
Yes, I meant the CodePlex tracker for EF. As the code you are talking about is in the EF codebase, not in the SQLCE codebase. I had a closer look, and I think that Contains and StartsWith can be made to work based on the SQL Server implementation. And EndsWith
should at leats report "Not supported" instead of generating failing T-SQL.
Do not expect any changes to the SQLCE engine but the SQLCE EF provider code is fully supported by the team, I would imaging also to prove that EF is not SQL Server only.
BUT - in order to priovide a fix, which could be included in EF 6.1, PLEASE provide a simple repre project/unit tests with some failing ESQL code in it, I could end up contributing the fix, but do not know anything about ESQL.
I regularly contribute mainly SQLCE provider related fixes, and the EF team is very receptive to those, so I think there is a REAL chance of getting it fixed.
Please mark as answer, if this was it. Visit my SQL Server Compact blog http://erikej.blogspot.com -
NiVision does not support delayload functionality
I'm writing a C++ application in VisualStudio 10 using NI Vision and NI IMAQ.
Depending on the configuration of the deployed application it may not need NI Vision at all.
In order to keep a user from requring NI-Vision on their system if the application does not use it I add the NI-Vision DLL to the Delayload inputs of the project.
This way a user can run without a message that the NI-Vision DLL is missing if they never require it.
The trouble is, as soon as the "nivision.h" is included, when the application shuts down, it appears to make a call to imaqCloseWindow which will cause an exception if nivision.dll is not present.
The exception happens in the generated code __delayLoadHelper2 while looking for imaqCloseWindow
This appears to be called from __tailMerge_nivision_dll()
I suspect this is an issue with this line in nivision.h #pragma comment(linker, "/INCLUDE:_nivision_startup_shutdown")
Is there anyway to get around this?
Thanks,
AmauryHi,
First I just want to point out that none of our vision software is made to be compatible with VisualStudio 2010. The latest version we support is VisualStudio 2008.
That being said, I do not see any way to get around this with out actually editing the DLL. As you said, anytime you include the nivision.h you are going to have the call to imaqCloseWindow present.
Regards,
Greg H.
Applications Engineer
National Instruments -
I have a late 2009 iMac 24 that i downloaded Windows 7 Ultimate 64-bit on. When i tried to download Windows 7 Support, i got a message that says Boot Camp does support 64-bit on this computer. I do have Windows 7 Ultimate 32-bit CD. What would be the easy way to fix this. Thanks
There is no OS X 5.0.5. If you can boot to OS X on your computer select About This Mac from the Apple menu. It will display the version you have installed.
I think the message meant you can only install 64-bit Windows 7.
Perhaps one of these will help you:
Mac Basics- Using Windows on your Mac with Boot Camp
Boot Camp- System requirements for Microsoft Windows operating systems
Boot Camp Help- Overview of Boot Camp setup
Boot Camp- Installing Windows 7 Frequently Asked Questions
Boot Camp 4, OS X Lion and Mountain Lion- Frequently asked questions -
Nokia N8 does not support DTMF ! Can this be fixed...
My Nokia N8 does not seem to be able to do DTMF. This means no listening to voicemail, no using of call centers which asks to enter numeric options, no joining telephone conferecences with a pin and no remote activation of DTMF based server settings.
It is a real pain and I hope it can be fixed. If anyone has advice, it will be appreciated.
P.S. Please don't tell me that it can be done and all I need to do during a call is to select "Options -> Send DTMF -> Enter Manually -> * -> Y", because that is stupid. Entering 5 commands to select a single digit is rediculous. It is like saying that I can sail from Johannesburg to Cape Town because all I need is to dig a canal and then build a ship from matches. This much effort is as good as not having it and is entirely impractical during a call with various options i.e. voicemail or call center options.
Solved!
Go to Solution.Was worried in case you may have forgotten how to use it between post 2 and post 11 . For myself I sometimes forget things that quickly.
Besides, I would love having the opportunity to teach someone how to dial a number on a telephone but am frustrated because I have never found anyone who needs teaching . -
ORA-02070: database does not support operator PLSFUN in this context
Can anyone tell me how to solve this issue?
http://www.lslnet.com/linux/edosc/49/linux-49333299.htm
Basically my problem is i can't put calling function and user defined type's field inside a materialized view. Thanks..TO_DISPLAY_UNIT is a function. Does this work if you alias the column? viz
create materialized view lot_view
refresh complete start with sysdate next sysdate+1/4096 with rowid for update as
select GEOLOC, TO_DISPLAY_UNIT(A_AREA) as a_area
from lot;What happens if you just use the function or the UDT but not both?
Cheers, APC
Blog : http://radiofreetooting.blogspot.com/ -
Pages does not support some languages
I use the iPad in two major languages: English and Hebrew.
Although I have Hebrew support on the Ipad and having no trouble with it on mail etc,
it seems that Pages corrupts word documents that have been written in Hebrew.
Hebrew has been supported for decades on PCs OS.
It is only natural to expect a Word App for the Ipad to do so, especially of one that is paid for.
Is it too much to expect from an Apps developer these days?In these forums you are just talking to other users like yourself. The best place to tell Apple about fixes you want in Pages is here:
http://www.apple.com/feedback/pages_ipad.html
Maybe you are looking for
-
Javascript insertBefore method possible in a view
Is it possible to call the insertBefore method of javascript in a view. I tried creating a BSP page and its working. But its not working on views. I dont know why. Can someone help me on this?
-
Im trying to create new vrf in Nexus5548 but i got the below message switch(config)# vrf context salem % VRF creation from cli not allowed on this platform switch(config)# Here is the Version and inverntory for the switch Software BIOS: versio
-
The page sits and tells me it is loading and never does. The webpage has other places that work fine.
-
Regarding netweaver certification
can i do netweaver certification without doing abap certification?
-
My iphone won't backup even though I have plenty of icloud storage
I just recently brought more iCloud storage because I was out of iCloud storage. However, my iPhone 4S still won't back up. I show that I have 15 GB of storage and 9.4GB available. I also show that my next backup size is 5.5 GB. Why is my phone n