11g equivalent of Excel LARGE() function? (nth largest in set)
I've been spinning my wheels on this and figured I'd give the forums a try.
I need to find the 13th largest value over the previous 52 weeks. I can set the window size correctly using ROWS 52 PRECEDING AND CURRENT ROW ORDER BY WEEK, but then I need another sort for the nTH largest within that partition. NTH_VALUE is close but what I really need is NTH_LARGEST_VALUE. Excel has a LARGE() function to do this.
Any thoughts for achieving this? See the example below:
Column desired_output is what I'm looking to achieve. It is the 2nd largest value over the current row and the previous 2 rows (ordered by week). Assume no relationship between week and val. These values just used for illustration purposes.
with tab as
select to_date('4-jan-2012', 'dd-mon-yyyy')+(level-1)*7 week,
to_number(to_char(to_date('4-jan-2012', 'dd-mon-yyyy')+(level-1)*7,'dd')) val,
case when level in (1,2) then null
when level = 3 then 11
when level = 4 then 18
when level = 5 then 18
when level = 6 then 8
when level = 7 then 8
when level = 8 then 15
when level = 9 then 22
when level = 10 then 22
end desired_result
from dual connect by level <= 10
select week, val, desired_result
from tab
order by week;
WEEK VAL DESIRED_RESULT
04-JAN-12 4
11-JAN-12 11
18-JAN-12 18 11
25-JAN-12 25 18
01-FEB-12 1 18
08-FEB-12 8 8
15-FEB-12 15 8
22-FEB-12 22 15
29-FEB-12 29 22
07-MAR-12 7 22
10 rows selected.Any advice would be appreciated. Thanks!
Ok,
Maybe this one :SQL> !cat q.sql
with tab as
select to_date('4-jan-2012', 'dd-mon-yyyy')+(level-1)*7 week,
to_number(to_char(to_date('4-jan-2012', 'dd-mon-yyyy')+(level-1)*7,'dd')) val,
case when level in (1,2) then null
when level = 3 then 11
when level = 4 then 18
when level = 5 then 18
when level = 6 then 8
when level = 7 then 8
when level = 8 then 15
when level = 9 then 22
when level = 10 then 22
end desired_result
from dual connect by level <= 10
------ end of sample data ------
select fweek,val,desired_result, lval as calculated_result
from (
select fweek,val,desired_result,src,lval, row_number() over (partition by fweek order by lval desc nulls last) r
from (
select fweek,val,desired_result,lval,src
from (
select to_char(week,'yyyymmdd') fweek, val, desired_result
, lag(val,0) over (order by week asc) lag00
, lag(val,1) over (order by week asc) lag01
, lag(val,2) over (order by week asc) lag02
from tab t
unpivot include nulls (
lval for (src) in
(lag00 as 0
,lag01 as 1
,lag02 as 2
where r=2
SQL> @q
FWEEK VAL DESIRED_RESULT CALCULATED_RESULT
20120104 4
20120111 11 4
20120118 18 11 11
20120125 25 18 18
20120201 1 18 18
20120208 8 8 8
20120215 15 8 8
20120222 22 15 15
20120229 29 22 22
20120307 7 22 22
10 rows selected.I have a difference from your desired_result for 20120111 : To me the 2nd greatest value for the 2 previous week is 4. I don't get why you want a NULL instead.
In order to have a bigger range (6 in the following example, but can be completed up to 52 weeks), the code should look like that :SQL> !cat q2.sql
with tab as
select to_date('4-jan-2012', 'dd-mon-yyyy')+(level-1)*7 week,
to_number(to_char(to_date('4-jan-2012', 'dd-mon-yyyy')+(level-1)*7,'dd')) val,
case when level in (1,2) then null
when level = 3 then 11
when level = 4 then 18
when level = 5 then 18
when level = 6 then 8
when level = 7 then 8
when level = 8 then 15
when level = 9 then 22
when level = 10 then 22
end desired_result
from dual connect by level <= 10
------ end of sample data ------
select fweek,val,desired_result, lval as calculated_result
from (
select fweek,val,desired_result,src,lval, row_number() over (partition by fweek order by lval desc nulls last) r
from (
select fweek,val,desired_result,lval,src
from (
select to_char(week,'yyyymmdd') fweek, val, desired_result
, lag(val,0) over (order by week asc) lag00
, lag(val,1) over (order by week asc) lag01
, lag(val,2) over (order by week asc) lag02
, lag(val,3) over (order by week asc) lag03
, lag(val,4) over (order by week asc) lag04
, lag(val,5) over (order by week asc) lag05
, lag(val,6) over (order by week asc) lag06
-- this should continue up to "lag(val,52) over (order by week asc) lag52"
from tab t
unpivot include nulls (
lval for (src) in
(lag00 as 0
,lag01 as 1
,lag02 as 2
,lag03 as 3
,lag04 as 4
,lag05 as 5
,lag06 as 6
-- this should continue up to "lag52 as 52"
where r=3
SQL> @q2
FWEEK VAL DESIRED_RESULT CALCULATED_RESULT
20120104 4
20120111 11
20120118 18 11 4
20120125 25 18 11
20120201 1 18 11
20120208 8 8 11
20120215 15 8 15
20120222 22 15 18
20120229 29 22 22
20120307 7 22 22
10 rows selected.This is the 3rd value over the 6 previous weeks.
<b><u>Nota :</u></b>
For some unknown reason, I had to convert week to char because of <i>"ORA-01801: date format is too long for internal buffer"</i>
I didn't try to change my NLS_DATE_FORMAT to see if that would help.
Similar Messages
-
How do you add multiple cells to the LARGE function?
I want to add several cells which are contained on different sheets and tables to the same LARGE function and select the first ranking cell value.
How do I add these cells as a single argument for this function?"...and select the first ranking cell value."
Hi eobet,
If your actual goal is as stated, you could use MAX, which will accept a list, a range, or a list of ranges as arguments.
LARGE accepts only a single argument to establish the set of values, plus a single argument to establish the rank of the desired value. That means you need to collect all of the vlues into a sngle contiguous group/range, then specify that range as the set. The avantage, ofcourse, is that with LARGE, you can specify that you want the 'third largest' value in the set.
Here's an example.
The data set is column B on tables Data 1 and Data 2.
The set is collected into a single contiguous range on the table Aux (which may be hidden, or placed on a separate sheet).
LARGE collects the nth value from the collected set in Aux, using this formula in the table Summary:
A2, and filled down: =LARGE(Aux :: A:B,ROW()-1)
MAX returns the largest value from the original data set on Data 1 and Data 2, using this formula on the table Summary-1:
A2: =MAX(Data 1 :: B,Data 2 :: B)
Regards,
Barry -
Numbers equivalent to Excel DMAX?
Hiya folks!
Is there a Numbers equivalent to Excel's DMAX function (as described here: http://office.microsoft.com/en-us/excel-help/dcount-HP005209049.aspx)? I'm looking to create a price book and would like essentially two tables. The first table will record my items, their price, store, and date. The second table I would like to show the lowest price and location for each item in the first table. So, for example, if my first table has the following:
Item
Price
Date
Store
Apple
1.00
1/2/13
Walmart
Orange
2.00
1/2/13
Walmart
Apple
1.50
1/3/13
Smiths
Orange
1.75
1/3/13
Smiths
Then I'd like my second table to display:
Item
Price
Date
Store
Apple
1.00
1/2/13
Walmart
Orange
1.75
1/3/13
Smiths
Alternatively, if anyone has some suggestions on how I can accomplish this, that'd be great!
Thanks!
JessIf you add an index column to your data table (here named 'Table 1') then you can do something like this, using INDEX MATCH, with MATCH set to find the smallest value.
Table 1
Item
Price
Date
Store
Index
Apple
1.00
1/2/13
Walmart
Apple|001.00
Orange
2.00
1/2/13
Walmart
Orange|002.00
Apple
1.50
1/3/13
Smiths
Apple|001.50
Apple
0.99
1/3/13
Mars
Apple|000.99
Orange
1.75
1/3/13
Smiths
Orange|001.75
Lowest
Item
Price
Date
Store
Apple
0.99
1/3/13
Mars
Orange
1.75
1/3/13
Smiths
The formula in E2 of 'Table 1':
=A2&"|"&RIGHT("0000000"&B2,6)
This simply concatenates the item name and price, padding the price with leading zeros.
The formula in B2 of 'Lowest', copied right and down, is:
=INDEX(Table 1::B,MATCH($A2,Table 1::$E,-1))
The -1 argument in MATCH means 'find smallest value'.
Here is a screenshot of the formula that may or may not display here:
Once MATCH figures out the row number in 'Table 1' the INDEX function retrieves the values there.
In column A of 'Lowest' you need to manually enter a list of distinct "fruits" with spelling that matches the names in 'Table 1'. If you have many names and need a way to automate that step there is an Automator Service that makes it easy to extract distinct values from a column. Post if you need that.
SG -
Report generation Toolkit: Excel report functions error -2146827284
Hi,
I'm trying to create an automated report using excel functions from the report generation toolkit in labVIEW. When I run the program that generates the report first time round (the report consists of several worksheets, each worksheet is added onto the report at a diffferent state in a state machine) it always works fine and no error is generated. However, when I run the program again it will infrequently (sometimes it does, other times it will not) generate the undefined error -2146827284, this is coming from one of the excel report functions and it cannot find it on highlight execution mode.
Does anyone know anything about this error, why it occurs, how to prevent it?
I would appreciate any help.
Thanks,
Rowanmebels_cti wrote:
Found something that helped; https://forums.ni.com/t5/LabVIEW/Error-code-quot-2146827284-quot-when-trying-to-open-an-Excel/m-p/20...
Excel still open
So I added this;
You should use the Application Quit method instead of killing the task. I doubt this is the cause of your issue.
Ben64 -
How to Simulate The Excel LINEST Function in LabVIEW
This may be a dummy question but I’m pressed for time. I have used the Linear Fit.vi function to duplicate the Excel LINEST function and it works great. However, the engineers here want to set the LINEST const option to FALSE. How can I duplicate this option using LabVIEW? I’m using LV v.8.5.1.
Solved!
Go to Solution.Hi Darin,
Your suggestion to use the General Polynomial Fit.vi lead me in the right direction. I am able to duplicate the “const” option within the Excel LINEST function by using this vi. Your response is much appreciated because it saved me considerable time. Attached is a modified version of the Regressions Demo.vi that was available in LV help. It shows how the “const” option makes a difference in the linear slope.
Thanks again,
Dave J.
Attachments:
Regressions Demo for TS1.vi 33 KB -
Equivalent to calling a function in labview
Hi,
I don't use Labview regularly and would appreciate some advice for what is probably a straightforward problem! If I have one process started and running in a while loop, how can I start and run a second process in another while loop while simultaneously stopping the first while loop? For example, I have a button which when pressed turns on an indicator. When a second button is pressed the first indicator goes off and the second goes on simultaneously.
Thanks for your help.Nested Loops?
Edit to add: This is not the equivalent to calling a function like in C. The equavilant to calling a function in LV is to make a sub-vi. The sub-vi would be the same as a function. Place the sub-VI on another (higher level) block diagram and wire to it is like calling that function. -
Download to Excel 2000 Functionality
Hi,
I use the "Download to Excel 2000" functionality in OBIEE.
When i see the output in Excel,columns B and C of excel get merged and display the second column in my report
The point here is the first column in the report also has the same property and type as Column 1.but it is displayed properly in Cell A in the excel
Is this an known OBIEE issue?
Can anybody please help in this regard??
Thanks in advanceI think you got it correctly.
I doubt this is Analytics problem - I think it's more of international codepages.
Even if you open the same spreadsheet in a different localized Excel version, you'll see similar results. And then if you save it and open it in original version, it'll be messed up.
Globalization :-) -
How to implement Excel like functionality using Table?
I have a requirement to implement excel like functionality in a table, i.e when I update the amount in the first row and tab out, the values in the rows below should get affected.
Could any one suggest idea how to get this done?Hi Timo,
Thanks for your Reply.
Can you please provide the code for capturing the key stroke in java script and queue it in the server and calling only the adf data table values from it.
Thanks And Regards,
Lovenish Garg
Edited by: lovenish on 21-Jan-2011 04:25 -
11g equivalent for the oracle bpm 10g global interactive
Hi,
What is the 11g equivalent for the oracle bpm 10g global interactive activity?
Thansk!The Initiator Task is the 11g equivalent to Global Interactive Activity.
Find more information here
http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15176/human_task_bpmpd.htm
and here
http://jamessmith73.wordpress.com/oracle-soa-bpm-11g/simple-bpm-task-initiator/ -
Can I use excel type functions embedded into an online pdf form, ie Qty x Price= total $
Let me tell you what I am sure about and what I am not sure about:
I am sure that I want to be able to sell my products online. The industrial market that I sell to usually do not allow the maintenance people that find me on the web, do not have the ability to use credit cards in a typical shopping cart format due to the higher prices that the equipment I sell costs and that most people call me up to 'request a formal quotation' to give to their purchasing depart. So, my bright idea is to create numerous pdf files with very specific url's to match the very specific items that I sell. (1) item per pdf. I am thinking that the advantage to skipping the shopping cart approach and allowing the customer to fill in the qty of items, which would be mulitpled by the price of the item (a constant #) and then hitting a apply button, that would calculate subtotal price. Discounts for the qty the customer inputs (qty of items inputted by customer would be discounted on a percentage x base price) and a refresh the screen. It would allow for SEO advantages from what I have seen in the past in my very vertical market. All forms would be setup using the same functionality, just images, alt text, urls, and readable text would change.
What I don't know- which is alot, then how to calculate shipping costs. I have a weight per item, which can be added up. I saw an Adobe blog that allows UPS shipping cost to be programmed in. I don't know how dreamweaver works, which was what the blog mentioned would allow for this updated, instantanious interface with UPS and calculating real shipping costs to a specific zip code. Shipping cost would be fluff to this page. The main thing would be to do allow the customer to be able to fill in a qty of the specific item on the page, calculate a discount if / then type thing, be able to have customer email to purchasing dept or print. I would date stamp it with verbage that pricing is valid for XX days and if I could get a copy emailed to me that would be icing on the cake. I believe that this non static pdf would be something different then the current competion and that it would allow for 100's of quotes to be generated without customers having to wait 15 minutes to an hour for me to process the exact document that they are looking for.
Hajeks -
Equivalent of Excel Goal Seek in Numbers
I'm looking for the equivalent of Excel Goal Seek in Numbers for iPad. Any thoughts on finding or creating this?
Numbers does not have a goal seek feature.
You can often create a similar effect by using a slider that you manually sweep. -
I bought my Microsoft office last year and excel stopped functioning two weeks ago.
there is a repeated beeping sound.
LIke several beeps in a row?
Power On Self-Test Beep Definition - Part 2
And try Resetting the System Management Controller (SMC) -
We have downloaded several of our 11g dashboards to Excel and notice that formatting varies significantly from what it was in 10g. Percentages sometimes display different number of decimal points. There are no boarders around some of the cells. Has anyone run into this? Found a solution? What versions of Excel are supported?
Thanks!
Edited by: Mtn_State on Sep 12, 2011 2:04 PMHi,
It's Bug.i have also faced the same kind of issues. hope it's clear.
THanks
Deva -
Essbase Error:Set is too large to be processed. Set size exceeds 2^64 tuple
Hi,
we are using obiee 11.1.1.6 version with essbase 9.3.3 as a data source . when I try to run a report in obiee, I am getting the below error :
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 96002] Essbase Error: Internal error: Set is too large to be processed. Set size exceeds 2^64 tuples (HY000)
but if I run the same query in excel add in, I am just getting 20 records . wondering why I am getting this error in obiee . Does any one encountered the same issue ?
Thanks In advance,Well if you want to export in I think you have to manually do it.
The workaround it to open your aperture library by right clicking it and show contents...
Then go into your project right click show contents...
In here there are sub folders on dates that the pictures were added to those projects. If you open the sub folder and search for your pictures name it should be in that main folder.
You can just copy it out as you would any normal file to any other location.
Voila you have manually exported out your file.
There is a very similar post that has been close but again you can't export the original file that you are working on - FYI http://discussions.apple.com/thread.jspa?threadID=2075419 -
Migration from 9i to 11g Transparent Gateway results in a) ORA-12704: character set mismatch b) ORA-02070: database ... does not support SYS_OP_C2C in this context
What Transparent Gateway (TG) 11g configuration steps prevent the following errors?:
a) ORA-12704: character set mismatch
b) ORA-02070: database <DB_link_name> does not support SYS_OP_C2C in this context
Hints:
The current 9i TG works with the existing views and packages. These same db objects will not compile using the new 11g TG.
The db objects are on an Oracle 10g database linked to an SQL Server 2008 R2 database.
Since the 9i TG works I assume a configuration to the 11g TG will get it working same as before. But what...
Is is something controlled by these parameters? (Sorry, I don't know how this stuff works. I'm the application developer. My DBAs setup the Transparent Gateways.):
Parameters in the Gateway Startup Shell script:
ORA_NLS33
NLS_LANG
Parameters in the initsid.ora file:
HS_LANGUAGE
HS_NLS_DATE_FORMAT
HS_NLS_DATE_LANGUAGE
I'm avoiding the known workaround to refactor the VIEWS and PACKAGES to contain CAST() statements to explicitly match the data types. A server side fix to the 11g TG is preferred.
Sample code:
a) ORA-12704: character set mismatch
... is caused by SQL that works with my 9i TG but not with my 11g TG. It's a snippit from my view that won't compile:
select status_code -- Oracle VARCHAR2(30)
from ora_app_interfaces
UNION
select "StatusCode" as status_code -- SQL Server NVARCHAR(30)
from SqlAppInterfaces
Example workaround that I'm avoiding:
select status_code
from ora_app_interfaces
UNION
select CAST("StatusCode" as VARCHAR(30)) as status_code
from SqlAppInterfaces
b) ORA-02070: database <DB_link_name> does not support SYS_OP_C2C in this context
A line of code in the procedure that compiles correctly but fails to execute:
-- Insert into SQL Server from Oracle
insert into PatientMedRecNum (
"PatID", -- SQL Server INT
"MedRecNum", -- SQL Server NVARCHAR(11)
"Hospital") -- SQL Server NVARCHAR(30)
values (
pi_pat_id, -- Oracle NUMBER
pi_med_rec_num, -- Oracle VARCHAR2
pi_hospital); -- Oracle VARCHAR2
I'd guess the errors are caused by the TG's implicit conversion between the Oracle VARCHAR2 and the SQL Server NVARCHAR... but this works fine on the 9i TG... how do I set it up to work on the 11g TG?
Thanks!Trace of 11g TG... generating errors due to lack of automatic mapping from SQL NVARCHAR to Oracle NVARCHAR, where the previous 9g TG mapped from SQL NVARCHAR to Oracle VARCHAR2.
Oracle Corporation --- MONDAY SEP 22 2014 13:35:08.186
Heterogeneous Agent Release
11.2.0.4.0
Oracle Corporation --- MONDAY SEP 22 2014 13:35:08.186
Version 11.2.0.4.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 "UCS2"
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_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 "FALSE"
setting HS_FDS_SUPPORT_STATISTICS to default of "TRUE"
setting HS_FDS_QUOTE_IDENTIFIER to default of "TRUE"
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"
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"
setting HS_FDS_ARRAY_EXEC to default of "TRUE"
Exiting hgosdip, rc=0
ORACLE_SID is "xxxDEV"
Product-Info:
Port Rls/Upd:4/0 PrdStat:0
Agent:Oracle Database Gateway for MSSQL
Facility:hsa
Class:MSSQL, ClassVsn:11.2.0.4.0_0019, Instance:xxxDEV
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=178
HOCXU_DRV_NCHAR=1000
HOCXU_DB_CSET=178
HS_LANGUAGE not specified
rc=1239980 attempting to get LANG environment variable.
HOCXU_SEM_VER=102000
Entered hgolofn at 2014/09/22-13:35:08
RC=-1 from HOSGIP for "PATH"
Setting PATH to "C:\oracle\product\11.2.0\tg_2\dg4msql\driver\lib"
Exiting hgolofn, rc=0 at 2014/09/22-13:35:08
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"
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2014/09/22-13:35:08
Entered hgolgon at 2014/09/22-13:35:08
reco:0, name:abaccess, tflag:0
Entered hgosuec at 2014/09/22-13:35:08
uencoding=UTF16
Entered shgosuec at 2014/09/22-13:35:08
Exiting shgosuec, rc=0 at 2014/09/22-13:35:08
shgosuec() returned rc=0
Exiting hgosuec, rc=0 at 2014/09/22-13:35:08
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_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"
HOSGIP for "HS_FDS_DEFAULT_OWNER" returned "dbo"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2014/09/22-13:35:08
HS_FDS_CONNECT_INFO = "sqlserverxxx/sqlinstancexxx/SQL_Server_2008_xxx_DEV"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2014/09/22-13:35:08
dsn: sqlserverxxx/sqlinstancexxx/SQL_Server_2008_xxx_DEV, name:xxx_admin
optn:
Entered hgocip at 2014/09/22-13:35:08
dsn:sqlserverxxx/sqlinstancexxx/SQL_Server_2008_xxx_DEV
Exiting hgocip, rc=0 at 2014/09/22-13:35:08
Entered shgogohn at 2014/09/22-13:35:08
ohn is 'OraGtw11g_home2'
Exiting shgogohn, rc=0 at 2014/09/22-13:35:08
RC=-1 from HOSGIP for "HS_FDS_ENCRYPT_SESSION"
using 0 as default value for "HS_FDS_ENCRYPT_SESSION"
RC=-1 from HOSGIP for "HS_FDS_VALIDATE_SERVER_CERT"
using 1 as default value for "HS_FDS_VALIDATE_SERVER_CERT"
Entered hgocont_OracleCsidToIANA at 2014/09/22-13:35:08
Returning 2252
Exiting hgocont_OracleCsidToIANA at 2014/09/22-13:35:08
Exiting hgogenconstr, rc=0 at 2014/09/22-13:35:08
Entered hgopoer at 2014/09/22-13:35:08
hgopoer, line 231: got native error 5701 and sqlstate 01000; message follows...
[Oracle][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Changed database context to 'Xxx_XXX_DEV'. {01000,NativeErr = 5701}[Oracle][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Changed language setting to us_english. {01000,NativeErr = 5703}
Exiting hgopoer, rc=0 at 2014/09/22-13:35:08
hgocont, line 2764: calling SqlDriverConnect got sqlstate 01000
Entered hgolosf at 2014/09/22-13:35:08
Exiting hgolosf, rc=0 at 2014/09/22-13:35:08
DriverName:HGmsss23.dll, DriverVer:07.01.0093 (B0098, U0065)
DBMS Name:Microsoft SQL Server, DBMS Version:10.00.2531
Exiting hgocont, rc=0 at 2014/09/22-13:35:08 with error ptr FILE:hgocont.c LINE:2764 ID:SQLDriverConnect
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 128 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2014/09/22-13:35:08
Entered hgoulcp at 2014/09/22-13:35:08
Entered hgowlst at 2014/09/22-13:35:08
Exiting hgowlst, rc=1 at 2014/09/22-13:35:08
SQLGetInfo returns Y for SQL_PROCEDURES
SQLGetInfo returns 0x1f for SQL_OWNER_USAGE
TXN Capable:2, Isolation Option:0xf
SQLGetInfo returns 128 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 128 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 134 for SQL_MAX_PROCEDURE_NAME_LEN
HOSGIP returned value of "TRUE" for HS_FDS_QUOTE_IDENTIFIER
SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
13 instance capabilities will be uploaded
capno:1992, context:0x0001ffff, add-info: 0
capno:3042, context:0x00000000, add-info: 0, translation:"42"
capno:3047, context:0x00000000, add-info: 0, translation:"57"
capno:3049, context:0x00000000, add-info: 0, translation:"59"
capno:3050, context:0x00000000, add-info: 0, translation:"60"
capno:3066, context:0x00000000, add-info: 0
capno:3067, context:0x00000000, add-info: 0
capno:3068, context:0x00000000, add-info: 0
capno:3069, context:0x00000000, add-info: 0
capno:3500, context:0x00000001, add-info: 91, translation:"42"
capno:3501, context:0x00000001, add-info: 93, translation:"57"
capno:3502, context:0x00000001, add-info: 107, translation:"59"
capno:3503, context:0x00000001, add-info: 110, translation:"60"
Exiting hgoulcp, rc=0 at 2014/09/22-13:35:08
Entered hgouldt at 2014/09/22-13:35:08
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2014/09/22-13:35:08
Entered hgobegn at 2014/09/22-13:35:08
tflag:0 , initial:1
hoi:0x12ee18, ttid (len 32) is ...
xxx
xxx
tbid (len 10) is ...
0: 09000F00 0FAC1E00 010A [..........]
Exiting hgobegn, rc=0 at 2014/09/22-13:35:08
Entered hgodtab at 2014/09/22-13:35:08
count:1
table: XXX_INTERFACE
Allocate hoada[0] @ 0000000005F58270
Entered hgopcda at 2014/09/22-13:35:08
Column:1(InterfaceID): dtype:2 (NUMERIC), prc/scl:20/0, nullbl:0, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2014/09/22-13:35:08
Entered hgopcda at 2014/09/22-13:35:08
Column:2(TableName): dtype:-9 (WVARCHAR), prc/scl:30/0, nullbl:0, octet:60, sign:1, radix:0
Exiting hgopcda, rc=0 at 2014/09/22-13:35:08
Entered hgopcda at 2014/09/22-13:35:08
Column:3(TableID): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2014/09/22-13:35:08
Entered hgopcda at 2014/09/22-13:35:08
Column:4(StatusCode): dtype:-9 (WVARCHAR), prc/scl:30/0, nullbl:0, octet:60, sign:1, radix:0
Exiting hgopcda, rc=0 at 2014/09/22-13:35:08
Entered hgopcda at 2014/09/22-13:35:08
Column:5(StatusTimestamp): dtype:93 (TIMESTAMP), prc/scl:23/3, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2014/09/22-13:35:08
Entered hgopcda at 2014/09/22-13:35:08
Column:6(InterfaceLog): dtype:-9 (WVARCHAR), prc/scl:400/0, nullbl:1, octet:800, sign:1, radix:0
Exiting hgopcda, rc=0 at 2014/09/22-13:35:08
The hoada for table XXX_INTERFACE follows...
hgodtab, line 1073: Printing hoada @ 0000000005F58270
MAX:6, ACTUAL:6, BRC:1, WHT=6 (TABLE_DESCRIBE)
hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR,0x400:UNICODE_COLUMN)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
3 DECIMAL N 22 22 20/ 0 0 0 0 InterfaceID
12 VARCHAR N 60 60 128/ 30 1000 0 440 TableName
4 INTEGER N 4 4 0/ 0 0 0 0 TableID
12 VARCHAR N 60 60 128/ 30 1000 0 440 StatusCode
91 DATE N 16 16 0/ 0 0 0 0 StatusTimestamp
12 VARCHAR Y 800 800 129/144 1000 0 440 InterfaceLog
Exiting hgodtab, rc=0 at 2014/09/22-13:35:08
Entered hgodafr, cursor id 0 at 2014/09/22-13:35:08
Free hoada @ 0000000005F58270
Exiting hgodafr, rc=0 at 2014/09/22-13:35:08
Entered hgotcis at 2014/09/22-13:35:08
Calling SQLStatistics for XXX_INTERFACE
IndexType=SQL_TABLE_STAT: cardinality=0
IndexType=1: PK_XXX_Interface
IndexType=3: IX_TableID
IndexType=3: IX_TableName
Calling SQLColumns for dbo.SQL_app_INTERFACE
#1 Column "InterfaceID": dtype=2, colsize=20, decdig=0, char_octet_length=0, cumulative avg row len=15
#2 Column "TableName": dtype=-9, colsize=30, decdig=0, char_octet_length=60, cumulative avg row len=60
#3 Column "TableID": dtype=4, colsize=10, decdig=0, char_octet_length=0, cumulative avg row len=64
#4 Column "StatusCode": dtype=-9, colsize=30, decdig=0, char_octet_length=60, cumulative avg row len=109
#5 Column "StatusTimestamp": dtype=93, colsize=23, decdig=3, char_octet_length=0, cumulative avg row len=125
#6 Column "InterfaceLog": dtype=-9, colsize=400, decdig=0, char_octet_length=800, cumulative avg row len=725
3 Index(es) found:
Index: PK_XXX_Interface, type=1, ASCENDING, UNIQUE, cardinality=0
#1 Column 1: InterfaceID
Index: IX_TableID, type=3, ASCENDING, NON-UNIQUE, cardinality=0
#1 Column 3: TableID
Index: IX_TableName, type=3, ASCENDING, NON-UNIQUE, cardinality=0
#1 Column 2: TableName
Exiting hgotcis, rc=0 at 2014/09/22-13:35:08
Maybe you are looking for
-
Hi, we are using source system is Oracle EBS 11.5.10 and BI Application 7.9.4. We have license only on GL and Profitability area. and we needs to configure ETL load for only GL and Profitability. In DAC there is seeded execution plan called Financial
-
Access on a OAS JMS through OSB
Hi, Does anybody know how can I configure OSB(Business Service) to access a JMS Queue on a Oracle Application Server? I understand that i have to configure JMS module or something on webLogic console. But I really don't know what. Thanks in advance.
-
Queries on 0GR_VAL_PD and 0GR_VAL_R_P
Hello Guys, I have one purchasing cube 0PUR_C01 which has two key figures 0GR_VAL_PD : Goods Receipt Value as at Posting Data and 0GR_VAL_R_P : GR Value : Returns as at posting date. How we can calculate values of this KF? Is there any standard for
-
hello....i just bought a n85 orange france with sw version 10.045 ..im happy with my new nokia mobile but i have a small problem.... ....when i talk and i slide up ( open the keypad ) the keypad doesnt light up...any idea to fix this ? ...i would lik
-
Migration to 11G fails (oracle.jbo.PersistenceException) JBO-26054
While attempting to migrate an application from JDEV version 10.1.3.2 to 11G 1.1.1 I'm receiving an error: (oracle.jbo.PersistenceException) JBO-26054: Invalid version number for AppModule. Require 11.1.1.51.56 or greater, but found 10.1.3.40.66. The