All the SQL functions - to use in Discoverer-desktop reporting?
Hi ,
Can anyone tell me where i can find all the SQL functions, <conditional stmts> etc - to use in Discoverer-desktop reporting?.
Thx, Sree
Hi,
I am not quite sure what you mean. You can see all the functions available when you edit a workbook. Create a calculation and select the functions, your custom functions will be under database functions. Conditions are on the condition tab.
Rod West
Similar Messages
-
Latest update of Firefox is REALLY slow. Is it just all the extra functionality that has been added or is there a button I need to press to make it the same speed as it use to be? I'll have to start usin safari again as this isn't funny anymore
Can i retro grade back to the last version?uninstalled firefox ....deleted all files still remaining under mozilla firefox directory in program files ... to avoid having to reprogram all my settings, reisntall all addons as well .. I did not remove anything from mozilla firefox that is stored in either appdata or under the windows users directory (if any)
... the as suggested reinstalled the latest version of the firefox browser using the link you provided in the email ..; tested and several issues still remain present and unresolved ....
so please this is urgent or I will have to jump browsers and start using chrome .. because we work 14 hours a day 6 (sometimes 7) days a week, to get ready for the launch of our newest venture and we cannot lose that much days on browser related issues ... so please instead of putting me through week long step process .. of do this .. do that .. can you please actually look into the issue from your end .. I use firefox for so many, many years thta I deserve this kind of support .. thnx Robert -
Which SQL function to use to get previous month's data?
Hi
The reporting need: Display of two month's payroll run results....current and previous (based on the parameter passed) in Oracle Discoverer.
Data source: A table in which run result values are stored. Of course to be linked to number of other tables.
Can somebody guide me on which SQL function to use to get the data for previous month?
Secondly, as Discoverer does not support parameters, I cannot put parameter in the query itself. I'll be applying parameter later while generating my report.
Please advice.
Thanks and regards,
AparnaIt's not very clear in my head... but you can try :
SQL> select * from test;
ENAM SAL DT
TOTO 1000 30/05/06
TOTO 1001 20/04/06
TOTO 1002 11/03/06
TATA 2000 30/05/06
TATA 1500 20/04/06
TUTU 3500 30/05/06
6 rows selected.
SQL> select ename, dt, sal currmonth,
case when trunc(lag(dt,1,dt) over (partition by ename order by dt),'MM') = trunc(add_months(dt,-1),'MM')
then lag(sal,1,sal) over (partition by ename order by dt)
else null end prevmonth
from test
SQL> /
ENAM DT CURRMONTH PREVMONTH
TATA 20/04/06 1500
TATA 30/05/06 2000 1500
TOTO 11/03/06 1002
TOTO 20/04/06 1001 1002
TOTO 30/05/06 1000 1001
TUTU 30/05/06 3500
6 rows selected.
SQL>
SQL> Nicolas.
Just an additional question : do the previous month is current month-1, or is there hole in month suite (e.g. the previous month can be current month-2) ?
Message was edited by:
N. Gasparotto -
How to find all the sql executed in the database
Hi
We want to be able to collect all the sql statements executed in the database and be able to dump them in a file or a table. Can anyone tell me how we can get that done?
Regards,if you are using oracle 10g, you can use one of the
option of datapump tool to do thisthat's new to me, can you show us how ?
For OP, you can check v$sqlarea view to find out all the sql statement still in shared_pool, however, there's no guarantee you will have all sql executed since database started.
Like other poster mentioned, enable auditing if you want to collect that information. -
Log for all the sql statement executed
Hi,
I would like to know how to see the log for all the sql statement executed starting from connection to all the database related actions.
Is it something that i need to set it up in the driver?
I'm using Tomcat and JDBC driver.
Please reply.
Thanks,
AnjanaMake your own.
Calendar cal = new GregorianCalendar();
int year = cal.get(Calendar.YEAR);
int month = cal.get(Calendar.MONTH) + 1;
int day = cal.get(Calendar.DAY_OF_MONTH);
//use calendar object to get other infos such as time of query
//append your query string
File f =new File ("c:\\jakarta-tomcat-3.2.4\\webapps\\ASD\\LOGS\\log" + df.format(day) + df.format(month) + year + ".txt");
if (! f.exists())
f.createNewFile();
FileWriter fw = new FileWriter (f, true);
// append new log to end of file
fw.write(buf.toString());
fw.write("\n");
fw.flush();
fw.close();
catch (IOException ioe)
System.out.println(ioe.toString()); -
Find all the sql statements that are executed in a database
Hi
I would like to get all the sql statements that have been executed till now on the database. Also, i need the session and user details who has executed the statement.
I know this can be done after enabling auditing.
I would like to get the details without enabling the auditing option.
I am using oracle 9i and oracle 10g.
Regards,
VamsiYou can use {noformat}{noformat} tags to preserve the SQL format. Below is an example of how to use it.
<place your code here>\When your do that your code may look like this.select
substr(sid || ',' || serial#,0,15) sid,
USERNAME,
PROGRAM,
MACHINE,
OSUSER,
TERMINAL,
sql_text Query
from
v$sqltext,
v$session
where
address=sql_address
and hash_value=sql_hash_value
and status='ACTIVE'
order by LOGON_TIME,sid,piece
This one is more readable to everyone. -
Hi I newly started using Iphone 6, I am not getting all the applications list under Use Cellular date for to restrict my unwanted apps on cellular data
Please help me outHi Rajesh778484,
Welcome to the Apple Support Communities!
I understand that some of your applications are not appearing under Settings > Cellular on your iPhone so that you can restrict or allow use of cellular data. If you have some installed applications on your iPhone that are not showing here, the first troubleshooting step I would suggest would be to reset your iPhone. Please refer to the attached article for information on how to perform a reset.
Restart or reset your iPhone, iPad, or iPod touch - Apple Support
Best regards,
Joe -
My iPod Touch will not play through external speakers when it is docked. It only plays through it's internal speaker. All the other functions on the iPod can be controlled by the external speakers (volume,track, etc). How do I fix this?
I would try in oreder:
- Resetting the iPod:
Press and hold the On/Off Sleep/Wake button and the Home
button at the same time for at least ten seconds, until the Apple logo appears.
- Restoring the iPod via iTunes. First from backup and if problem persists, restore to factory defaults/new iPod. -
Officejet Pro 8500 Premier: How do I force the Copy function to use paper from Tray 2?
I set the default tray to Tray 2 and locked Tray 1 to protect my envelopes and this works fine when printing from the computer. But when I copy a document using the START COPY button, the printer pulls from Tray 1 and complains about the media being the wrong size.
When I use the printers control panel to set the Copy function to use Tray 2, it resets itself to Tray 1 the next time I copy something.
Surely I am not the only one in the Universe who would want to configure my printer to do this.
Has anyone else out there tried this?
Also, is there a specific forum for the Officejet Pro 8500 series printers?Hi
Hope you're still checking this
I had the same problem but found that if you go to the copy menu through the touchscreen, change the tray to tray 2 and then scroll to the very bottom there is an option to "Set as new default". This also changes the default for the Start Copy buttons - at least it did for me anyway.
Good luck -
How to add byte[] array based Image to the SQL Server without using parameter
how to add byte[] array based Image to the SQL Server without using parameter.I have a column in table with the type image in sql and i want to add image array to the sql image column like below:
I want to add image (RESIM) to the procedur like shown above but sql accepts byte[] RESIMI like System.Drowing. I whant that sql accepts byte [] array like sql image type
not using cmd.ParametersAdd() method
here is Isle() method contentSQL Server binary constants use a hexadecimal format:
https://msdn.microsoft.com/en-us/library/ms179899.aspx
You'll have to build that string from a byte array yourself:
byte[] bytes = ...
StringBuilder builder = new StringBuilder("0x", 2 + bytes.Length * 2);
foreach (var b in bytes)
builder.Append(b.ToString("X2"));
string binhex = builder.ToString();
That said, what you're trying to do - not using parameters - is the wrong thing to do. Not only it is insecure due to the risk of SQL injection but in the case of binary data is also inefficient since these hex strings are larger than the original byte[]
data. -
Not able to get all the results if i use "get-spdeletedsite" command
Hi everyone,
I am not able to get all the results when I use the below powershell command.
get-spdeletedsite -limit all
It is giving me only one site, but infact we have more than 100 deleted sites.
If I use the normal command like below it is giving the below output
get-spdeletedsite
Can any one tell me, how can I get all the deleted sites ?
Best Regards
Anil AlladiHi Anil,
For the Limit parameter of Get-SPDeletedSite cmdlet, when we specify its value to ALL, it will return all site collections for the given scope.
For your scenario, the script “Get-SPDeletedSite –Limit ALL” will return all deleted site collections in your SharePoint environment.
If you want to get all deleted site, you can export the result to csv as below:
Get-SPDeletedSite | export-csv out.csv -notypeinformation
Reference:
http://technet.microsoft.com/en-us/library/hh286316(v=office.15).aspx
Best Regards,
Eric
Eric Tao
TechNet Community Support -
How do I delete all the things on my used ipod
how do I delete all the things on my used ipod
In itunes I believe you can Click Edit > Select all and then you can press delete
Thanks!
~Derek -
Purpose of all the below Function Modules?
Hi All,
What is the Purpose of all the below Function Modules?
CALL FUNCTION 'K_REPO_PCA_AUTHORITY_CHECK'
CALL FUNCTION 'K_PCA_RESP_AUTHORITY_CHECK'
CALL FUNCTION 'G_CURRENCY_FROM_CT_GET'
CALL FUNCTION 'GET_CURRENT_YEAR'
CALL FUNCTION 'BDC_OPEN_GROUP'
CALL FUNCTION 'BDC_INSERT'
CALL FUNCTION 'MESSAGE_TEXT_BUILD'
Akshitha.Hi,,
G_Buffer_ReSET-->Deleting Buffer in Set Manager
G_SET_ENCRYPT_SETID-->Conversion of Combination of Characteristics in a Set ID
G_SET_GET_INFO-->Checks whether Set exists and Provides Information about Set
Reward IF useful -
To get all the objects that are used inside the class
Hi All,
All i wanna know is to get all the objects that are used inside the class.
Ex :
Class A{
Emp e;
public add(Dept d){
e.deptid = d.deptId;
in this class i have two objects, one Emp obj and another Dept object.
I wanna get the details abt this class Emp and Dept by simply parsing the file and by not loading this class in JVM.
Could any pls hel me out.??
thx.I wanna get the details abt this class Emp and Dept
by simply parsing the file and by not loading this
class in JVM.Your problem statement is vague and the constraint is IMO hypothetical. -
I still can't update, i get error 3252 every time, after over 500mb is downloaded, not happy to waste all the data i could use for other things.
is there another way i can download the update? it just never work, tried multiple timeThe most common causes are:
Your antivirus, firewall or router security is blocking access to Apple's servers - try temporarily disabling them - if you have Kaspersky this is definitely the problem
At some time in the past you used this computer to jailbreak, unlock or otherwise hack ANY iPhone, iPod Touch or iPad - if this applies to you your hosts file is corrupt and you will have to edit it and remove any lines that contain "gs.apple.com"
Maybe you are looking for
-
CRVS2010 Beta 2 - report does not print in Landscape mode correctly
I am using Crystal Reports Beta 2 for Visual Studio 2010 on Windows XP. I am trying to print a report in landscape mode. The WPF Crystal Report Viewer displays the report correctly in landscape view. When I print it, it moves all the data to the cent
-
Hi There! I would like to put a song I sang on itunes. It is using a karaoke track from "Karaoke #1 hitmakers". And it is Justin Timberlake's version of "hallelujah. I can't find contact info for this karaoke company for starters...ANYWHERE in Googl
-
Form settings are not saved on one client
Hello, What are possible reasons that form settings like size and position are not saved. I have one client with SBO 8.8 PL15 installed. On this client this settings are not saved. So the user has to resize the forms everytime he opens it. I tried it
-
Left Outer Joining multiple tables to one source table FAILS with VLD-1511
Hi all, Is it me, or is OWB unable to handle left outer joining 1 source table to multiple other tables? I want to load a fact table so I have 1 source table with measures. This table must be outer joined to some dimensions that have their FK in the
-
[SOLVED]JDeveloper 10g and ADF: How to create proxy from WSDL behind SSL?
Hi all, I have successfully created web service proxies using the "Create Web Service Proxy" wizard. However, when I attempt to generate proxy from a wsdl file behind a ssl connection, JDeveloper throws a "SSLHandshakeException". I have a working jav