Percentage pie chart whose query return just one value
Hi,
I have a requirement which is to display a pie chart that shows the relative percentage of based on a particular row's values.
Here the SQL query return just one value to generate the chart, however Apex is creating its own seemingly random value to draw the rest of the chart and dividing the region.
Is there any way for Apex to take the single value that the query returns as a percentage and generate the chart by calculating the other value to be as (100 - queried value) and split the region in the chart accordingly.
Of course one method is to store both the value that the query returns as well as 100 - that value in a table and then write the query in the chart that references both these values.. but I'd like to know if there is a way to go about it without storing this extra bit of information in a table
Thanks!
you create a hidden page item and populate with total value and percentile calculated value and use it in dial chart as querry.
Similar Messages
-
I need that this query return only one value
Hi, please. I need your help. I have this query:
SELECT c.charvalue "Comentario", max(pi.id) as "id" --into :gcpe_last_comment
FROM twflprocessinstances pi, twfliprocessparameters c
WHERE pi.id = c.iprocess_id
AND c.param_id = 1002286
AND c.charvalue IS NOT NULL
AND pi.processdef_id = 1600
AND to_number(pi.id) <> 3817940
AND to_number(pi.seeparameter1) =80137377
group by c.charvalue
having max(pi.id)
This query return 3 rows, but I need that this query return only one row. The row that this query should return is the row before at the max id. ThanksMmmm...I don't get it.
You might need to post some sample data and expected results. -
Request.getParameter("checkbox") Returns only one value
Hello Friends,
I have a very urgent problem on live site. I moved my project from jrun2.3.3 to Jrun 3.1 and I was using multiple select and checkboxes.
With Jrun3.1 if you select multiple select or multiple checkboxes it returns only one value instead of all the values.
Any help is hightly appreciated.If multiple checkboxes have the same name, when selected and submitted, it will pass all values. But you will need to access those using getParameterValues("checkboxname") not getParameter("checkboxname"). The same goes for select elements.
Perhaps it was a bug in JRun 2.3.3 that allowed you to reference all parameter values using just the getParameter("xxx") method. -
Stored Procedure returning just one row
Hi! I've a problem with a MSSQL Stored Procedure. This procedure works perfectlly if I execute it directly on MSSQL Query Analyzer. But the problem is in Java, when I call it, the resultset has just one row, and it must have 59, so I don't know what is going on. My procedure is a bit big, but please, help me :)
This is the procedure code
CREATE PROCEDURE desc_doctos
@pt_gaveta varchar(250),
@pl_idexp varchar(250),
@pl_idcar numeric,
@identa int
AS
DECLARE @id_carpeta_hija int
DECLARE @nombre_hija varchar(500)
DECLARE @fh_creacion datetime
DECLARE @numero_carpetas int
DECLARE @numero_documentos int
DECLARE @cv_aplicacion_des varchar(100)
DECLARE @id_gabinete_des int
DECLARE @identa_modificado varchar(10)
DECLARE @liga varchar(250)
DECLARE @hora varchar(50)
DECLARE @fecha varchar(50)
DECLARE imx_descendencia CURSOR LOCAL FOR
SELECT IOC.ID_CARPETA_HIJA, IOC.NOMBRE_HIJA,IC.FH_CREACION,
convert(varchar(2),datepart(dd,IC.FH_CREACION))+'/'+convert(varchar(2),datepart(mm,IC.FH_CREACION))+'/'+convert(varchar(4),datepart(yyyy,IC.FH_CREACION)),
convert(varchar(2),datepart(hh,IC.FH_CREACION))+':'+convert(varchar(2),datepart(mi,IC.FH_CREACION))+':'+convert(varchar(2),datepart(ss,IC.FH_CREACION)),
IC.NUMERO_CARPETAS,IC.NUMERO_DOCUMENTOS,
ICP.CV_APLICACION_DES,ICP.ID_GABINETE_DES
FROM IMX_ORG_CARPETA IOC, IMX_CARPETA IC, IMX_CARPETAPUENTE ICP
WHERE
IOC.TITULO_APLICACION=@pt_gaveta
AND IOC.ID_GABINETE= @pl_idexp
AND IOC.TITULO_APLICACION = IC.TITULO_APLICACION
AND IOC.ID_GABINETE = IC.ID_GABINETE
AND IOC.ID_CARPETA_HIJA = IC.ID_CARPETA
AND IOC.TITULO_APLICACION *= ICP.TITULO_APLICACION
AND IOC.ID_GABINETE *= ICP.ID_GABINETE
AND IOC.ID_CARPETA_HIJA *= ICP.ID_CARPETA
AND ID_CARPETA_PADRE= @pl_idcar;
OPEN imx_descendencia
FETCH NEXT FROM imx_descendencia INTO @id_carpeta_hija,@nombre_hija,@fh_creacion,@fecha,@hora,
@numero_carpetas,@numero_documentos,@cv_aplicacion_des,@id_gabinete_des
WHILE @@FETCH_STATUS = 0
BEGIN
SELECT @identa_modificado = @identa+1
IF (@id_gabinete_des IS NOT NULL)
BEGIN
SET @liga = '../jsp/imxvisor.jsp?gaveta='+@cv_aplicacion_des+'&idExp='+convert(varchar(10),@id_gabinete_des)+'&cierre=si'
BEGIN TRAN
--INSERT INTO IMX_ARBOL_TEMPORAL VALUES(@nombre_hija,@liga,@identa,0,'_blank','1',1,1)
SELECT @nombre_hija,@liga,@identa,0,'_blank'
EXEC lista_doctos @pt_gaveta,@pl_idexp,@id_carpeta_hija,@identa_modificado
COMMIT TRAN
END
ELSE
BEGIN
SET @liga = '../jsp/datosarbol.jsp?opcion=0&idcarpeta='+convert(varchar(10),@id_carpeta_hija)+'&carpetas='+convert(varchar(10),@numero_carpetas)
SET @liga = @liga + '&documentos='+convert(varchar(10),@numero_documentos)+'&hora='+@hora
SET @liga = @liga + '&fecha='+@fecha+'&idExp='+@pl_idexp+'&gaveta='+@pt_gaveta
BEGIN TRAN
--INSERT INTO IMX_ARBOL_TEMPORAL VALUES(@nombre_hija,@liga,@identa,0,'DATOS','1',1,1)
SELECT @nombre_hija,@liga,@identa,0,'DATOS'
EXEC lista_doctos @pt_gaveta,@pl_idexp,@id_carpeta_hija,@identa_modificado
COMMIT TRAN
END
EXEC desc_doctos @pt_gaveta,@pl_idexp,@id_carpeta_hija,@identa_modificado
FETCH NEXT FROM imx_descendencia INTO @id_carpeta_hija,@nombre_hija,@fh_creacion,@fecha,@hora,
@numero_carpetas,@numero_documentos,@cv_aplicacion_des,@id_gabinete_des
END
CLOSE imx_descendencia
DEALLOCATE imx_descendencia
and this is my java code
import java.sql.*;
public class pruebasSQL{
public static void main(String[] args){
try{
Class.forName("com.inet.tds.TdsDriver").newInstance();
Connection connection;
connection = DriverManager.getConnection("jdbc:inetdae7:localhost","user","pass");
connection.setCatalog( "DataBase");
CallableStatement statement = connection.prepareCall("{call desc_doctos ('NVA_EST',1002,0,1)}");
ResultSet rs = statement.executeQuery();
rs.last();
System.out.println(rs.getRow());
rs.close();
connection.close();
catch(Exception e){
System.out.println(e);
Hope u can help me =)
Raul Medina
[email protected]Hi! I managed to resolve this problem. This is what I did, hope somebody finds it usefull
//connection, declarations, etc...
PreparedStatement ps = connection.prepareStatement("exec desc_doctos 'NVA_EST',1002,0,1");
ResultSet rs = ps.executeQuery();
rs.next();
System.out.println(rs.getString(1));
while(ps.getMoreResults()){
rs = ps.getResultSet();
rs.next();
+" "+rs.getString(2)+" "+rs.getString(3)+" "+rs.getString(4)+" "+rs.getString(5));
System.out.println(rs.getString(1));
------------ -
Dg4odbc 11.2 to mysql desc table issue, query return only one record
<h2>Hi,
I have the following set up:
11g R2 RAC oracle database, dg4odbc 11.2, UnixODBC 2.3 driver manager, MySQL ODBC 5.1.7 Driver on 64 bit Suse SLES 11 server.
Remote database MySQL version 5.0.67 running on 32 bit linux server.
I am having the following Issues:
1. When desc table, sometimes only the first field is shown:
SQL> desc sub_index@mybilltracker;
Name Null? Type
subject_id NOT NULL NUMBER(20)
SQL> desc "sub_index"@mybilltracker;
Name Null? Type
subject_id NOT NULL NUMBER(20)
Some other times I am able to see the correct table definition:
SQL> desc "sub_index"@mybilltracker;
Name Null? Type
subject_id NOT NULL NUMBER(20)
sess_id NUMBER(10)
sess_yr NUMBER(10)
subject_name VARCHAR2(255)
SQL> desc sub_index@mybilltracker;
Name Null? Type
subject_id NOT NULL NUMBER(20)
2. Select count(*) returns the total number of rows correctly. Select * or Select "field name" from table returns only one row:
SQL> select count(*) from "mbt_user"@mybilltracker;
COUNT(*)
2
SQL> select "user_id", "email" from "mbt_user"@mybilltracker; _(always return only one record!)_
user_id email
1 [email protected]
Has anybody seen this? Can somebody help me pinpoint the problem? Thank you!
</h2>
=======================================
<h2>Params in odbc.ini:[ODBC Data Sources]
myodbc5 = MyODBC 5.17 Driver DSN
[myodbc5]
Driver = /usr/local/lib/libmyodbc5.so
Description = Connector/ODBC 5.17 Driver DSN
SERVER = *serverip
PORT = *port
USER = *user
Password = *password
Database = MyBillTracker
#CHARSET = latin1
QuotedId = Yes
AnsiNPW = Yes
TRACEFILE = /tmp/myodbc-MyBillTracker.trc
TRACE = OFF
</h2>
=======================================
<h2>params in initmyodbc5.ora
# HS init parameters
HS_FDS_CONNECT_INFO = myodbc5
HS_FDS_TRACE_LEVEL = DEBUG
HS_FDS_SHAREABLE_NAME = /usr/local/lib/libodbc.so
HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
HS_FDS_SUPPORT_STATISTICS=FALSE
# ODBC specific environment variables
set ODBCINI=/usr/local/etc/odbc.ini
</h2>
===========================================
Oracle HS Trace file:
Oracle Corporation --- WEDNESDAY SEP 01 2010 16:11:19.060
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- WEDNESDAY SEP 01 2010 16:11:19.059
Version 11.2.0.1.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_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
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"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
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"
Default value of 64 assumed 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 "myodbc5"
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:myodbc5
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HOCXU_SEM_VER=112000
Entered hgolofn at 2010/09/01-16:11:19
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/lib/libodbc.so"
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x159540
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1596f0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x159f20
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x15b230
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x163420
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x163880
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1661c0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1678f0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x168100
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x169c60
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x169c70
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16b3c0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16e640
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16ea00
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1705e0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1711d0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x171500
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1733a0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x173810
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x175870
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x175630
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x15bb50
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x15d4a0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x160e10
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x162cd0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x164400
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x167360
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x168a50
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x169fd0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16ba60
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16bfb0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16d2c0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16deb0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16f4a0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16f760
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x170230
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x171cc0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1721e0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1727d0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x172e10
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x173ae0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x176ca0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1752b0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1785b0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x179260
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Exiting hgolofn, rc=0 at 2010/09/01-16:11:19
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 ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2010/09/01-16:11:19
Entered hgolgon at 2010/09/01-16:11:19
reco:0, name:oracle, tflag:0
Entered hgosuec at 2010/09/01-16:11:19
Exiting hgosuec, rc=0 at 2010/09/01-16:11:19
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using oracle as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2010/09/01-16:11:19
HS_FDS_CONNECT_INFO = "myodbc5"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2010/09/01-16:11:19
dsn:myodbc5, name:oracle
optn:
Entered hgocip at 2010/09/01-16:11:19
dsn:myodbc5
Exiting hgocip, rc=0 at 2010/09/01-16:11:19
Exiting hgogenconstr, rc=0 at 2010/09/01-16:11:19
Entered hgolosf at 2010/09/01-16:11:19
Exiting hgolosf, rc=0 at 2010/09/01-16:11:19
DriverName:libmyodbc5.so, DriverVer:05.01.0007
DBMS Name:MySQL, DBMS Version:5.0.67
Exiting hgocont, rc=0 at 2010/09/01-16:11:19
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2010/09/01-16:11:19
Entered hgoulcp at 2010/09/01-16:11:19
Entered hgowlst at 2010/09/01-16:11:19
Exiting hgowlst, rc=0 at 2010/09/01-16:11:19
SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
TXN Capable:3, Isolation Option:0xf
SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 192 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 192 for SQL_MAX_PROCEDURE_NAME_LEN
SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns Y for SQL_COLUMN_ALIAS
4 instance capabilities will be uploaded
capno:1964, context:0x00000000, add-info: 0
capno:1989, context:0x00000000, add-info: 0
capno:1991, context:0x0001ffff, add-info: 0
capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
Exiting hgoulcp, rc=0 at 2010/09/01-16:11:19
Entered hgouldt at 2010/09/01-16:11:19
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2010/09/01-16:11:19
Entered hgobegn at 2010/09/01-16:11:19
tflag:0 , initial:1
hoi:0x15d8f088, ttid (len 34) is ...
00: 47454D53 2E4C534F 2E4C4F43 414C2E31 [GEMS.LSO.LOCAL.1]
10: 37373837 3164662E 31302E35 342E3533 [77871df.10.54.53]
20: 3938 [98]
tbid (len 31) is ...
00: 47454D53 2E4C534F 2E4C4F43 414C5B31 [GEMS.LSO.LOCAL[1]
10: 302E3534 2E353339 385D5B31 2E345D [0.54.5398][1.4]]
Exiting hgobegn, rc=0 at 2010/09/01-16:11:19
Entered hgodtab at 2010/09/01-16:11:19
count:1
table: mbt_user
Allocate hoada[0] @ 0x7a6440
Entered hgopcda at 2010/09/01-16:11:19
Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
Entered hgopcda at 2010/09/01-16:11:19
Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
Entered hgopcda at 2010/09/01-16:11:19
Column:3(last_logged_in): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
Entered hgopcda at 2010/09/01-16:11:19
Column:4(mailing_list): dtype:-7 (BIT), prc/scl:1/0, nullbl:1, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
Entered hgopcda at 2010/09/01-16:11:19
Column:5(password): dtype:-1 (LONGVARCHAR), prc/scl:65535/0, nullbl:0, octet:65535, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
The hoada for table mbt_user follows...
hgodtab, line 876: Printing hoada @ 0x7a6440
MAX:5, ACTUAL:5, BRC:1, WHT=6 (TABLE_DESCRIBE)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 0 0 0/ 0 0 0 220 password
Exiting hgodtab, rc=0 at 2010/09/01-16:11:19
Entered hgodafr, cursor id 0 at 2010/09/01-16:11:19
Free hoada @ 0x7a6440
Exiting hgodafr, rc=0 at 2010/09/01-16:11:19
Entered hgopars, cursor id 1 at 2010/09/01-16:11:19
type:0
SQL text from hgopars, id=1, len=34 ...
00: 53454C45 43542043 4F554E54 282A2920 [SELECT COUNT(*) ]
10: 46524F4D 20606D62 745F7573 65726020 [FROM `mbt_user` ]
20: 4131 [A1]
Exiting hgopars, rc=0 at 2010/09/01-16:11:19
Entered hgoopen, cursor id 1 at 2010/09/01-16:11:19
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/01-16:11:19
Entered hgodscr, cursor id 1 at 2010/09/01-16:11:19
Allocate hoada @ 0x7a6440
Entered hgopcda at 2010/09/01-16:11:19
Column:1(COUNT(*)): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
hgodscr, line 880: Printing hoada @ 0x7a6440
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
Exiting hgodscr, rc=0 at 2010/09/01-16:11:19
Entered hgoftch, cursor id 1 at 2010/09/01-16:11:19
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/01-16:11:19
Entered hgoftch, cursor id 1 at 2010/09/01-16:11:19
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:1, ACTUAL:1, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/01-16:11:19
Entered hgoclse, cursor id 1 at 2010/09/01-16:11:26
Exiting hgoclse, rc=0 at 2010/09/01-16:11:26
Entered hgodafr, cursor id 1 at 2010/09/01-16:11:26
Free hoada @ 0x7a6440
Exiting hgodafr, rc=0 at 2010/09/01-16:11:26
Entered hgopars, cursor id 1 at 2010/09/01-16:11:26
type:0
SQL text from hgopars, id=1, len=49 ...
00: 53454C45 43542041 312E6075 7365725F [SELECT A1.`user_]
10: 6964602C 41312E60 656D6169 6C602046 [id`,A1.`email` F]
20: 524F4D20 606D6274 5F757365 72602041 [ROM `mbt_user` A]
30: 31 [1]
Exiting hgopars, rc=0 at 2010/09/01-16:11:26
Entered hgoopen, cursor id 1 at 2010/09/01-16:11:26
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/01-16:11:26
Entered hgodscr, cursor id 1 at 2010/09/01-16:11:26
Allocate hoada @ 0x7a6440
Entered hgopcda at 2010/09/01-16:11:26
Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:26
Entered hgopcda at 2010/09/01-16:11:26
Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:26
hgodscr, line 880: Printing hoada @ 0x7a6440
MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
Exiting hgodscr, rc=0 at 2010/09/01-16:11:26
Entered hgoftch, cursor id 1 at 2010/09/01-16:11:26
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLBindCol: column 2, cdatatype: 1, bflsz: 256
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21
SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21, (bfl: 255, mbl: 255)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/01-16:11:26
Entered hgoftch, cursor id 1 at 2010/09/01-16:11:26
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:2, ACTUAL:2, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 21 255 0/ 0 0 0 200 email
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/01-16:11:26
Entered hgoclse, cursor id 1 at 2010/09/01-16:11:39
Exiting hgoclse, rc=0 at 2010/09/01-16:11:39
Entered hgodafr, cursor id 1 at 2010/09/01-16:11:39
Free hoada @ 0x7a6440
Exiting hgodafr, rc=0 at 2010/09/01-16:11:39
Entered hgopars, cursor id 1 at 2010/09/01-16:11:39
type:0
SQL text from hgopars, id=1, len=101 ...
00: 53454C45 43542041 312E6075 7365725F [SELECT A1.`user_]
10: 6964602C 41312E60 656D6169 6C602C41 [id`,A1.`email`,A]
20: 312E606C 6173745F 6C6F6767 65645F69 [1.`last_logged_i]
30: 6E602C41 312E606D 61696C69 6E675F6C [n`,A1.`mailing_l]
40: 69737460 2C41312E 60706173 73776F72 [ist`,A1.`passwor]
50: 64602046 524F4D20 606D6274 5F757365 [d` FROM `mbt_use]
60: 72602041 31 [r` A1]
Exiting hgopars, rc=0 at 2010/09/01-16:11:39
Entered hgoopen, cursor id 1 at 2010/09/01-16:11:39
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/01-16:11:39
Entered hgodscr, cursor id 1 at 2010/09/01-16:11:39
Allocate hoada @ 0x7a6440
Entered hgopcda at 2010/09/01-16:11:39
Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
Entered hgopcda at 2010/09/01-16:11:39
Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
Entered hgopcda at 2010/09/01-16:11:39
Column:3(last_logged_in): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
Entered hgopcda at 2010/09/01-16:11:39
Column:4(mailing_list): dtype:-7 (BIT), prc/scl:1/0, nullbl:1, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
Entered hgopcda at 2010/09/01-16:11:39
Column:5(password): dtype:-1 (LONGVARCHAR), prc/scl:65535/0, nullbl:0, octet:65535, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
hgodscr, line 880: Printing hoada @ 0x7a6440
MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 0 0 0/ 0 0 0 220 password
Exiting hgodscr, rc=0 at 2010/09/01-16:11:39
Entered hgoftch, cursor id 1 at 2010/09/01-16:11:39
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 766 0 0/ 0 0 0 220 password
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLBindCol: column 2, cdatatype: 1, bflsz: 256
SQLBindCol: column 3, cdatatype: 93, bflsz: 16
SQLBindCol: column 4, cdatatype: -28, bflsz: 1
SQLBindCol: column 5, cdatatype: 1, bflsz: 767
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21
SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21, (bfl: 255, mbl: 255)
SQLFetch: row: 1, column 3, bflsz: 16, bflar: 16
SQLFetch: row: 1, column 3, bflsz: 16, bflar: 16, (bfl: 16, mbl: 16)
SQLFetch: row: 1, column 4, bflsz: 1, bflar: 1
SQLFetch: row: 1, column 4, bflsz: 1, bflar: 1, (bfl: 1, mbl: 1)
SQLFetch: row: 1, column 5, bflsz: 767, bflar: 40
SQLFetch: row: 1, column 5, bflsz: 767, bflar: 40, (bfl: 766, mbl: 0)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/01-16:11:39
Entered hgoftch, cursor id 1 at 2010/09/01-16:11:39
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 21 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 766 0 0/ 0 0 0 220 password
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/01-16:11:39
Entered hgoclse, cursor id 1 at 2010/09/01-16:11:45
Exiting hgoclse, rc=0 at 2010/09/01-16:11:45
Entered hgodafr, cursor id 1 at 2010/09/01-16:11:45
Free hoada @ 0x7a6440
Exiting hgodafr, rc=0 at 2010/09/01-16:11:45
Entered hgocomm at 2010/09/01-16:11:45
keepinfo:0, tflag:1
00: 47454D53 2E4C534F 2E4C4F43 414C2E31 [GEMS.LSO.LOCAL.1]
10: 37373837 3164662E 31302E35 342E3533 [77871df.10.54.53]
20: 3938 [98]
tbid (len 31) is ...
00: 47454D53 2E4C534F 2E4C4F43 414C5B31 [GEMS.LSO.LOCAL[1]
10: 302E3534 2E353339 385D5B31 2E345D [0.54.5398][1.4]]
cmt(0):
Entered hgocpctx at 2010/09/01-16:11:45
Exiting hgocpctx, rc=0 at 2010/09/01-16:11:45
Exiting hgocomm, rc=0 at 2010/09/01-16:11:45
Entered hgolgof at 2010/09/01-16:11:45
tflag:1
Exiting hgolgof, rc=0 at 2010/09/01-16:11:45
Entered hgoexit at 2010/09/01-16:11:45
Exiting hgoexit, rc=0<h2>This is the scenario where describe table only shows the first field during the first SQLPlus session. I closed the first SQLPlus session, simply opened a new SQLPlus session. Describe table shows all column definitions of MySQL table this time. You can see that there are three records in tracking_list table, however, select * from "tracking_list"@mybilltracker only retruns one record.</h2>
First SQLPlus Session:
SQL> describe "tracking_list"@mybilltracker;
Name Null? Type
list_id NUMBER(20)
SQL> select count(*) from "tracking_list"@mybilltracker;
COUNT(*)
3
SQL> select * from "tracking_list"@mybilltracker;
list_id
1
SQL> describe "tracking_list"@mybilltracker;
Name Null? Type
list_id NUMBER(20)
SQL> exit
========================================
Second SQLPlus Session:
Connected.
SQL> describe "tracking_list"@mybilltracker;
Name Null? Type
list_id NUMBER(20)
last_updt_date DATE
list_create_date DATE
list_name NOT NULL VARCHAR2(255)
list_yr NOT NULL NUMBER(10)
user_id NUMBER(20)
SQL> select count(*) from "tracking_list"@mybilltracker;
COUNT(*)
3
SQL> select * from "tracking_list"@mybilltracker;
list_id last_updt list_crea
list_name
list_yr user_id
1 02-SEP-10 02-SEP-10
List 1
2010 1
SQL> exit
=============================================
HS trace file for the first SQLPlus session:
Oracle Corporation --- THURSDAY SEP 02 2010 09:55:46.523
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- THURSDAY SEP 02 2010 09:55:46.522
Version 11.2.0.1.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_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
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"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
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"
Default value of 64 assumed 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 "myodbc5"
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:myodbc5
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HOCXU_SEM_VER=112000
Entered hgolofn at 2010/09/02-09:55:46
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/lib/libodbc.so"
Entered hgolofns at 2010/09/02-09:55:46
symbol_peflctx=0xdc523540
hoaerr:0
Exiting hgolofns at 2010/09/02-09:55:46
......(repeating .....)
Entered hgolofns at 2010/09/02-09:55:46
symbol_peflctx=0xdc543260
hoaerr:0
Exiting hgolofns at 2010/09/02-09:55:46
Exiting hgolofn, rc=0 at 2010/09/02-09:55:46
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 ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2010/09/02-09:55:46
Entered hgolgon at 2010/09/02-09:55:46
reco:0, name:oracle, tflag:0
Entered hgosuec at 2010/09/02-09:55:46
Exiting hgosuec, rc=0 at 2010/09/02-09:55:46
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using oracle as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2010/09/02-09:55:46
HS_FDS_CONNECT_INFO = "myodbc5"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2010/09/02-09:55:46
dsn:myodbc5, name:oracle
optn:
Entered hgocip at 2010/09/02-09:55:46
dsn:myodbc5
Exiting hgocip, rc=0 at 2010/09/02-09:55:46
Exiting hgogenconstr, rc=0 at 2010/09/02-09:55:46
Entered hgolosf at 2010/09/02-09:55:46
Exiting hgolosf, rc=0 at 2010/09/02-09:55:46
DriverName:libmyodbc5.so, DriverVer:05.01.0007
DBMS Name:MySQL, DBMS Version:5.0.67
Exiting hgocont, rc=0 at 2010/09/02-09:55:46
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2010/09/02-09:55:46
Entered hgoulcp at 2010/09/02-09:55:46
Entered hgowlst at 2010/09/02-09:55:46
Exiting hgowlst, rc=0 at 2010/09/02-09:55:46
SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
TXN Capable:3, Isolation Option:0xf
SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 192 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 192 for SQL_MAX_PROCEDURE_NAME_LEN
SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns Y for SQL_COLUMN_ALIAS
4 instance capabilities will be uploaded
capno:1964, context:0x00000000, add-info: 0
capno:1989, context:0x00000000, add-info: 0
capno:1991, context:0x0001ffff, add-info: 0
capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
Exiting hgoulcp, rc=0 at 2010/09/02-09:55:46
Entered hgouldt at 2010/09/02-09:55:46
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2010/09/02-09:55:46
Entered hgobegn at 2010/09/02-09:55:46
tflag:0 , initial:1
hoi:0x8b4b52f8, ttid (len 34) is ...
00: 47454D53 2E4C534F 2E4C4F43 414C2E31 [GEMS.LSO.LOCAL.1]
10: 37373837 3164662E 33322E36 382E3335 [77871df.32.68.35]
20: 3630 [60]
tbid (len 31) is ...
00: 47454D53 2E4C534F 2E4C4F43 414C5B33 [GEMS.LSO.LOCAL[3]
10: 322E3638 2E333536 305D5B31 2E345D [2.68.3560][1.4]]
Exiting hgobegn, rc=0 at 2010/09/02-09:55:46
Entered hgodtab at 2010/09/02-09:55:46
count:1
table: mbt_user
Allocate hoada[0] @ 0x7a6440
Entered hgopcda at 2010/09/02-09:55:46
Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
Entered hgopcda at 2010/09/02-09:55:46
Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
Entered hgopcda at 2010/09/02-09:55:46
Column:3(last_logged_in): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
Entered hgopcda at 2010/09/02-09:55:46
Column:4(mailing_list): dtype:-7 (BIT), prc/scl:1/0, nullbl:1, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
Entered hgopcda at 2010/09/02-09:55:46
Column:5(password): dtype:-1 (LONGVARCHAR), prc/scl:65535/0, nullbl:0, octet:65535, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
The hoada for table mbt_user follows...
hgodtab, line 876: Printing hoada @ 0x7a6440
MAX:5, ACTUAL:5, BRC:1, WHT=6 (TABLE_DESCRIBE)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 0 0 0/ 0 0 0 220 password
Exiting hgodtab, rc=0 at 2010/09/02-09:55:46
Entered hgodafr, cursor id 0 at 2010/09/02-09:55:46
Free hoada @ 0x7a6440
Exiting hgodafr, rc=0 at 2010/09/02-09:55:46
Entered hgopars, cursor id 1 at 2010/09/02-09:55:52
type:0
SQL text from hgopars, id=1, len=101 ...
00: 53454C45 43542041 312E6075 7365725F [SELECT A1.`user_]
10: 6964602C 41312E60 656D6169 6C602C41 [id`,A1.`email`,A]
20: 312E606C 6173745F 6C6F6767 65645F69 [1.`last_logged_i]
30: 6E602C41 312E606D 61696C69 6E675F6C [n`,A1.`mailing_l]
40: 69737460 2C41312E 60706173 73776F72 [ist`,A1.`passwor]
50: 64602046 524F4D20 606D6274 5F757365 [d` FROM `mbt_use]
60: 72602041 31 [r` A1]
Exiting hgopars, rc=0 at 2010/09/02-09:55:52
Entered hgoopen, cursor id 1 at 2010/09/02-09:55:52
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/02-09:55:52
Entered hgodscr, cursor id 1 at 2010/09/02-09:55:52
Allocate hoada @ 0x7a63a0
Entered hgopcda at 2010/09/02-09:55:52
Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
Entered hgopcda at 2010/09/02-09:55:52
Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
Entered hgopcda at 2010/09/02-09:55:52
Column:3(last_logged_in): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
Entered hgopcda at 2010/09/02-09:55:52
Column:4(mailing_list): dtype:-7 (BIT), prc/scl:1/0, nullbl:1, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
Entered hgopcda at 2010/09/02-09:55:52
Column:5(password): dtype:-1 (LONGVARCHAR), prc/scl:65535/0, nullbl:0, octet:65535, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
hgodscr, line 880: Printing hoada @ 0x7a63a0
MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 0 0 0/ 0 0 0 220 password
Exiting hgodscr, rc=0 at 2010/09/02-09:55:52
Entered hgoftch, cursor id 1 at 2010/09/02-09:55:52
hgoftch, line 130: Printing hoada @ 0x7a63a0
MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 766 0 0/ 0 0 0 220 password
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLBindCol: column 2, cdatatype: 1, bflsz: 256
SQLBindCol: column 3, cdatatype: 93, bflsz: 16
SQLBindCol: column 4, cdatatype: -28, bflsz: 1
SQLBindCol: column 5, cdatatype: 1, bflsz: 767
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21
SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21, (bfl: 255, mbl: 255)
SQLFetch: row: 1, column 3, bflsz: 16, bflar: 16
SQLFetch: row: 1, column 3, bflsz: 16, bflar: 16, (bfl: 16, mbl: 16)
SQLFetch: row: 1, column 4, bflsz: 1, bflar: 1
SQLFetch: row: 1, column 4, bflsz: 1, bflar: 1, (bfl: 1, mbl: 1)
SQLFetch: row: 1, column 5, bflsz: 767, bflar: 40
SQLFetch: row: 1, column 5, bflsz: 767, bflar: 40, (bfl: 766, mbl: 0)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/02-09:55:52
Entered hgoftch, cursor id 1 at 2010/09/02-09:55:52
hgoftch, line 130: Printing hoada @ 0x7a63a0
MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 21 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 766 0 0/ 0 0 0 220 password
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/02-09:55:52
Entered hgoclse, cursor id 1 at 2010/09/02-09:56:16
Exiting hgoclse, rc=0 at 2010/09/02-09:56:16
Entered hgodafr, cursor id 1 at 2010/09/02-09:56:16
Free hoada @ 0x7a63a0
Exiting hgodafr, rc=0 at 2010/09/02-09:56:16
Entered hgopars, cursor id 1 at 2010/09/02-09:56:16
type:0
SQL text from hgopars, id=1, len=34 ...
00: 53454C45 43542043 4F554E54 282A2920 [SELECT COUNT(*) ]
10: 46524F4D 20606D62 745F7573 65726020 [FROM `mbt_user` ]
20: 4131 [A1]
Exiting hgopars, rc=0 at 2010/09/02-09:56:16
Entered hgoopen, cursor id 1 at 2010/09/02-09:56:16
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/02-09:56:16
Entered hgodscr, cursor id 1 at 2010/09/02-09:56:16
Allocate hoada @ 0x7a63a0
Entered hgopcda at 2010/09/02-09:56:16
Column:1(COUNT(*)): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-09:56:16
hgodscr, line 880: Printing hoada @ 0x7a63a0
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
Exiting hgodscr, rc=0 at 2010/09/02-09:56:16
Entered hgoftch, cursor id 1 at 2010/09/02-09:56:16
hgoftch, line 130: Printing hoada @ 0x7a63a0
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/02-09:56:16
Entered hgoftch, cursor id 1 at 2010/09/02-09:56:16
hgoftch, line 130: Printing hoada @ 0x7a63a0
MAX:1, ACTUAL:1, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/02-09:56:16
Entered hgodtab at 2010/09/02-10:03:18
count:1
table: tracking_list
Allocate hoada[0] @ 0x7ebbd0
Entered hgopcda at 2010/09/02-10:03:18
Column:1(list_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/02-10:03:18
The hoada for table tracking_list follows...
hgodtab, line 876: Printing hoada @ 0x7ebbd0
MAX:1, ACTUAL:1, BRC:1, WHT=6 (TABLE_DESCRIBE)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 list_id
Exiting hgodtab, rc=0 at 2010/09/02-10:03:18
Entered hgodafr, cursor id 0 at 2010/09/02-10:03:18
Free hoada @ 0x7ebbd0
Exiting hgodafr, rc=0 at 2010/09/02-10:03:18
Entered hgoclse, cursor id 1 at 2010/09/02-10:06:11
Exiting hgoclse, rc=0 at 2010/09/02-10:06:11
Entered hgodafr, cursor id 1 at 2010/09/02-10:06:11
Free hoada @ 0x7a63a0
Exiting hgodafr, rc=0 at 2010/09/02-10:06:11
Entered hgopars, cursor id 1 at 2010/09/02-10:06:11
type:0
SQL text from hgopars, id=1, len=39 ...
00: 53454C45 43542043 4F554E54 282A2920 [SELECT COUNT(*) ]
10: 46524F4D 20607472 61636B69 6E675F6C [FROM `tracking_l]
20: 69737460 204131 [ist` A1]
Exiting hgopars, rc=0 at 2010/09/02-10:06:11
Entered hgoopen, cursor id 1 at 2010/09/02-10:06:11
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/02-10:06:11
Entered hgodscr, cursor id 1 at 2010/09/02-10:06:11
Allocate hoada @ 0x7a63e8
Entered hgopcda at 2010/09/02-10:06:11
Column:1(COUNT(*)): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-10:06:11
hgodscr, line 880: Printing hoada @ 0x7a63e8
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
Exiting hgodscr, rc=0 at 2010/09/02-10:06:11
Entered hgoftch, cursor id 1 at 2010/09/02-10:06:11
hgoftch, line 130: Printing hoada @ 0x7a63e8
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/02-10:06:11
Entered hgoftch, cursor id 1 at 2010/09/02-10:06:11
hgoftch, line 130: Printing hoada @ 0x7a63e8
MAX:1, ACTUAL:1, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/02-10:06:11
Entered hgoclse, cursor id 1 at 2010/09/02-10:06:20
Exiting hgoclse, rc=0 at 2010/09/02-10:06:20
Entered hgodafr, cursor id 1 at 2010/09/02-10:06:20
Free hoada @ 0x7a63e8
Exiting hgodafr, rc=0 at 2010/09/02-10:06:20
Entered hgopars, cursor id 1 at 2010/09/02-10:06:20
type:0
SQL text from hgopars, id=1, len=43 ...
00: 53454C45 43542041 312E606C 6973745F [SELECT A1.`list_]
10: 69646020 46524F4D 20607472 61636B69 [id` FROM `tracki]
20: 6E675F6C 69737460 204131 [ng_list` A1]
Exiting hgopars, rc=0 at 2010/09/02-10:06:20
Entered hgoopen, cursor id 1 at 2010/09/02-10:06:20
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/02-10:06:20
Entered hgodscr, cursor id 1 at 2010/09/02-10:06:20
Allocate hoada @ 0x7a6440
Entered hgopcda at 2010/09/02-10:06:20
Column:1(list_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-10:06:20
hgodscr, line 880: Printing hoada @ 0x7a6440
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 list_id
Exiting hgodscr, rc=0 at 2010/09/02-10:06:20
Entered hgoftch, cursor id 1 at 2010/09/02-10:06:20
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 list_id
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/02-10:06:20
Entered hgoftch, cursor id 1 at 2010/09/02-10:06:20
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:1, ACTUAL:1, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 list_id
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/02-10:06:20
Entered hgoclse, cursor id 1 at 2010/09/02-10:06:55
Exiting hgoclse, rc=0 at 2010/09/02-10:06:55
Entered hgodafr, cursor id 1 at 2010/09/02-10:06:55
Free hoada @ 0x7a6440
Exiting hgodafr, rc=0 at 2010/09/02-10:06:55
Entered hgocomm at 2010/09/02-10:06:55
keepinfo:0, tflag:1
00: 47454D53 2E4C534F 2E4C4F43 414C2E31 [GEMS.LSO.LOCAL.1]
10: 37373837 3164662E 33322E36 382E3335 [77871df.32.68.35]
20: 3630 [60]
tbid (len 31) is ...
00: 47454D53 2E4C534F 2E4C4F43 414C5B33 [GEMS.LSO.LOCAL[3]
10: 322E3638 2E333536 305D5B31 2E345D [2.68.3560][1.4]]
cmt(0):
Entered hgocpctx at 2010/09/02-10:06:55
Exiting hgocpctx, rc=0 at 2010/09/02-10:06:55
Exiting hgocomm, rc=0 at 2010/09/02-10:06:55
Entered hgolgof at 2010/09/02-10:06:55
tflag:1
Exiting hgolgof, rc=0 at 2010/09/02-10:06:55
Entered hgoexit at 2010/09/02-10:06:55
Exiting hgoexit, rc=0 -
SQL query returns varchar - default value type!!!
On a field in my portal form there is a default value type of 'SQL query returns varchar', where can I put this sql to get a default value from a table?
Hi again
I have this code in 'additional pl/sql code' - '...before displaying the page'. But it comes up with an error when I run the form.
declare
prop_v varchar2(20);
group_v varchar2(3);
el1_v varchar2(3);
blk varchar2(10) := 'DEFAULT';
begin
prop_v := p_session.get_value_as_varchar2(p_block_name=>'DEFAULT', p_attribute_name => 'l_property_p');
group_v := p_session.get_value_as_varchar2(p_block_name=>'DEFAULT', p_attribute_name => 'l_group_p');
select element_code
into el1_v
from eh_risk_element_detail
where property_ref = prop_v
and group_code = group_v
and line_no = 1;
p_session.set_value(p_block_name => blk, p_attribute_name => 'L_ELEMENT1_P', p_value => el1_v);
end;
Rich -
Hello,
Please, help me.
I am depending on this query working fine to complete a academic task.
On the Oracle xml database Express version 11.2.0.2.0 I used data from wikipedia to populate my table of XML files and W3C use case as a query model (XQuery and XPath Full Text 1.0 Use Cases).
I have a table with 26.416 split xml files into some xml columns, it is about 512 MB.
CREATE TABLE tb_wikipedia_inex (DOC VARCHAR(30) NOT NULL,
XML XMLTYPE,
PRIMARY KEY (DOC)
I want to perform a query (full text) on all those files but when I execute a xquery it retuns nothing or warnings. Unfortunatelly I understand nothing from trace file.
SQLPLUS:
XQUERY fn:collection("oradb:/HR/TB_INEX2009")//article//language [ora:contains(., "java") > 0]
TRACE FILE:
System altered.
Elapsed: 00:00:42.08
Session altered.
Elapsed: 00:00:00.00
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.00
Elapsed: 00:00:00.05
Execution Plan
Plan hash value: 1500681423
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
Time |
| 0 | SELECT STATEMENT | | 8168 | 16336 | 29 (0)|
00:00:01 |
| 1 | COLLECTION ITERATOR XMLSEQ FETCH | XMLSEQUENCEFROMXMLTYPE | 8168 | 16336 | 29 (0)|
00:00:01 |
| 2 | SORT AGGREGATE | | 1 | 2 | |
|
|* 3 | COLLECTION ITERATOR PICKLER FETCH| XMLSEQUENCEFROMXMLTYPE | 408 | 816 | 66 (57)|
00:00:01 |
Predicate Information (identified by operation id):
3 - filter(SYS_XMLCONTAINS(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(SYS_XQEXTRACT(SYS_XQCON2SEQ(VALUE(KOKBF$
,'/language/text()'),1,50),50,1,0),'java')>0)
Note
- Unoptimized XML construct detected (enable XMLOptimizationCheck for more information)
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.00
How can I execute xquery over a bunch of xml files to obtain xml data?
Regards,
DaianeHello,
I was trying to find what is the problem, but without success.
The most simple test don't work.
So, I created a new table with few xml files to reproduce the query.
Below are my scripts:
XML COLUMN SQLPLUS
CREATE TABLE HR.tb_xml (DOC VARCHAR(30) NOT NULL,
XML XMLTYPE,PRIMARY KEY (DOC))
CREATE INDEX HR.Ixml_tb_xml ON HR.tb_xml (XML) INDEXTYPE IS XDB.XMLINDEX PARAMETERS ('PATHS (INCLUDE(//article
//article/physical_entity/communicator/person/compiler/causal_agent/language))')
CREATE INDEX Itxt_tb_xml1 ON HR.tb_xml (XML) INDEXTYPE IS CTXSYS.CONTEXT;
Shell:
nohup sqlldr daiane/daiane DIRECT=false PARALLEL=false control = load_xml.ctl;
XML TABLE SQLPLUS:
create table livros of XMLTYPE;
Shell:
nohup sqlldr daiane/daiane DIRECT=false PARALLEL=false control = load_xmltb.ctl;
XML Files:
https://www.dropbox.com/sh/sn26jq6fjoi4635/0wjJI6tT4h
Queries:
for XQUERY fn:collection("oradb:/HR/TB_XML")//article/physical_entity/communicator/person/compiler/causal_agent/language/writer/header/categories/category [ora:contains(., "PHP") > 0]
XQUERY fn:collection("oradb:/HR/TB_XML")//article/physical_entity/communicator/person/compiler/causal_agent/language/writer/header/title [ora:contains(text(), "PHP") > 0]
for XQUERY fn:collection("oradb:/HR/LIVROS")//article/physical_entity/communicator/person/compiler/causal_agent/language/writer/header/categories/category [ora:contains(., "PHP") > 0]
XQUERY fn:collection("oradb:/HR/LIVROS")//article/physical_entity/communicator/person/compiler/causal_agent/language/writer/header/title [ora:contains(text(), "PHP") > 0]
What is wrong with these queries?
Regards,
Daiane -
Pie chart value not displaying in report builder
Hi,
I created a report by using report builder i used a pie chart in my report but one value is showing other one is not showing. Kindly tell me what is the problem behind it?
here is an image which is not displaying 1 value in pie chart. please help meHi Aamir,
Please check if there is any misconfiguration (e.g. show data label, formatting, etc.) for your chart slice per the following post.
http://social.technet.microsoft.com/Forums/en-US/ebc3bfc5-6338-4946-ade6-64e89611f6b7/ssrs-report-builder-30-pie-chart?forum=sqldatawarehousing
http://msdn.microsoft.com/en-us/library/dd220469.aspx
Further more, you can post this topic in SQL server forum for a better assistance.
http://social.technet.microsoft.com/Forums/en-US/home?forum=sqlreportingservices%2Csqldatawarehousing%2Csqlanalysisservices&filter=alltypes&sort=lastpostdesc
Thanks
Daniel Yang
TechNet Community Support -
Only One Label is Formatting as Percent in a Pie Chart - Help
I'm having trouble with a pie chart. I have only two values in the chart and have added labels. When I preview the report both labels display correctly. However, when I right-click the labels in design view and select the #PERCENT option
from the Series Label Properties and the preview the chart, only one label is actually formatted as a percent.
I don't get it?
I've followed the steps in other forum questions to get around this but nothing works. I am in a hurry and really need this to work properly, can someone spell this out for me?
This is what I see in preview currently:Hi Avenue,
Glad to head that your issue has been solved. Thank you for sharing.
Regards,
Charlie Liao
If you have any feedback on our support, please click
here.
Charlie Liao
TechNet Community Support -
Overlay a graphic on a Pie Chart, & Rotate text in a Pie Chart
Is it possible to overlay a graphic on a pie chart?
I've tried manipulating the Wrap Inspector, but regardless, when I paste a graphic on topic it drops below the pie chart and deletes one segment of the pie.
In a related pie chart question, is it possible to rotate the text to face into the central axis, think spokes in wheel (vs. the default horizontal). I can rotate the pie chart in about 3 dif. inspectors, but no luck here...and my texts is just a little too long to fit nicely in the default (and too hard to read if I reduce the font size).
ThanksI assume you want to have a graphic that sits over the chart, and that you see the values underneath? Something like a shine, worn texture or logo?
If you are wondering what happened to your particular 'missing slice' open the Graph inspector and select that section. Chances are you have changed the tiled image which was assigned to that particular piece of the pie chart.
To overlay a graphic, draw a circle shape. In the graphics inspector assign an image fill to that shape. Choose tiled or scale to fit as required (a png. file with transparencies will show the underlying values, as will setting the opacity of the circle)
Turn the wrap off for the circle (It sounds like your pie chart may be set to 'moves with text' instead of 'locked to page') And then place it overtop of the pie chart. Resize to fit. Since this is now 'locked to page' and above the pie chart, any movement of the pie chart means you will have to reorient your overlay. To avoid this, set the pie chart to Locked to Page as well.
At this point you can set the wrap for the pie chart so the text moves around it if you like. Your overlay and the pie chart will remain in sync if they are both fixed to page.
Regarding your text question, no. You can't set that. What you can do is use a numerical, letter or symbolic value and include a legend manually to indicate the true names of the portions using a text box.
(I've seen someone with a pie chart whose segments were labeled with seven words, the last two of which were the only ones that changed. I suggested using the unchanging portion as the graph title and the changing portion as the individual slices. Not sure if that would apply to your project.) -
Hi,
I am using below query to create a flash pie chart. It return count of "RED" , "GREEN" and "YELLOW" from the color field
I used the custom color to color first value as "RED", second as "GREEN" , and third as "YELLOW"
select null link,
color ,
count( color ) value
from table;Above is working fine if all RED , GREEN AND YELLOW ARE GREATER THAN ZERO.
Now if there is no RED in the filed, then PI CHART contain only two region one for Green and second for Yellow.
Problem :--
If red is not there the value representing the count is green is show in red color.
How to avoid this
Thanks
ShijeshHi Andy,
I tried the above method but its not working for me..
here is the query which I am using..
DECLARE
vqry varchar(5000);
begin
vqry := 'select link , LABEL , sum(value) from
(select null link, ''Red'' LABEL , user_id , COUNT(SR_PROJECT.PROJECT_STATUS_ID) value
from SR_PROJECT where SR_PROJECT.PROJECT_STATUS_ID=1 and
SR_PROJECT.CURRENT_STATUS_ID NOT IN ( 5 , 6) group by user_id
union
select null link, ''Green'' LABEL , user_id ,COUNT(SR_PROJECT.PROJECT_STATUS_ID) value
from SR_PROJECT where SR_PROJECT.PROJECT_STATUS_ID=2 and
SR_PROJECT.CURRENT_STATUS_ID NOT IN ( 5 , 6) group by user_id
union
select null link, ''Yellow'' LABEL , user_id , COUNT(SR_PROJECT.PROJECT_STATUS_ID) value
from SR_PROJECT where SR_PROJECT.PROJECT_STATUS_ID=3 and
SR_PROJECT.CURRENT_STATUS_ID NOT IN ( 5 , 6) group by user_id )';
if :P50_PROJECT_OWNER <> 0 OR :P50_PROJECT_OWNER <> NULL THEN
vqry := vqry || ' where USER_ID = ' || :P50_PROJECT_OWNER;
END IF;
vqry := vqry || ' group by LABEL ,link';
return vqry;
end;I'm using Function Returning SQL Query. Is this the reason why I'm not able to get the result -
I am trying to draw a pie chart for the Uptime Report.
I have the Following table definition.
create table downtime_detail ( env_code number, down_start date, down_end date );
insert into downtime_detail values (1,to_date('26-JAN-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('26-JAN-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
insert into downtime_detail values (2,to_date('26-JAN-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('26-JAN-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
insert into downtime_detail values (2,to_date('01-FEB-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('03-FEB-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
insert into downtime_detail values (2,to_date('15-FEB-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('15-FEB-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
insert into downtime_detail values (2,to_date('26-FEB-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('28-FEB-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
Now the Below Query returns me the values val1 and val2 on the basis of which I need to draw a Pie Chart.
==========================================================
select round((DOWN/TOTAL)*100,2) val1 , round(100-((DOWN/TOTAL)*100),2) val2
from
(select sum((DOWN_END - DOWN_START)*24) DOWN from DOWNTIME_DETAIL where ENV_CODE=2 ) a ,
(select ((sysdate - to_date('01-JAN-2008','DD-MON-YYYY')) * 24) TOTAL from dual ) b
VAL1 VAL2
3.64 96.36
==========================================================
Can someone help me try do this ?
Actually I tried but I couldnt put my custom query to get this Pie chart. Or if there is any other better approach please let me know.nikhilskamik,
I believe all that you are missing in your sql is a NULL. Below is the help text for creating a Flash pie chart.
Specify the SQL query that will populate your chart, for example:
select null, ename, sal
from emp
Alternatively you can write a PL/SQL function return a SQL query, for example:
begin
return 'select null, ename, sal from emp';
end;
Your query should then read:
select null,round((DOWN/TOTAL)*100,2) val1 , round(100-((DOWN/TOTAL)*100),2) val2
from
(select sum((DOWN_END - DOWN_START)*24) DOWN from DOWNTIME_DETAIL where ENV_CODE=2 ) a ,
(select ((sysdate - to_date('01-JAN-2008','DD-MON-YYYY')) * 24) TOTAL from dual ) b
Jeff -
Hi,
I want both the series label and % value to display on my pie chart, but what i want is % value to be displayed inside pie slices and series label outside the pie slices, right now we have option to do either of the one
my Report Builder is 9.0.4.0.33
can anybody help me regarding this.
Thanks.hello tammy,
i just created this request in the idea place
enhance pie chart data labels : View Idea
i was just thinking (yes, you should be afraid - smile)
it would make life much easier if there was a link in the forum message toolbar that linked to the submit idea form in the idea place and included the link for the message thread from here at the bottom of the request. that way the developers could also see what other people think about the issue. what do you think? -
Anychart pie chart - setting colours to match output (RAG)
Hi,
I have a table detailing outstanding issues each with a traffic light status of either red, amber or green. I would like to create an anychart pie chart whose colours match their status to give an easy visual representation of the data.
I have managed to get it working if there's data in the table for each status type; I've used customised colours in the pie chart and used ORDER by in my SQL (the order of the customised colours listed to match the order of the SQL output), however, if one of the status' has a null value, the colours are assigned Amber 1st, Green 2nd and Red 3rd meaning that if there are no issues of Amber status the green status issues will be amber in colour on the pie chart etc.
Is this possible to assign specific colours and if so how can I do it?
I'm working on Apex 3.2.1.
Thanks in advanceI've managed to sort this now.
In case anyone is interested, I created a view that would display the totals for each RAG status including a 0 if total is null and then set custom colours for the pie chart in the order to match the SQL output (i.e. A (amber) first, G (green) second, R (red) third). Simple but it works for my needs. -
Histogram works, Pie Chart doesn't :(
I have a simple form, which has 1 block, a block level "when-new-block-instance" trigger and 2 bean_area under the block (beans don't have any trigger code). This simple form is called from within another form when a button is pressed. The histogram (bar chart) works, but the simple pie chart doesn't work (only displays a single circle - not the slices on the pie). The related trigger code is below. Can anybody see what is wrong with the pie chart code ?
Appreciated.
=====================================================================
-- Set the bean area properties
SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'CLEAR_BLOCK','');
SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'GRAPHTYPE','VERTICAL_BAR');
SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'ENABLE_TOOLTIPS','VALUES');
SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'SET_DELIMITER','#');
SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'SET_TITLE','Order Count By WHIP#red#b#14');
SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'SET_FOOTER','WHIP Name#blue#12');
SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'SET_DELIMITER',',');
SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'SET_Y_LABEL','Move Your Mouse To View The Value For Each Bar');
-- Use the following for a nice 3D look (if users want)
-- SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'SET_DEPTH','20,45');
-- This should populate and display the data on the graph by using the related PJC
DECLARE
ordercount NUMBER(10);
whipname VARCHAR2(25);
vData VARCHAR2(200);
vDelimiter VARCHAR2(1);
cursor c1 is select distinct interface_name from pps_order order by interface_name;
BEGIN
vDelimiter := ',';
open c1;
fetch c1 into whipname;
while (c1%found) loop
select count(*) into ordercount from pps_order where interface_name=whipname;
vData := 'Total Order Count Per WHIP'||vDelimiter||whipname||vDelimiter||ordercount;
SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'ADD_ROWDATA',vData);
fetch c1 into whipname;
end loop;
SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA1',1,'ADD_DATA_TO_GRAPH','');
close c1;
END;
-- THIS SECTION IS FOR THE PIE CHART
SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA2',1,'CLEAR_BLOCK','');
SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA2',1,'GRAPHTYPE','PIE_GRAPH');
SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA2',1,'SHOW_PIE_LABELS','VALUE');
SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA2',1,'SET_DELIMITER','#');
SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA2',1,'SET_TITLE','Order Count By WHIP#red#b#14');
SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA2',1,'SET_FOOTER','WHIP Name#blue#12');
SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA2',1,'SET_DELIMITER',',');
-- This should populate and display the data on the graph by using the related PJC
DECLARE
ordercount NUMBER(10);
whipname VARCHAR2(25);
vData VARCHAR2(200);
vDelimiter VARCHAR2(1);
cursor c2 is select distinct interface_name from pps_order order by interface_name;
BEGIN
vDelimiter := ',';
open c2;
fetch c2 into whipname;
while (c2%found) loop
select count(*) into ordercount from pps_order where interface_name=whipname;
vData := 'Total Order Count Per WHIP'||vDelimiter||whipname||vDelimiter||ordercount;
SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA2',1,'ADD_ROWDATA',vData);
fetch c2 into whipname;
end loop;
SET_CUSTOM_PROPERTY('BLOCK1.BEAN_AREA2',1,'ADD_DATA_TO_GRAPH','');
close c2;
END;
GO_ITEM('BLOCK1.CLOSE');
This uses the FormsGraph.jar file implementation as you can see. I know Frank Nimphius is the only expert when it comes to FormsGraph.jar at Oracle, but currently he is on vacation - so no official support to an unofficial (unsupported) charting implementation - but I thought there might be others who have done this before.
Can someone who implemented a pie chart share his/her code here - a simple pie chart, nothing fancy (like the one that comes with the graph90.fmb file, which I followed but did not figure out why my implementation is not working). Something with the vData string or number of vData strings requirement? no explanation in the FormsGraph.jar doc and I am not a java programmer to figure it out from the java source code. I am looking for a simple trigger code for the pie chart - not like "look at the forms90.fmb that comes with the demo package" kinda answer.
Thanx
Message was edited by:
zaferaktan
Message was edited by:
zaferaktanAny idea ?
Maybe you are looking for
-
Setting Document Root in WebLogic 6.1
I have recently migrated from WebLogic 5.1 to WebLogic 6.1, on Windows 2000 running jdk 1.3.1. My Document Root settings (weblogic.httpd.documentRoot) from WebLogic 5.1 in my weblogic.properties file did not carry over to WebLogic 6.1, so does anybod
-
How to create the change document functionality for a dependent objects?
May I please know how to create the change document functionality for a dependent objects? I have done it follow the same process as for business process objects. But when i try to test it in BOBT, there is no records under "FIELD_CHANGE_WITH_FILTER"
-
Hi all, i'm going to purchase a new Mac Pro and two 24" Cinema Display. I've seen that the new Mac Pro got a Mini DisplayPort and a DVI port on the back and i would like to ask how can i connect the second Apple Cinema Display to it? Do i have to add
-
Value Mapping replication from SAP
Hi I have gone thru the Blogs and threads related to value mapping replication from SAP. Inmy observervation http://sap.com/xi/XI/System of SAP BASIS 7.00 still I have some doubts... 1)what is the differnce between ValueMappingReplication(Asynchrono
-
Mail and Preview crashing upon launch
Okay, so it's just another day, and I'm launching Mail, just like I've done a million times before, but for some reason now all I get is just one bounce out of the icon in the dock, and then... nothing happens. Below, I've copied and pasted some gobb