SQL to find Rate of Change?
I have a table, A, it contains date,schmea_name,it's size on daily basis
ex)
01/01/2011 schema_a 100
01/02/2011 schema_a 105
01/03/2011 schema_a 115
Rate of change
01/02/2001 (105 -100) = 5
01/03/2001 (115 -105) = 10
etc
I would like to plot a grpah based on Rate of change, since it is series of data, how i can find rate of change?
Can any one provide me SQL?
user8860934 wrote:
I have a table, A, it contains date,schmea_name,it's size on daily basis
ex)
01/01/2011 schema_a 100
01/02/2011 schema_a 105
01/03/2011 schema_a 115
Rate of change
01/02/2001 (105 -100) = 5
01/03/2001 (115 -105) = 10
etc
I would like to plot a grpah based on Rate of change, since it is series of data, how i can find rate of change? Oracle RDBMS does is NOT graphing software
ingest the data into a spreadsheet & plot from there
Similar Messages
-
Can't find where to change audio sample rate
I'm trying to change the audio sample rate but can't find where to change it
You can change it in SoundTrack Pro, or with QuickTime Pro.
-DH -
Hi All,
Is there a possibilty to find out the changes made in the Rate Routing of a BOM regarding to Component Allocation over a period of time.
Regards,
R. VijayakumarDear Rajavelu,
Try the standard report CA60,for task list type R - Rate Routing,include the check box for for all the options under Detailed Change
documentation for and execute the report for some date range for any material and plant combination,this will satisfy your
requirement.
Regards
S Mangalraj -
Sql is not working after changing from MsAccess into sql server
Following Sql is not working after changing from MsAccess into sql server.
sum(trn.sales) as sales,
sum(trn.cost) as cost,
sales - cost as profit // Here is not working . can we not use sales a column. Please advise
from trn
Kind Regards
pol
polachanIt will not work if use two different column from the table or column from two different table
Example
sum(trn.sales * trn.rate) as salesAmount,
sum(trn.cost) as cost,
sum(trn.salesAmount)-sum(trn.cost) as profit ----- Here is not working . can we not use sales a column. Please advise
from trn
Regards
polachan -
The "always allow" button is grayed out in settings regarding cookies, and I can not find where to change the setting. (Restrictions are not on.) Do you know where I go to change the setting to allow me to "always allow" cookies?
Hi lisaarnett111,
If you are having issues turning on Always Allow for cookies in Safari on your iPad, you may want to check to make sure that you don't have Private Browsing enabled, as noted in the following article:
Turn Private Browsing on or off on your iPhone, iPad, or iPod touch - Apple Support
Regards,
- Brenden -
I had changed my Apple ID on my PC and realized iCloud. On my iphone iCloud account is on the old ID. Could not find where to change it. In Settings-iTunes & App Stores – I had replaced the old ID with the new one. On my iPad 2 – iCloud account is on old ID, I cannot change it,
do i have to delete iCloud accounts and re=build them ?Yes, you got it. there is no way to change - just delete. Usually there is no loss, but photostream is reset, so make sure to back up your pictures before you do.
-
I have an iPad Air IOS 8.1.2 and I am trying to create an apple ID for a child but I am unable to find how to change the "shared payment method" when I go into my account settings it does have my Credit card but in settings under iCloud > family > shared payment method it still have my debit card. How/where can I update this card to mt credit card instead of my debit card?
Hi azbaby2000,
If you need to change the payment method associated with your Apple ID, use the steps in this article -
Change or remove your payment information from your iTunes Store account (Apple ID) - Apple Support
Thanks for using Apple Support Communities.
Best,
Brett L -
I have read the help info, but I can't find how to change the default email address, to the one that is my adobe I'd?
Adobe Reader for iOS doesn't set the default email address when you email a PDF.
It's found in the Settings app:
Settings > Mail, Contacts, Calendars > Mail > Default Account -
how do I find and/or change the pre-set voltage selection switch in an HP TouchSmart IQ500 series (specifically an IQ524)
This question was solved.
View Solution.Doesn't it use an external AC Adapter? If so, all you should need to use in another country is an adpater plug to match the wall socket.
... an HP employee expressing his own opinion.
Please post rather than send me a Message. It's good for the community and I might not be able to get back quickly. - Thank you. -
How to find out the changes made to a photo in numbers rather than in graphs..
How to find out the changes made to a photo in numbers rather than in graphs..
We need to know a lot more to help you. Please provide answers to the questions listed here: "FAQ: What information should I provide when asking a question on this forum?"
-
How to find out Last Changed Fields for a line item of a PO
Dear All,
Pls let me know is there any FM or procedure to find the last changed fields for each line item of a PO. I should be able to get the details on the basis of Last changed Date. Can u pls guide me in this?Hello,
Check the table CDHDR,CDPOS for PO items,
Check this code:
REPORT ZV_GET_LATEST_SO .
DATA: BEGIN OF ITAB OCCURS 0,
OBJECTCLAS TYPE CDHDR-OBJECTCLAS,
OBJECTID TYPE CDHDR-OBJECTID,
CHANGENR TYPE CDHDR-CHANGENR,
USERNAME TYPE CDHDR-USERNAME,
UDATE TYPE CDHDR-UDATE,
UTIME TYPE CDHDR-UTIME,
TCODE TYPE CDHDR-TCODE,
TABNAME TYPE CDPOS-TABNAME,
TABKEY TYPE CDPOS-TABKEY,
FNAME TYPE CDPOS-FNAME,
CHNGIND TYPE CDPOS-CHNGIND,
END OF ITAB.
TABLES: CDHDR,CDPOS.
DATA: LT_CDHDR LIKE CDHDR OCCURS 0 WITH HEADER LINE,
LT_CDPOS LIKE CDPOS OCCURS 0 WITH HEADER LINE.
*REFRESH AUSG.
CLEAR CDHDR.
CLEAR CDPOS.
CDHDR-OBJECTCLAS = 'EINKBELEG'.
CDHDR-OBJECTID = '0000001784'. " Purchase order number
**SELECT A~OBJECTCLASS A~OBJECTID A~CHANGENR A~USERNAME A~UDATE A~UNAME
**B~TCODE
**B~TABNAME B~TABKEY B~FNAME B~CHNGIND INTO TABLE ITAB FROM CDHDR AS A
**INNER JOIN CDPOS AS B ON A~OBJECTCLASS = B~OBJECTCLASS
** A~OBJECTID = B~OBJECTID
** A~CHANGENR = B~CHANGENR
** WHERE OBJECTCLAS = 'VERKBELEG'
** AND OBJECTID = '0000001784'.
*SELECT * FROM CDPOS INTO TABLE LT_CDPOS WHERE OBJECTCLAS = 'VERKBELEG'
* AND OBJECTID = '0000001784'.
*IF NOT LT_CDPOS[] IS INITIAL.
* SELECT *
* INTO TABLE LT_CDHDR
* FROM CDHDR
* FOR ALL ENTRIES IN LT_CDPOS
* WHERE OBJECTCLAS = LT_CDPOS-OBJECTCLAS
* AND OBJECTID = LT_CDPOS-OBJECTID
* AND CHANGENR = LT_CDPOS-CHANGENR.
*ENDIF.
** SORT ITAB BY OBJECTCLAS ODJECTID DESCENDING.
*LOOP AT ITAB.
* WRITE: ITAB-UDATE."ITAB-UNAME.
*ENDLOOP.
*--- Interne Tabellen -------------------------------------------------
DATA: BEGIN OF ICDSHW OCCURS 50. "Ausgabeaufbereitung
INCLUDE STRUCTURE CDSHW. "Zwischendatei
DATA: END OF ICDSHW.
CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
EXPORTING
DATE_OF_CHANGE = CDHDR-UDATE
OBJECTCLASS = CDHDR-OBJECTCLAS
OBJECTID = CDHDR-OBJECTID
TIME_OF_CHANGE = CDHDR-UTIME
USERNAME = CDHDR-USERNAME
TABLES
I_CDHDR = LT_CDHDR
EXCEPTIONS
NO_POSITION_FOUND = 1
OTHERS = 2.
LOOP AT LT_CDHDR.
CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
EXPORTING
* ARCHIVE_HANDLE = 0
CHANGENUMBER = LT_CDHDR-CHANGENR
* TABLEKEY = '00000000 '
* TABLENAME = ' '
* IMPORTING
* HEADER =
TABLES
EDITPOS = ICDSHW
* EDITPOS_WITH_HEADER =
* EXCEPTIONS
* NO_POSITION_FOUND = 1
* WRONG_ACCESS_TO_ARCHIVE = 2
* OTHERS = 3
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT ICDSHW.
IF ICDSHW-TABKEY+3(10) = '0000001784'
AND ICDSHW-TABKEY+13(6) = '000001'.
ENDIF.
ENDLOOP.
ENDLOOP.
Vasanth -
Sql to find the length of the column in bytes
Hi
could some one help me in writing the sql to find the actual size of the column in bytes.
thanks in advance790072 wrote:
could some one help me in writing the sql to find the actual size of the column in bytes.If you mean you want to find out column value internal representation in bytes, use VSIZE.
SY. -
Sql to find all Sysadmin logins in EBS
Hi ,
I am using this sql to find out all Sysadmin logins in my EBS environment.
SELECT user_name "User Name",
to_char(start_time, 'MM-DD-YYYY HH24:MI:SS') "Login Time",
to_char(end_time, 'MM-DD-YYYY HH24:MI:SS') "Logout Time"
FROM apps.fnd_logins a,
apps.fnd_user b
WHERE a.user_id = b.user_id
AND b.user_name IN ('SYSADMIN', 'MOBDEV', 'MOBADM')
AND TRUNC(start_time) > TRUNC(SYSDATE) - 1
AND login_type = 'FORM'
ORDER BY start_time;
But, somehow I am unable to relate this logins to database sessions id. Is these any direct sql to find out all session info from gv$session / gv$process whenever there is a sysadmin login.
EBS 11.5.10.2
DB 11.2.0.2Hi
HusseinNone of the query gives a correct output.
For example , when I enter the user_name as SYSADMIN for the query , the v$session.action gives result as "FRM:GXGONG:ACCO CA IND Shipping "..this is the forms session info for "GXGONG" user who doesn't have the sysadmin responsibility.
SELECT distinct(s.sid),
s.serial#,
p.spid,
s.process,
substr(to_char(s.logon_time,'mm-dd-yy hh24:mi:ss'),1,20) Logon_Time,
s.action,
s.module,
fu.user_name,
fip.ipaddress
FROM
V$SESSION s, V$PROCESS p,fnd_oam_forms_rti fip, fnd_logins fl, fnd_user fu
WHERE s.paddr = p.addr
AND s.process = fip.PID
AND fl.pid = p.pid
AND fl.user_id = fu.user_id
AND s.username IS NOT NULL
and fu.user_name IN ('SYSADMIN', 'MOBDEV', 'MOBADM')
and s.action like 'FRM%'
and s.logon_time > trunc(sysdate) -1
1047 48328 28016 31638 03-25-13 13:04:55 FRM:JPJUSTIC:ACCO ITEM/INVENTORY INVTVQOH SYSADMIN 10.32.33.95:64961
3772 63791 32428 30206 03-25-13 22:10:16 FRM:EXFINKLE:ACCO INVENTORY ADJU WIPTXSFM SYSADMIN 10.32.82.104:46034
3425 48215 18143 14036 03-25-13 21:26:09 FRM:GXGONG:ACCO CA IND Shipping WMSCTLBD SYSADMIN 172.20.23.102:33548
774 51097 21922 26155 03-25-13 21:12:15 FRM:JXLIM:ACCO PURCHASING APPLIC POXPOVPO SYSADMIN 10.43.2.16:47312
1442 21606 20941 21354 03-25-13 07:58:41 FRM:MDJAMES:ACCO Shipping Execut FNDRSRUN SYSADMIN 10.32.33.127:6350
5150 17379 16824 31376 03-25-13 16:21:49 FRM:GXROY:ACCO Receivables Colle ARXCWMAI SYSADMIN 172.25.16.120:60150
5117 45721 16824 31376 03-25-13 16:09:17 FRM:GXROY:ACCO Receivables Colle ARXCWMAI SYSADMIN 172.25.16.120:60150
3447 151 18143 14036 03-26-13 00:26:44 FRM:GXGONG:ACCO CA IND Shipping FNDRSRUN SYSADMIN 172.20.23.102:33548
5147 4240 16824 31376 03-25-13 16:08:54 FRM:GXROY:ACCO Receivables Colle ARXCUDCI SYSADMIN 172.25.16.120:60150
5107 62706 16824 31376 03-25-13 16:11:17 FRM:GXROY:ACCO Receivables Colle ARXCUDCI SYSADMIN 172.25.16.120:60150
5168 4367 16824 31376 03-25-13 16:38:00 FRM:GXROY:ACCO Receivables Colle ARXCUDCI SYSADMIN 172.25.16.120:60150
3450 59009 18143 14036 03-26-13 00:29:13 FRM:GXGONG:ACCO CA IND Shipping INVMATWB SYSADMIN 172.20.23.102:33548
5137 45737 16824 31376 03-25-13 16:13:01 FRM:GXROY:ACCO Receivables Colle OEXOETEL SYSADMIN 172.25.16.120:60150
3461 16761 18143 14036 03-25-13 21:25:39 FRM:GXGONG:ACCO CA IND Shipping INVMATWB SYSADMIN 172.20.23.102:33548
434 26798 24756 17190 03-25-13 16:20:57 FRM:MXBAKER:Direct US CSR User OEXOEORD SYSADMIN 10.32.33.123:50117
5142 31731 16824 31376 03-25-13 16:20:46 FRM:GXROY:ACCO Receivables Colle ARXCWMAI SYSADMIN 172.25.16.120:60150
1716 11892 24609 27641 03-26-13 00:36:16 FRM:BAMALAGO:ACCO INVENTORY ADJU WIPTXSFM SYSADMIN 10.32.82.143:27123 -
I cannot find how to change the language for labels in a quiz
I cannot find how to change the language for labels in a quiz
You have to be aware that this will only change labels if you edit before adding quiz slides: Preferences, Quiz, Default Labels. You will have to edit the labels, choosing another language will not change them automatically.
-
How to find the recent changes done in the workflow by user id ?
Hello all,
How to find the recent changes done in the workflow by user id ?
I have made changed in Production system .
Like changing the status ,
changing the agent ,
but for these it will , not ask for any request .
So i want to know is there any method to find what are the changes done by me ?
Thanks and regards
PremHi,
This is caused by mandant settings in scc4. It's better not to make changes in PRD, because then your DEV en QA systems differ.
Kind regards, Rob Dielemans
Maybe you are looking for
-
Problem with ALV Grid Display screen Back Button
Dear Friends , I have an ALV Grid Display,Here am facing a problem for my 'Back' button,i haven't defined any PF Status and is using the standard one.But after the Display when i press Back Button a blank Screen is appearing n then again i have to pr
-
Something about two fact table in one subject
Hi all, when I using two fact table in one subject, it can't make sense as expected. The problem is describled as follows: 1.about the RPD: In the presentation layer of Admin Tool, there is a mesure names "A", which is equal to B*C, come from table t
-
How does ARD compare with Screen Sharing
I make a lot of use of Screen Sharing for managing multiple computers across the internet. However, with the drastically reduced price of ARD on the App Store I am tempted to replace my Screen sharing usage. However, if all I need is screen sharing d
-
I need to pass Strings to and from a dot net dll from testand. The String could be a Testand "String" or a dot net "String", Or a proper string (array of char). It doesnt matter. I require some mechanism for getting an array of chars from my dll to a
-
Batch Process mail notifications not being sent
Racking my brain on this. On our prod 9.3.1 server, we reconfigured the mail server/database. I logged in as the application owner to establish the mail in application settings. Under workspace/administer/notifications I am able to successfully send