Can anyone give me a optimized Query replaced by This query::
SELECT user.user_id
FROM user
where user.group_id =1
and user.user_id IN (SELECT user_id FROM technician_schedule WHERE day_id IN (1,2) GROUP BY user_id HAVING count( day_id ) =2)
AND user.user_id IN (SELECT user_id FROM technician_certification WHERE certification_id=33)
AND user.user_id IN (SELECT user_id FROM technician_sc WHERE service_category_id IN ( 1, 5, 8, 9, 10 ) GROUP BY user_id HAVING count( service_category_id)=5)
AND user.user_id IN (SELECT user_id FROM technician_tool WHERE tool_id IN ( 1, 3, 4, 5 ) GROUP BY user_id HAVING count( tool_id ) =4)
ORDER BY user.user_id
Message was edited by:
[email protected]
No guarantees, but this may be faster:
SELECT user_id
FROM user
WHERE group_id = 1
INTERSECT
SELECT user_id
FROM technician_schedule
WHERE day_id IN (1,2)
GROUP BY user_id
HAVING COUNT(*) = 2
INTERSECT
SELECT user_id
FROM technician_certification
WHERE certification_id = 33
INTERSECT
SELECT user_id
FROM technician_sc
WHERE service_category_id IN ( 1, 5, 8, 9, 10 )
GROUP BY user_id
HAVING COUNT(*) = 5
INTERSECT
SELECT user_id
FROM technician_tool
WHERE tool_id IN ( 1, 3, 4, 5 )
GROUP BY user_id
HAVING COUNT(*) = 4
ORDER BY user_idTTFN
John
Similar Messages
-
Can anyone give me some hints or advice on this
I am trying to create a webpage containing a flash .swf file
with click to play button like the ones at Youtube. Can anyone
please tell me how to set up this step by step in Adobe Flash? What
I want to do is:
once someone clicks on the "play" button at the beginning,
the scene will connect to another external swf then start playing.
They will have play, pause and volume control bars like a player
for users to click.
Thanks for any of your advice.I am trying to create a webpage containing a flash .swf file
with click to play button like the ones at Youtube. Can anyone
please tell me how to set up this step by step in Adobe Flash? What
I want to do is:
once someone clicks on the "play" button at the beginning,
the scene will connect to another external swf then start playing.
They will have play, pause and volume control bars like a player
for users to click.
Thanks for any of your advice. -
Up until recently I was able to watch Netflicks movies thru streaming. I now received a error message: plug in failure. Can anyone suggest how I can correct this?
I had the same problem. I checked with Netflix and they told me to uninstall and reinstall the silverlight? plug in. We went through several versions of this. Long story short, nothing worked, but it DID run just fine on other users on the same machine. a couple of months later, BAM it suddenly works perfectly again. Netflix blames Apple, Apple blames netflix... who knows...
Here's my advice: download the Silverlight or whatever it's called plugin and do the uninstall, then reinstall. If that works, great!
If not, make up a new user and see if netflix plays from that account. If so, you have a workaround that is tedious, but at least lets you watch your movies! Someday in the future,it might just start working again. -
Can anyone give me examples of replacement path with query?
hi all,
Can anyone give me examples of replacment path with query. if u have any docs pls send it across to my email id [email protected]
thanxs
hariHere is an example:
Lets assume you have a characteristic( Say Project) with about 30 attributes. now your requirement is to display all 30 attributes and about 10 keyfigures and another characteristic and it's attributes...
If Project has about 25K projects in a Year,you will find its very difficult to diasply all the inofmation with one Query.(you may get disconnected from server after executing the query)..
So firstly,create a Query1 only with Project and keyfigures.
then create another Query2 only with Project and its attributes...here create a variable on Projeect with replacementpath and select the Query1.So you will have the Projects only from Query1.
Create Query3 with Project and other chars.create one more variable on Project with replacementpath select Query1 result. So this Query also gets Projects from Query1...
Now Query2 and Query3 get Projects from Query1 always...so you will have same Projects in your all 3 Queries..
Now crate a workbook and insert 3 Queries.make sure you insert Query1 lastly.Since last inserted query will be executed first...
You may use VBA or excel functionality if you want to see whole data in one sheet.
Hope this helps. -
Dear Experts,
Can anyone give me query to find in SSHR 1) No. of Changes(Personal Info Update) Requested 2) No. of Processed Requests
1) No. of Changes(Personal Info Update) Requested
select COUNT(*)
from hr_api_transactions
where process_name like 'HR_PERSONAL_INFO_JSP_PRC'
and creation_date between '01-JAN-2014' AND '31-DEC-2014';
How do know whether they were processed successfully
where to see the meaning of Status column of HR_API_TRANSACTION?
Thanks
RahulHi Rahul,
For transaction status check the below query -
select * from fnd_lookup_values
where lookup_type like 'PQH_SS_TRANSACTION_STATUS'
and language = 'US';
Cheers,
Vignesh -
Can anyone give the details of SAP note 325525 .
Hai
Can anyone give the details of SAP note 325525 .
Thanks
KumarWhat exactly do you want. Is that just the explanation in the note: If so, here it is.
Summary
Symptom
WARNING: THIS NOTE HAS BEEN REPLACED. FOR MORE CURRENT AND MORE COMPREHENSIVE INFORMATION SEE NEW NOTE 886102.
You want to copy and or rename one or more systems (database or client copy). One or more of the systems is a BW system or is connected to a BW system.
Caution: This note only deals with problems that occur in the BW source system connections. Other problems that occur in the BW environment (indexes) are NOT dealt with. See URL http://www.service.sap.com/bw --> Services & Implementation --> System copy & Migration.
Other terms
BW, source system, OLTP, database copy, client copy, system infrastructure, transport system, connections, RFC connection, trfc, transfer structure, IDoc, ALE customizing, logical system name, system changeability, renaming systems, system copy
Solution
Several scenarios are possible in this environment. Find the scenario relevant to your situation below and execute the steps listed or read the note(s) specified:
Scenario 1) You do not want to copy a system but only want to rename one (changing a logical system name).
Solution scenario 1): Execute Transaction BDLS both in the client to be renamed and in the connected BWs or BW source systems. To do this, see Notes 121163 and 369758.
Check the RFC destinations in all connected BWs/BW source systems as described in Note 524554.
Reactivate all partner agreements that carry the new logical system name after renaming.
Scenario 2) You want to copy the entire system infrastructure connected by the BW source system connections (that means the entire system group) by a database copy. SAP recommends this procedure for copying systems.
Solution scenario 2):
If you want to rename one or more of the copied systems, then execute Transaction BDLS both in the client you wish to rename and in all the connected BW and BW source systems. See Note 121163.
Make sure that an RFC destination exists with the new logical name in every connected BW or BW source system.
Reactivate all partner agreements that carry the new logical system name after renaming.
Change the hosts in the appropriate RFC destinations so that they refer to the correct computer. For this, see Note 524554.
Scenario 3) You want to copy a single BW system of the group by database copy.
Scenario 3)a) You only want to exchange the hardware of your system but do not want to rename the system.
Solution scenario 3)a): You do not need to execute follow-up work regarding the system connections, except for adjusting the IP address in the RFC destinations of the connected system.
Scenario 3)b) You want to keep the original system of the copy so that you have two systems after copying.
Solution scenario 3)b): See Note 184754.
Scenario 4) You want to copy a single source system of the group by database copy.
Scenario 4)a) You only want to exchange the hardware of your system but do not want to rename the system.
Solution scenario 4)a): You do not need to execute follow-up work regarding the system connections, except for adjusting the IP address in the RFC destinations of the connected system.
Scenario 4)b) You want to keep the original system of the copy so that you have two systems after copying.
Solution scenario 4)b): See Note 184322.
Scenario 5) You want to import a client copy in a source system.
Solution scenario 5): See Note 325470. -
Can anyone give me a link to an appropriate forum please?
Hi,
I use Premiere Elements 13 but I have a query regarding my Adobe Audition 3 - which of course is now well out of date.
Maybe it's just because I'm having a bad day - or have recently retired, but can anyone give me a link to an appropriate forum for this out of date but excellent software. You never know I might be lucky getting my query resolved! :-)
Thanks in advance anyone!Offul Duster
Please explore the following link for the Adobe Audition 3.0.1 and Earlier Forum
Audition 3.0.1 and earlier
Hope all is going well with your Premiere Elements 13 projects. Have you updated 13 to 13.1 yet using an opened project's Help Menu/Updates. If not, please consider doing so.
Best wishes with your Adobe Audition and Premiere Elements projects..
ATR -
Dear All
Can anyone give me simple instructions on how to use more than one ipod on the same computer with itunes. My daughters have a different generation 'nano' each & my wife a 'shuffle'?
Many thanksClick here for options.
(69081) -
when i connect my iphone 4,an error message saying usb device is malfunctioning is appearing...can anyone give me a solution for this?i tried using on a different pc.but still get the same result..
First thing i would try is to use another cable if available.
-
Can anyone give a good contact number for someone in the upper level of customer service
can anyone give a good contact number for someone in the upper level of customer care i have talked to two of the worst people from customer service, the "supervisor" who was very appropriate did give me a address to mail a complaint which i will but being a disabled veteran of the Iraq war and a member of the wounded warrior project i get upset at certain people who show no respect for the average person and even worse of an attitude to those injured serving their country. I'm in no way saying I'm better its just that i expect a grain of respect as a person, a fellow American working everyday just to get by. my issue was not an impossible issue to resolve but i was told by one rep that it was not possible after my call being "dropped" i called back and talked to another. Luke from call center Washington state told me it was possible but that the phone i ordered two days prior (that rep failed to finish the order)was no longer available and i could pick a different phone not on back order.......i mentioned my confusion to the lack of service and being told two separate things. i asked why this was when i was not the one who made the mistake he told me it was not there fault and pushed the blame to me....he then called me dude and started to speak over me. when i asked to speak to a supervisor he asked why i told him i was no longer interested in talking to him he said why, i asked to be transferred again he kept refusing saying listen man I'm trying to help you what do you want. i asked to speak to his supervisor at least three more times he refused. i asked for his employee information so i could call back to report his rude behavior he refused to give me anything except at the end he finally told me his name.. there is more but my hand is tired is there anyone who can help me? if i find an answer as i will be posting this to many sites i will post it here.
Hello hazzard0011, I want to first and foremost say we truly appreciate your hard work and dedication to our country. It is our commitment to provide a top notch customer experience. My apologies that this hasn't been the case in your recent interactions. We can definitely submit feedback to our upper leadership regarding the matter. Can you please send us a direct message so that we can further investigate? Also, please share details regarding the initial issue. Here's steps to send a direct message: http://vz.to/1b8XnPy
WiltonA_VZW
VZW Support
Follow us on twitter @VZWSupport -
Im travelling to New York soon and consrdering buying a iPad while out there. Can anyone give me advice what i need to buythanks.
to allow me to use it back here in the UK?? Many thanks
Mark thBuy the "AT&T" model iPad, not the Verizon one (which does not support SIM cards used most everywhere in the world). The ATT model comes with a SIM card, but you can then get one from a UK provider. Be sure it's a "microSIM" card, not the larger kind when back in the UK.
-
Can anyone give me user exit name for create/update purchase order partners
Hello guys
Can anyone gives me user exit name for create/update purchase order partners?
Requirement is to insert/update partner when SC flag is checked while creating/updating purchase order (ME22N / ME21N) by using user exit.hi,
check these exits.
Transaction Code - ME21N Create Purchase Order
Enhancement/ Business Add-in Description
Enhancement
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
M06B0003 Number range and document number -
Lightroom wants to me to install 5.6, but the download link takes me to a page with plain text bullet points, none of which are the update link. Can anyone give a direct lnik?
Google "lightroom 5.6" and direct links to both Mac and Windows will be at the top.
-
I have a new I Pad air and I am trying to use it with a projector and a whiteboard, unfortunately the two are not connecting. Can anyone give me reasons why this might be happening.
You can connect via a cable or wireless using an Apple TV.
http://ipad.about.com/od/iPad_Guide/a/How-To-Connect-Your-Ipad-To-Your-Tv.htm
Connect an iPad to a Television or Projector
http://www.everymac.com/systems/apple/ipad/ipad-faq/how-to-connect-ipad-to-tv-te levision-projector.html
Connecting iPad iPhone or iPod to TV or Projector
http://www.disabled-world.com/assistivedevices/computer/ipad-tv.php
iPad Accessories: Connections for a TV or Projector
http://www.dummies.com/how-to/content/ipad-accessories-connections-for-a-tv-or-p rojector.html
You may be interested in AirPlay on the Apple TV:
http://www.apple.com/airplay/
http://www.apple.com/airplay/
Alternately, there are Apple Digital AV Adapters for hardwired connections:
http://support.apple.com/kb/ht4108
http://support.apple.com/kb/ht4108
Cheers, Tom -
Can anyone give a good contact number for someone in the upper level of customer care
Duplicate post - please see:
can anyone give a good contact number for someone in the upper level of customer service
Message was edited by: Admin ModeratorHello hazzard0011, I want to first and foremost say we truly appreciate your hard work and dedication to our country. It is our commitment to provide a top notch customer experience. My apologies that this hasn't been the case in your recent interactions. We can definitely submit feedback to our upper leadership regarding the matter. Can you please send us a direct message so that we can further investigate? Also, please share details regarding the initial issue. Here's steps to send a direct message: http://vz.to/1b8XnPy
WiltonA_VZW
VZW Support
Follow us on twitter @VZWSupport
Maybe you are looking for
-
Dynamic Variable Naming for Sound Object
Is it possible to dynamically name a variable? I'd like to create a new Sound Object on the fly, so that I can use the Sound.load() method multiple times. I would simply like to create and name the variable and add a number to the end of the name (i.
-
I installed Firefox 4 and it flat out is not working. What should I do?
I installed FF4 and it does not work. I can see the search window and the firefox symbol, and I can type in entries, but when I press the enter key or hit the search arrow, there is no reaction or response. The screen remains as is.
-
Hi, I have a probalem that happens every once in a while. (Maybe happens once every other day.) It seems when I am running on battery it happens more then not. Although it has happened while plugged into the wall. The screen simply goes black and the
-
Close FPGA VI Reference breaks when moving project...
I created a cRIO project with an FPGA target, and assigned the output of Open FPGA Reference to an indicator. When I moved the project to a different computer, the wire to the indicator broke, so I selected "Bind to Typedef..." on the Open FPGA Refer
-
where is the restore option in the Itunes? i have to do this to unlock my iphone, then i need to syncronise it. It says: Use the "restore" option within iTunes (located at the bottom of iTunes not the top) But i cant find it.