What is the result of this query?
select min(rowid) from table -- what does this give?
Can anybody please answer?
user6440749 wrote:
select min(rowid) from table -- what does this give?
Can anybody please answer?The min() function and the rowid pseudocolumn are both clearly documented in the SQL Reference manual.
Please explain what it is about those documented explanations you don't understand and we'll be glad to help clear it up.
Similar Messages
-
Wondering:what 's the result of this expression:
(byte) oxa2 >>> 2
very simple, right?is a right bit shit isn't it?well, oxa2 = 1010 0010
bit shift = 0010 1000 || 10 (chopped off)
result = ox28
I think. Anyone agree or disagree?
...DJVege... -
What is the result this in access sequence exclusive not marked
Hi Gurus,
In pricing access sequence v/07 if we did not mark the exclusion what will hapeen. In that access sequence it contain 3 tables i did not mark as exlusion what will happen. What is the result of this.
Thanks & Regards
Points will be rewardedHi lakshmi pathi
Thanks for your replay. When am maintaining condition record in vk11 all condition recordds coming. In that am selecting am maintaing. Even though if i put exclusive indicator in access sequcne even though same records am getting in the same order.\
please clarify on this
Thanks & Regards
points will be rewarded -
How can i pass a parameter to the query to filter the result of this lookup
Hello,
i'm developping a web application with JDeveloper 10.1.2 and JHeadStart.
i realy need to know how can i filter the lookup (LOV) query result.
in other word, when i click on the lookup, it show all the row that exist in may data base table.
what i want is how can i pass a parameter to the query to filter the result of this lookup ?
Thank youHi,
have a look if this helps
http://oracle.com/technology/products/jdev/tips/fnimphius/restrictlovlist/restrictlov.html
Frank -
How do you use BOBJ SDK to retrieve the results of a query in XML
I am trying to programatically get the results of a query given the query id
My old code used BusinessObjects Enterprise Web Services API to Retrieve a document's contents
DocumentInformation biDocInfo;
RetrieveData retBOData = RetrieveData.Factory.newInstance();
Action[] actions = new Action[1];
retBOData.setRetrieveView(xmlView);
biDocInfo = rEngine.getDocumentInformation(queryId, null, actions, null, retBOData);
(XMLView) biDocInfo.getView();
Is there an equivalent way to retrieve the results of the query using SAP BusinessObjects BI 3.x Developer SDK Library ?
Thanks for any informationHello.
Are you wanting to use the BusinessObjects Enterprise SDK along with the Report Engine SDK as opposed to using the Web Services SDK that you were using previously?
Also, what part of a webi document are you trying to get the XML format of?
- Whole document
- Single report within a document
- Report page of a report
- Report part within a report
- All data providers
- Single data provider
If you are trying to use Business Objects Enterprise along with the Report Engine SDK, there are numerous samples for the various parts of the webi document that I mentioned above available at the following link:
http://wiki.sdn.sap.com/wiki/display/BOBJ/JavaReportEngineSDKSamples
I hope that this information helps.
Regards.
- Robert -
How to execute a procedure depending on the result of a query?
Hello, I'm new in ODI.
I want to execute a procedure depending on the result of a query Oracle table.
We have a Oracle Table whit a column that contains two possibles values.
I want read the table, row by row, and depending on this value, execute a Procedure or execute another.
How can i do?what you need to do is
1. create a variable which "new_var2" which has the count of the number of rows you want to process. must be data type numeric.
2. copy "new_var2" to the package screen.
3. duplicate the "new_var2" on the package screen and evaluate the variable and test for "> 0" zero, call it "new_var2_E"
3. create a new odi variable "new_var1" with a refresh of "select field1 fom (select field1,rownum as rownumber from tablex) where rownumber = #new_var2" in the relevant schema and technology.
4. copy "new_var1" into your package (some where in the flow)
5. right click the "new_var1" variable in you package screen and you should get the option duplicate step (click on that)
6. select the the duplicate "new_var1" on the package screen and correct the the name to something meaning full to you "new_var1_E", also change the "type" to "evaluate variable" then you should see a "value" box. enter one of the values you want to test in the box (remember do not put in quotes ' )
7. now back on the package screen join the "new_var1" to the "new_var1_E" with an OK line
8 you now join "new_var2" to "new_var2_E" with OK
9 you join "new_var2_E" to "new_var1"
10. you then join the "new_var1_E" with an OK or a KO line to the relevant procedure.
12. you need to duplicate "new_var2" in the package screen one more time this time and call it "new_var2_D" set the type to evaluate and then select the increment of -1
13. the relevant procedure to "new_var2_D" with an OK
14. join the "new_var2_D" to the "new_var2_E" with an OK
15. this should close off the loop now the exit point is "new_var2_E" with a KO line to the next part of your process....
Basically you should end up with a loop on new_var2 decementing, and it is used to get a specific next record row from your table.
Hope this helps, sorry it is a little long winded..
Edited by: DavidGD on Feb 8, 2009 3:29 PM -
Can't find out the problem in this query
emp Table->
(name varchar2(10),
shot_seq varchar2(1)
The emp table contains around 2 million records.
When I run the following query the output comes within 20 seconds.
select name,sum(decode(shot_seq,1,1,0)) as pd2 from emp where shot_seq = 1
group by name;
But when i made the change in the query by putting ' shot_seq = '1' ', so that query is now:
select name,sum(decode(shot_seq,1,1,0)) as pd2 from emp where shot_seq = '1'
group by name;
The output doesn't comes, sqlplus just hangs up.
Please explain what is the reason behind this.
Thanks for ur time,
skala.Don't you think your query should be like this as seq_shot is a varchar2(1) field ?
select name,sum(decode(shot_seq,'1',1,0)) as pd2 from emp where shot_seq = '1'
group by name;
null -
What is the result of using the "post tax payable" option in the advance ta
what is the result of using the "post tax payable" option in the advance tax report - program rfumsv00? I know it will then post the input and output tax to the tax payable GL account. But from point of view of reporting, when you run the advance tax report, will there be any change after doing this posting to tax payable account?
Basic communication aside, J2EE is mostly a synchronous run-time environment. When asynchrony is introduced, a whole new set of infrastructure requirements is needed to support QoS and commercial-quality implementations. In other words, it's not just about API anymore, it's about reliable communication, exception handling, time outs, etc. You may want to look at this Q&A to see some of the benefits provided by J2EE as underlying run-time for orchestration:
http://searchwebservices.techtarget.com/ateQuestionNResponse/0,289625,sid26_cid511195_tax292928,00.html
Doron\
Download Collaxa 2.0
http://www.collaxa.com -
How to make the dblink and what is the use of this
plz any body tell me "how to make the dblink and what is the use of this"
sujitDo you understand how to make the Slider work using code to read its value? You will need to look into that in order to do this.
What you can do is have the yello rectangle be a movieclip that sits over the red rectangle and use the Slider to control the yellow rectangle's alpha property from 0 to 1. That way the yellow will gradually fade as you slide.
What you will then need to do is figure out how to make the number of dots that appear reduce from 15 to 8 over the same range of the slider. You need to use the fractional value from the slider to decide how many dots either appear or do not appear.
You should not start new postings for the same topics that you arlready have postings for. Doing so in the future might result in them being removed. -
If empty internal table in select for all entries what is the result?
In select all entries statement , if empty internal table is there then what is the result.
Hello,
If the table is empty then it will select all the records table....
To aviod this u have check the body of the itab.
If not itab[] is intial.
select * ....
endif.
I useful reward.
Vasanth -
Crystal Report is very slow to fetch the results of a Query used in Command
Hello All,
We have a query which is used in command object in Business Objects Crystal reports XI. This report is executed against IBM DB2 database. It is taking 40 min to getback the results. Here is the Query. Please suggest how can i improve the performance of this query in report as another reporting tool is taking 2-3 min time to fetch the results with the same query.
SELECT
A1.CARR_NUM , A1.CST_CTR_NUM ,A1.CLM_CLOSE_STS_CD , A1.CLM_RJCT_STS_CD ,A1.CLM_VOID_STS_CD , A1.PMT_MTCH_DT , A1.ASC_TRANS_TYP_CD , A1.DRUG_DESC ,
A1.BATCH_NUM , T5.TPA_RJCT_CD , A1.DIV_NUM , A1.INVC_NUM , A1.SERVICE_DT , A1.ACTL_REFILL_NUM , A1.CLM_DSPSN_CD , A1.INVC_RSBMT_CD , A1.TP_TOTAL_DUE_AMT ,
A1.INTL_BILG_MTHD_CD , A1.CARR_EOB_1_CD , T5.CARR_EOB_CD_DESC , A1.NTNL_DRUG_CD , A1.PTNT_FRST_NM , A1.PTNT_MDDL_INTL , A1.PTNT_LST_NM , A1.PTNT_BIRTH_DT ,
A1.CRDHLDR_ID_NUM
FROM
(SELECT DISTINCT
T1.CARR_NUM , T1.CST_CTR_NUM , T1.CLM_CLOSE_STS_CD , T1.CLM_RJCT_STS_CD , T1.CLM_VOID_STS_CD , T3.PMT_MTCH_DT ,
T3.ASC_TRANS_TYP_CD , T2.DRUG_DESC , T4.BATCH_NUM , T1.DIV_NUM , T1.INVC_NUM , T1 . SERVICE_DT , T1.ACTL_REFILL_NUM ,
T1.CLM_DSPSN_CD , T1.INVC_RSBMT_CD ,T1.TP_TOTAL_DUE_AMT , T1.INTL_BILG_MTHD_CD ,T3.CARR_EOB_1_CD ,T1.NTNL_DRUG_CD , T2.PTNT_FRST_NM , T2.PTNT_MDDL_INTL , T2.PTNT_LST_NM , T2.PTNT_BIRTH_DT , T2.CRDHLDR_ID_NUM
FROM
PDRD2LO.VINVC_CLM T1
, PDRD2LO.VPMNT_DTL T3
, PDRD2LO.VINVC_CLM_2 T2
, PDRD2LO.VINVC_ITM_PHARM T4
WHERE
T1.CLM_CLOSE_STS_CD ='OP'
AND T1.CLM_RJCT_STS_CD ='RJ'
AND T1.CLM_VOID_STS_CD ='NV'
AND T3.ASC_TRANS_TYP_CD ='40'
AND T1.CARR_NUM = T3.CARR_NUM
AND T1.CST_CTR_NUM = T3.CST_CTR_NUM
AND T1.DIV_NUM = T3.DIV_NUM
AND T1.INVC_NUM = T3.INVC_NUM
AND T1.SERVICE_DT = T3.SERVICE_DT
AND T1.CLM_CTRL_NUM = T3.CLM_CTRL_NUM
AND T1.ACTL_REFILL_NUM = T3.ACTL_REFILL_NUM
AND T1.INVC_ITM_NUM = T3.INVC_ITM_NUM
AND T1.REFILL_TRANS_NUM = T3.REFILL_TRANS_NUM
AND T1.CARR_NUM = T2.CARR_NUM
AND T1.CST_CTR_NUM = T2.CST_CTR_NUM
AND T1.DIV_NUM = T2.DIV_NUM
AND T1.INVC_NUM = T2.INVC_NUM
AND T1.SERVICE_DT = T2.SERVICE_DT
AND T1.ACTL_REFILL_NUM = T2.ACTL_REFILL_NUM
AND T1.CLM_CTRL_NUM = T2.CLM_CTRL_NUM
AND T1.INVC_ITM_NUM = T2.INVC_ITM_NUM
AND T1.REFILL_TRANS_NUM = T2.REFILL_TRANS_NUM
AND T1.INVC_CTRL_NUM = T4.INVC_CTRL_NUM) A1
LEFT OUTER JOIN PDRD2LO.VCARR_EOB T5
ON A1.CARR_EOB_1_CD = T5.CARR_EOB_CD
AND A1.CARR_NUM = T5.CARR_NUM
AND A1.DIV_NUM = T5.DIV_NUM
Thanks!Hi Zilla Eh ,
Thanks for the reply.
The another reporting tool name is impromptu and it takes 2-3 min , where in Crystal report is taking around 40 min. Please let me know if you any other questions.
Regards
Ravi -
Using the results of one Query in a workbook as a filter in another query
Hello!
I'd like to have one workbook which my users can execute and the result from one Query (e,g, Customer Account Number) will then be used as a filter in a second query (which would be from a different cube).
Can this be done?
Cheers.Hi,
As far as I understand your requirement, you want to pass the result of one query to another query as a filter.
Well you can do this, by Using Replacement Path Variable.
For e.g. you want to pass Values of Custmomer Account Number to another query. In the second query, create one variable on Customer Account Number with type Replacment Path. Here it will ask you to enter the name of the query from which you would like to take the values of Customer Account Number.
When you will run the second query , it will execute the first query from which you want to read the customer accoutn number in the back-end. And it willl display the output the second query as per the valeus of customer account number.
This will help.
- Jaimin -
Getting the actual size of the result of a query
Hi,
I would like to ask if someone knows on how to get an estimate size of the result of a query on a table. To make it more specific, here is an example.
Let us say I have this table called EMP and it has a column called DATE. I have issued a query like this:
select * from EMP where DATE < to_date('01-AUG-08');
I want to get the actual size of the result of the query in bytes or MB. How would i achieve this without creating another table and transferring the data on it.You can use SQL*Plus Autotrace to have the data size sent between client and database session:
SQL> set autotrace traceonly statistics;
SQL> select * from employees where hire_date < to_date('01/08/08');
107 rows selected.
Statistics
430 recursive calls
0 db block gets
123 consistent gets
11 physical reads
0 redo size
9405 bytes sent via SQL*Net to client
457 bytes received via SQL*Net from client
9 SQL*Net roundtrips to/from client
3 sorts (memory)
0 sorts (disk)
107 rows processed
SQL>Edited by: P. Forstmann on 25 janv. 2011 18:55 -
How to show only the result of a query
Hi experts,
i need to show only the result of a query (hiding all the rows)
according to mathematical functions like sum, average, count ets. i need the result to be shown widhwise the query (Horizontal)
thanks a lot
NirHi
I did get exactly.....but if i m right then you can do this by selecting the keyfigure goto the calculation tab select calculate result as sum or whatever you want to use.
Regards
Lalit k Tyagi -
What's the exact difference between "Query Def. Filter Value Selection" and
Hi Gurus,
what's the exact difference between "Query Def. Filter Value Selection" and "Query Execution Filter Val. Selectn" in info-object's "Business explorer" tab?
I found out that if my info-object A has a input-ready variable in a query,after the query running,in the selection screen,my info-object A's F4 value is follow the setting of "Query Execution Filter Val. Selectn",as the setting of "Query Def. Filter Value Selection" I tried every diff setting, it won't effect my query anyway.
so:
1.what's the exact difference between "Query Def. Filter Value Selection" and "Query Execution Filter Val. Selectn" in info-object's "Business explorer" tab?
2.how they effect query's presentation?
I searched forum,didn't find the answer what I want.
Thanks everyone.Hi Denny,
I will try to explain it again.
Query Def. Filter Value Selection : Let say the value is set to "Only Values in Infoprovider"
Lets take an example infoobject - 0MATERIAL (Material)
Total material records in material Master = 1000 (master Data table /BI0/PMATERIAL)
You create a query on top of an Infoprovider using Material.
Total unique materials in Infoprovider= 500.
Now when you are in design mode in Query Designer, and you try to restrict Material by few materials (for e.g. 1, 2, and 3), for this you right click on material and select Restrict, the pop-up opens with list of materials, this list is all those 500 materials which are in the infoprovider, because the setting is "Only Values in Infoprovider". Which means then when you are trying to restrict a characterstic in query definition the list of values displayed for restricition is derived from Infoprovider.
Query Execution Filter Value Selection - I think you already know what it is , its the read mode for F4 help selection.
I hope this helps.
Thanks
CK
Maybe you are looking for
-
i cannot sync my iphone music, i had used my i phone on another pc, which died. Ive managed to save the hard drive and transfer stuff across. I ended up smashing my phone and could update all other stuff on restore but cant sync any music. It is al
-
HT1848 This article is no longer accurate in 2014
Not a question but a note: In 2014 and 2013, this article (articleId=HT1848) is no longer accurate. In recent versions including 11.4(18), the actual behavior is unrelated to the image in the article; rather, File->Devices->Transfer Purchases From <d
-
ISE version 1.2 patch 6 release notes
Hi Everyone, I notice that Cisco has released patch 6 for ISE version 1.2 yesterday. I am trying to locate the all the "resolved" issues for patch 6; However, when I look at the ISE release notes http://www.cisco.com/c/en/us/td/docs/security/ise/1-2
-
Problems with keeping original contacts
How can I keep my original contacts that have been merged with iCloud? The problem is that the iCloud account is in use already and all the contacts that were merged in that account. Have all been put into my contacts. I want to delete all those cont
-
Downloading a movie from the iTunes Store after it has been deleted
I accidentally deleted a purchased movie I was downloading from the iTunes Store. Now when I click on the movie by going to Purchased and clicking on the movie I don't get a button that lets me download the movie from iCloud; instead, there is a butt