Manager PeopleSoft queries - subquery 'next date '.
Hi all, I am the creation of an audit report, and values in my folder of verification are something like
Verification of the Audit action of timestamp Audit oprid auditted interest value registration key
01/01/2013 00:00:00 A A bla 123
02/01/2013 00:00:00 C has blah 123 (old value - auditted folder contains Let's say 124 now) 03/01/2013 00:00:00 C has blah 124 (old value - auditted folder contains Let's say 125 now)
I need to report on this subject, showing the old value and the new value.
This state exists in 3 parts:
_ the action isn't a change: I have no old and new value - that part works technically ok
_ the action is a change and the new value is not in the audit record but in the folder auditted - this works fine too
_ the action is a change and the new value is also in the audit record, I need the value of the timestamp of the next verification - here is my question.
I define this "next check timestamp" in my query by using a subquery for the stamp min which is larger than that of the main request.
It works very well just run on the DB.
However, with the request handler, it doesn't.
File: error vob/peopletools/src/pssys/qpm.cppSQL. Stmt #: 6368 error Position: 316 return: 934 - ORA-00934: Group feature is not allowed here
Remove the 'min' works very well if there is only one line in my audit table that is after my main request line, but otherwise, I get a "value single subquery returns several lines" - a kind of message.
Creative ideas to circumvene this problem?
If you need to write (effdt) max - like logic of motion for one field other than effdt, you can set the max/min (
Kind regards Bob
Tags: Oracle Applications
Similar Questions
-
Messaging clients managing media queries?
Messaging clients managing media queries?
Hey,.
Here is the list of e-mail Client that support Media queries:
Device/Email Client Questions from the media iOS (iPhone/iPad) Yes Native Client Android 4.x Yes Android Outlook Exchange via the native client NO. Outlook.com Android app Yes Android Gmail app NO. Yahoo! Mail Android app NO. Gmail (browser Android) NO. Outlook.com (browser Android) NO. Yahoo! Mail (browser Android) NO. Windows Phone 7 NO. Windows Phone 7.5 Yes Windows Phone 8 NO. BlackBerry OS 6 Yes BlackBerry OS 7 Yes BlackBerry Z10 Yes Native client Kindle of fire Yes Thank you...
-
Multiple queries in a data model - Performance?
Hi experts,
I created a data model and defined queries 7 (isolated; not connected together). I want to create 7 reports based on queries 7 (for example query1 used in Report1, query2 used into Report2, etc.).
The consolidation of 7 queries in a data model affect performance? How the BEEP collects data - is only the query used processed, or each time the entire data model?
Thanks in advance!
Hello
According to the data that you want to use in your report.
In a report, you can use data from more than queries.
We recommend that you create 1 data model for each report, for a good performance with all applications you need.
7 queries fetch data slower than 1 query in your data model.
Kind regards
Liviu
-
the application adobe, said Manager PS is up-to-date, yet it is not on my computer.
Run the Creative Suite cleanup tool, try again.
Mylenium
-
Hello
Agent on AIX 10.2.0.5 worked well. But after an unexpected reboot I see error metric Collection in OEM.
On the host:
State official: no heartbeat successful
Download agent: EMD upload error: popped uploadXMLFiles: SGD version not yet checked...
emagent.log:
2010-01-27 15:55:33, 811 EMAgent Thread-1 (00702) successfully started
2010-01-27 15:55:33, 817 Thread-2068 < Upload Manager > exceeded authorized Max Upload data - number of files: 1333, data download size: 50,179152 MB, disc Pct(): 85.43%, collections of deactivation (00852)
2010-01-27 15:55:33, 817 Thread-2068 disable collector (00406)
What solution? Need help!
Kind regards
NikolajusTry resecuring the agent.
emctl not secure agent
emctl security officerIn addition, since it is a 10.2.0.5 agent, you can resync it.
Go to Setup/Agents/select your agent - click the resynchronization of the Agent... -
Hello
Can someone help me with a function to find the next working date, excluding public holidays of a table "vacation."
Entry to the service would be a date and an output as well.
Thank youWell, I think it's pretty safe assumption holiday may not cover more than 30 days. Then:
SELECT in_dt + level dt FROM dual WHERE in_dt + level - trunc(in_dt + level,'IW') < 5 CONNECT BY LEVEL <=30
where in_dt is the date in question, will produce 30 days after the in_dt, excluding Saturdays and Sundays. I use IW format since always the ISO week starts Monday make code independent NLS (although the above query might need adjustment since weekend is that some countries isn't Saturday + Sunday). Now, work, except holidays next date will be:
SELECT MIN(dt) FROM ( SELECT in_dt + level dt FROM dual WHERE in_dt + level - trunc(in_dt + level,'IW') < 5 CONNECT BY LEVEL <=30 MINUS SELECT holiday_dt FROM holidays ) /
SY.
-
SQL queries for the date and year
Hi friends,
I have a named view - item_sales with 4 columns
Item code
Name of the element
Transaction_YYYYMM (Date stored in a format YYYYMM)
QTY_RECEIVED
QTY_SOLD
Sample data is
ITEM_CODE POINT NAME TRANSACTION_YYYMM QTY_RECD QTY_SOLD
TSHIRT 201307 3000 2000 AX
TSHIRT AX 500 2000 201308
TSHIRT 201309 1000 3000 AX
CX 201307 3000 2000 XLSHIRT
XLSHIRT CX 201308 3000 2500
CX 201309 3000 2500 XLSHIRT
END OF EACH MONTH I'LL RUN THIS QUERY TO FIND OUT THE DETAILS BELOW
1. TO FIND NOM_ELEMENT WISE - QTY_RECEIVED AND QTY_SOLD (FOR THE CURRENT MONTH - EXAMPLE SEP)
2. TO FIND NOM_ELEMENT WISE - QTY_RECEIVED AND QTY_SOLD (EXAMPLE EXERCISE OF JAN TO SEP)
OUTPUT FOR SEPTEMBER MONTH LOOK LIKE THIS
SEVEN MONTHS JAN TO SEP
ITEM_CODE NOM_ELEMENT QTY_RECEIVED QTY_RECEIVED QTY_SOLD QTY_SOLD
TSHIRT 1000, 3000, 6000, 5500 AX
CX 3000 2000 9000 7000 XLSHIRT
Pls advise me how to write queries for this
RDK
Hello
This is called a Pivot, and here's a way to do it:
WITH got_display_yyyymm AS
(
SELECT TO_CHAR (ADD_MONTHS (SYSDATE-1)
, "YYYYMM.
) AS YYYYMM
OF the double
)
SELECT i.item_code
i.item_name
SUM (CASE
WHEN i.transaction_yyyymm = d.yyyymm
THEN i.qty_received
END
) AS month_received
SUM (CASE
WHEN i.transaction_yyyymm = d.yyyymm
THEN i.qty_sold
END
) AS month_sold
SUM (CASE
WHEN SUBSTR (i.transaction_yyyymm, 1, 4)
= SUBSTR (d.yyyymm, 1, 4)
THEN i.qty_received
END
) AS year_received
SUM (CASE
WHEN SUBSTR (i.transaction_yyyymm, 1, 4)
= SUBSTR (d.yyyymm, 1, 4)
THEN i.qty_sold
END
) AS year_sold
Item_sales I have
CROSS JOIN got_display_yyyymm d
I.item_code GROUP, i.item_name
ORDER BY i.item_code, i.item_name
;
If you would care to post a small example of data (CREATE TABLE and INSERT statements) and the results desired from these data, then I could test it.
The subquery got_display_yyyymm digit which is the previous month; It is not to change anything from month to month. If you run the query in October 2013, then YYYYMM Gets the value '201309'. If you run it in January 2014, then YYYYMM will be '201312'.
As posted, it will work in Oracle 9.1 or higher. The SELECT... PIVOT function that was introduced in Oracle 11.1 would not help in this problem, so you do not miss anything using Oracle 10 in this case.
-
After the upgrade to Firefox 6.0, when I click on tools, then on Add-ons, modules lance Manager and tells it to load. But nothing is ever loaded.
This could be simply addons.mozilla.org getting hammered at times as people are looking for updates of the extension as Firefox 6.0/3.6.20, Thunderbird 6.0 and SeaMonkey 2.3 was released Tuesday today.
Simply select the Extensions or Plugins or appearance (themes) and it will open this Panel next time instead of modules to get Panel.
-
How to remotely manage the tasks of acquiring data and SCXI modules?
Hi, I have a system consists of a PCI4070, a PCI6024E, several SCXI1102 and a SCXI1130. I wonder if I can remotely view/create data acquisition tasks and configure SCXI modules. My PC and PC host of these devices are in the same LAN, I tried to create new ones in the remote systems to MAX, but he found no material. What should I do? Thank you very much.
Please note:
A remote system (in MAX) refers to a real-time target that can be managed or configured on the network, while a network device does not run a real-time operating system. Remote systems are not the same as network devices. A network device is a device that is accessible via an Ethernet or wireless. These devices can be accessed by multiple computers and not to run a real-time operating system.
For your application, you can consider using VI server to run a VI to the driver for your devices.
http://digital.NI.com/public.nsf/allkb/0232C618DAA70F6C8625736200452C1D
-
MXI-4, Manager of configuration problems and data base, clean install MAX
Hello
I have a problem with the MXI-4 kit / PCI-8331
-C' is a clean install of MAX, using the default installation option.
-Win XP 32. The PCI-8331 is the only PCI site in PC
With the GUI of MAX does not, plug-and-play detects the jury.
If I reboot, connect 8336 PXI and an another Council PXI (6641) in PXI basket, it's OK by PnP display.
But as soon as I open MAX and expand the tree view of the devices, the Configuration Manager stops.
I ge the message 'to NOR-PAL service Manager has encounterd a problem and needs to close' and 'MAX expired in the meantime a driver. "
-J' have removed everything, reinstalled MAX, but the problem remains the same.
-J' deleted configuration in C:\Documents and Settings\All Users\Application Data\National Instruments\MAX\Data Dictionaries\Last
-I see a number of DLLs being re-written there, when I restart MAX, however there is no file config3.max (retrieved the entire disk) as suggested elsewhere.
-It seems that if I only have the PCI card installed, I still have the same problem.
I'd like to find if there is a problem with the hardware of the Board of Directors, the BIOS or the installation of MAX?
Thank you
Partially solved.
The PCI-8331 seems to work in another PC, equipped with a newer BIOS.
Could not test with MXI-8336 a hanging basket, as it is in a different location.
Uptdating the BIOS of the computer 'defective' did not help, it seems like a new computer/motherboard is necessary.
-
request to get the next date which is not a public holiday
Hello world
I need help for a query. consider the following data
holiday
-------------
SELECT To_Date('12/28/2015','mm/dd/yyyy') double holiday
UNION ALL
SELECT To_Date('12/25/2015','mm/dd/yyyy') double holiday
UNION ALL
SELECT To_Date('08/31/2015','mm/dd/yyyy') double holiday
UNION ALL
SELECT To_Date('05/25/2015','mm/dd/yyyy') double holiday
UNION ALL
SELECT To_Date('05/04/2015','mm/dd/yyyy') double holiday
curr_DATE
-----------
SELECT To_Date('12/25/2015','mm/dd/yyyy') double holiday
UNION ALL
SELECT To_Date('12/24/2015','mm/dd/yyyy') double holiday
UNION ALL
SELECT To_Date('12/23/2015','mm/dd/yyyy') double holiday
data of curr_date are the main table. given a date, I want to join the vacation and the date of the Curr so that the result will be a date that is not a holiday. for example, what gives 28 Dec. the next available in curr_date < 28 dec date is dec 25. However, dec25th is a holiday on the guest table if the output should be dec 24.
Another example is the following: given dec 25 date, the previous date, unless that Dec. 25 is dec 24th dec 24 is not in the host table output should therefore be dec 24.
Another example: I'll add another line to the curr_date table. If the data will look like this
curr_DATE
-----------
SELECT To_Date('12/28/2015','mm/dd/yyyy') double holiday
UNION ALL
SELECT To_Date('12/25/2015','mm/dd/yyyy') double holiday
UNION ALL
SELECT To_Date('12/24/2015','mm/dd/yyyy') double holiday
UNION ALL
SELECT To_Date('12/23/2015','mm/dd/yyyy') double holiday
given dec 29, the next available in curr_date date is less than 29 dec 28 dec. However, dec28th is holiday in the host table. the next available date is dec 25 in curr_date, but once again dec25 in the host table. the next available date is 24, but this date is not in the host table output should therefore be 24/12/2015.
So basically I want to do this in the query by joining the two tables. can anyone help? pl/sql is ok if it cannot be done using quries.
Hello
If you want to use a join, here's one way:
SELECT MAX (c.holiday) AS last_non_holiday
OF curr_date c
LEFT OUTER JOIN holiday h ON h.holiday = c.holiday
WHERE c.holiday< to_date="" (:cutoff_date,="">
AND h.holiday IS NULL
;
-
How to find the next date of the year and day as of today's date and the day
I have a question about date functions, that is to say: how to get one next year (date and day) like today are the date and the day this year?
You mean like this?
SQL > select to_char (add_months (sysdate, 12),' day DD/MM/YYYY ') twice;
TO_CHAR (ADD_MONTHS (S
--------------------
Friday, August 22, 2014 -
Managed provider: the operation of data protection has failed.
We just tried deploy a .net web 4 with the supplier managed to beta. When you try to open a new connection, we reached this exception:
The operation of data protection has failed. This may be due to not having no user profile not loaded for the user context of the current thread, which may be the case if the thread borrows.
Is there an app pool IIS framework that we need to change to make it work? Locally, it works fine, so I guess it's a certain type of permissions issue.You are able to check if 'Load user profile' is set to true or false for the identities that do not work?
If necessary, you can find the value in the following way in the IIS Manager:
-Select the Application Pools in the tree view under the name of server
-Under the Application Pools listed, right click on the pool of interest and select Advanced settings... from the context menu
-Scroll up to the process model section and check the value "load user profile.I think you may encounter this situation if "Load user profile" is set to "false".
As always, additions, corrections, clarifications etc are welcome.
-
How to view/export Management pack granted granted/no data OEM?
I see in OEM 11 g how can I view the report "Management Pack access" under the "reports" section to see what targets have enabled/granted management packs and those who are not. It's a nice matrix, but where is this data actually stored? Is there a view? I wish I could export it.
I found the following link but has been unable to glean information from him.
| http://docs.Oracle.com/CD/B19306_01/license.102/b14199/options.htm#CIHGFIAF]
Thanks for any help there ' All can provide.Salvation;
"" For your question, I suggest farm your thread here that change the status of the thread to answered and move it to Forum Home "business management" Enterprise Manager which is dedicated OEM forum site.
Respect of
HELIOS -
I work with Mac OS... I installed the LR5 using Adobe Application Manager and, a few weeks later, the program has crashed and I cound't solve his problem. I decided of the uninstalled had found no way to do this using the app. Manager, so I removed it from the Finder. Even after rebooting the system several times, application manager still indicates that LR5 is "up-to-date" and that's why I can't redownload and reinstall LR5.
I am a photographer and need culture to have LR5 working in my computer. What can I do to fix this?
Thank you!
Ana Andrade
Please try the steps in the following knowledge base article.
http://helpx.Adobe.com/creative-cloud/KB/AAM-lists-removed-apps-date.html
Maybe you are looking for
-
How can I remove Firefox from my device
I just want to remove Firefox from my tab
-
The trailers on the Apple Trailers site not be loading not
For the last two days, I was unable to get any trailers to start to play on the Apple movie trailer site: http://trailers.apple.com/trailers/. I tried Safari, Firefox and Chrome. I can go to the individual pages of the trailers in Safari and Chrome,
-
Satellite A100 - line number on the keyboard does not work when you enter the password
I have an A100 / Pro A100 series satellite laptop, what ever that means.Anyway, when you turn the laptop on and asked for a password, I am unable to put in number.It appears to the integer line, including BACKSPACE don't work. I can use the mouse to
-
question about data transfer from the computer using LAN network Analyzer
Hello. I had a problem. I download the driver of instruments and settings S measured by the Rohde & Schwarz site. When I started using the measure, the error in the parser to network RSZVB-14 shows that «Distance error:-222, "data out of reach,: FREQ
-
Class not registered (Exception from HRESULT: 0 x 80040154 (REGDB_E_CLASSNOTREG)) Instances of this error (2) 1. Hide the call stack at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance (Guid & clsid, object punkOuter, Int32 context, Guid &