Check several similar or in an if statement. [AS2]
Hello, I know this is probably a very obvious question, but I am new to Flash.
I can do something like:
If (jellyfish == 3, 74, 95, | 1006) {}
Do things
}
Or would I need to do:
If (jellyfish == 3: jellyfish == 74 | jellyfish == 95 | jellyfish == 1006) {}
Do things
}
I would like to know if there is something more close to the first, or if I have to have pages in a single case statement.
Thank you
Christopher
you need to do the latter, but if it is worth, you can use a loop for:
var a: Array = [3,74,95,1006];
for (var i: Number = 0; i<>
{if(Jellyfish==a[i])}
do things
break;
}
}
Tags: Adobe Animate
Similar Questions
-
Metadata value of empty/Reset on the Check in Similar
Hello
I have a sequence number of custom metadata (generated automatically after CheckIn) and when I click on Check In similar metadata is not null, it brings the value of the metadata passed. How to reset the value of the metadata when the consignment is similar?
You will need to create a custom rule activation condition. Approach simple checkbox will not work. The State should look like this: (IdcService as 'CHECKIN_SIMILAR_FORM')
-
How to check if the entity is in a State of "busy".
Hello
I am trying to add a new virtual machine to a paralytic, using recomposevApp. At the same time several other threads also try redialing and add a virtual machine at the same TIME. And then I remove the TIME where the virtual machine has been added. It is originally several exceptions.
- No access to the entity
- Entity is busy completing a transaction.
- The operation is not allowed, please contact your administrator vcloud.
I want to know, how can I check if the TIME at which a virtual machine must be added, is busy or not?
I want to check if the vapp is in a stable condition before you add a virtual machine.
Other ideas are welcome. Please help as soon as possible.
Thanks in advance.
Mansie
You can check if a vApp is busy in two ways:
(1) obtain the vApp, observe the
element inside the vApp and check for all tasks in the 'running' State: If there is a running task, then the vApp is busy and cannot be reconstructed (2) using the query service, you can run a query of vApp (GET/api/query? type = adminVApp) to get all the vApps (or interested in a filter by name to get the VAPP): inside the query results is a Boolean field named "isBusy" showing that the VAPP is occupied or not.
Kind regards
Todor Todorov
- No access to the entity
-
I'm on MacBook Pro (retina, 15 inch, mid-2015) how can I get rid of a redirect virus. I use Google Chrome. It is not DNS, I checked several times. I scanned my Mac with Malware bytes multiple times. He is yet to come. I am very confused. Help me!
http://Syndication.ExoClick.com/splash.php?IDZone=1758202&type=8
It's the kind of redirects that I get all the time
-
Definition of Variables of severity of the code in the State
HI -.
Maybe it's somewhere in the docs, but I have not found.
I have two Linux boxes that run a set overlapping process. One is the master, the other is a failover. What is currently the captain should be run all three processes, the other should be run only two. Because I'm not sure at any time which machine is going to be the master, I don't want to have two separate rules for watching these machines. I have the updated AppMonitor in place on the two processes at all three to the search. I can now determine the processes that are running on each machine:
AppMonitor #InstancesFound = procA_on_machine1 where monitoredHost.name like machine1% and Application like '% procedure % '.
AppMonitor #InstancesFound = procA_on_machine2 where monitoredHost.name like computer2% and Application like '% procedure % '.
etc.
Let's say that machine1 is the failover box and it runs only a process that is supposed to work. I want to set a Variable of severity level to Computer1 and another for the name of the process that is not running so that I can build an e-mail message that makes sense given the current state machines.
So, how do I do (can I?) set a Variable of severity of the Groovy in the state code?
Thank you
-Craig
You can define groovy expressions separated by a severity level, independent of the code of the state variables.
for example
the name of the expression: currentActiveNode
expression:
AppMonitor #InstancesFound = procA_on_machine1 where monitoredHost.name like machine1% and Application like '% procedure % ' #.
If (procA_on_machine1 > 0) {return "Computer1"} else {return "Computer2"}
the name of the expression: currentPassiveNode
expression:
AppMonitor #InstancesFound = procA_on_machine1 where monitoredHost.name like machine1% and Application like '% procedure % ' #.
If (procA_on_machine1 > 0) {return "Computer2"} else {return "Computer1"}
(Not really sure that the exact data you need, just an example)
-
Error at the Check-in similar - too many items
Hi all
I have some documents that I need to Check-In similar to say a single A/B/C in A/B/D account.
I did check in similar a few docs until I have started to receive the error that is mentioned below:
When I check in similar CS throws an error as 'invalid metadata for < content ID >. Too many items.
In addition, in the server it logs shows below error.
Please suggest what the problem is here and what is his solution.
< 29 December 2015 16:59:38 IST > < error > < oracle.ucm.idccs > < CMU-CS-060003 > < event generated by the user 'weblogic' host 'ucm.coxandkings.com:16200 '. >
< 29 December 2015 16:59:38 IST > < error > < oracle.ucm.idccs > < CMU-CS-000001 > < general exception
intradoc.common.ServiceException:! csCollectionInvalidMeta, CKIL_264341! csCollectionContentMaxed
at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
at intradoc.server.Service.buildServiceException(Service.java:2260)
at intradoc.server.Service.createServiceExceptionEx(Service.java:2254)
Collections. CollectionUserHandler.verifyContentNotMaxed (CollectionUserHandler.java:2997)
Collections. CollectionUserHandler.verifyContentNotMaxed (CollectionUserHandler.java:2979)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
at intradoc.server.Service.doCodeEx(Service.java:533)
at intradoc.server.Service.doCode(Service.java:505)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
at intradoc.server.Service.doAction(Service.java:477)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
at intradoc.server.Service.doActions(Service.java:472)
Collections. CollectionValidateCheckinData.doFilter (CollectionValidateCheckinData.java:64)
at intradoc.shared.PluginFilters.filterWithAction(PluginFilters.java:114)
at intradoc.shared.PluginFilters.filter(PluginFilters.java:68)
at intradoc.server.DocServiceHandler.validateCheckinData(DocServiceHandler.java:1566)
at sun.reflect.GeneratedMethodAccessor310.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
at intradoc.server.Service.doCodeEx(Service.java:533)
at intradoc.server.Service.doCode(Service.java:505)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
at intradoc.server.Service.doAction(Service.java:477)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
at intradoc.server.Service.doActions(Service.java:472)
at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1322)
at intradoc.server.Service.executeSubServiceCode(Service.java:3866)
at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1200)
at intradoc.server.Service.executeServiceEx(Service.java:3861)
at intradoc.server.Service.executeService(Service.java:3845)
at intradoc.server.Service.doSubService(Service.java:3760)
at sun.reflect.GeneratedMethodAccessor268.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
at intradoc.server.Service.doCodeEx(Service.java:550)
at intradoc.server.Service.doCode(Service.java:505)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
at intradoc.server.Service.doAction(Service.java:477)
at intradoc.server.Service.doScriptableAction(Service.java:3807)
at sun.reflect.GeneratedMethodAccessor304.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
at intradoc.server.Service.doCodeEx(Service.java:550)
at intradoc.server.Service.doCode(Service.java:505)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
at intradoc.server.Service.doAction(Service.java:477)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
at intradoc.server.Service.doActions(Service.java:472)
at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
at intradoc.server.Service.executeActions(Service.java:458)
at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
at intradoc.server.Service.doRequest(Service.java:1890)
at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1343)
at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1715)
at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:222)
at sun.reflect.GeneratedMethodAccessor225.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
to idcservlet. ServletUtils.executeContentServerIntegrateMethodOnConfig (ServletUtils.java:1600)
to idcservlet. IdcFilter.doFilter (IdcFilter.java:352)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Kind regards
Sanket
https://jonathanhult.com/blog/2013/07/maximum-folders-and-items-folders_g-WebCenter-content-11g/
Jonathan
-
How to insert a line checked several
Hi friends,
IM facing a scenario. Let me explain.
I have a page with a report and a button (these two in a homepage).
I have a tabular presentation based on a table that opens in a pop-up window by pressing a button located on the home page. In this sick in tabular form be select several lines and if I press Add button in the pop - up, then all the lines checked must insert in the table report located in the home page.
How can I achieve this.
Can someone help me with this problem.
Brgds,
MiniMini,
I've updated my example for you.
There are several ways to accomplish what you're looking for, here are two options:
1. make an ajax call on beforerefresh pop-up report.
2 persists the values checked in a page element and use it instead of an array.In my example, I used the second option. Instead of using an item hidden, I used a text field you can see the selected values. Here are the changes I made:
1. Add a new region and an article about her, I called my article "P33_SELECTED_WIDGETS".
2. in the declarations of global variables in your definition of the page, add the following text:var pkArray = [];
3. change the report query to refer to the element on the page and ensure that the State of the check box reflects the values that you have seaved in your page element.
select SEQ, APEX_ITEM.CHECKBOX2( 2, SEQ, 'class="pk-selector" ' || SEQ_CHECK ) SEQ_CHECK, NAME, READY_DATE, COMMENTS from( select SEQ, case when instr(':' || :P33_SELECTED_WIDGETS || ':', ':' || SEQ || ':') > 0 then 'checked="checked"' else '' end SEQ_CHECK, NAME, READY_DATE, COMMENTS from widgets_broken )
4. create a dynamic action to manage the persistence the checked values.
* Name: * bind_click_handler
* Event: * after refresh
* Type selection *: region
* Region: *
Real actions:
* Seq *: 10
* Fire on Page Load *: Yes
* Execute JavaScript Code *:$('.pk-selector').bind('click',function(){ $this = $(this); var checkVal = $this.val(); if($this.prop("checked")){ pkArray.push(checkVal); //save checked value }else{ pkArray.splice( $.inArray(checkVal, pkArray), 1 ); //remove unchecked value } $s('P33_SELECTED_WIDGETS',pkArray.join(':')); //update page item with new values });
Edit
I left a decisive step. In your background report, ensure that this partial page refresh is enabled and P33_SELECTED_WIDGETS builds page elements to present the attribute.Finally, change the proceudure files add to refer to the page instead of globl table element.
BEGIN insert into widgets(NAME,READY_DATE,COMMENTS) select name, ready_date, comments from widgets_broken where instr(':' || :P33_SELECTED_WIDGETS || ':', ':' || SEQ || ':') > 0; delete from widgets_broken where instr(':' || :P33_SELECTED_WIDGETS || ':', ':' || SEQ || ':') > 0; :P33_REC_CNT := SQL%ROWCOUNT; END;
See you soon,.
Janet TysonPublished by: Tyson Janet January 3, 2012 13:13
-
Several similar Bluetooth devices
Hi all
I'm curious to know if anyone has an effective way to manage several bluetooth on their iPhone, particularly similar bluetooth devices. Here's my scenario specific household:
I have 3 Bose Soundwave mini in different areas around the House and bring with me to work, a living room stereo system using a logitech bluetooth receiver, stereo room bedroom using a similar receiver and a stereo in my backyard using the Roverbeats Unify bluetooth receiver and another in my garage with a similar Roverbeats receiver.
Often with receivers, my phone will connect to a receiver in the other room, although it is literally in front of the receiver, I want to associate. I'm so often or having to choose between keeping the receivers do not use unplugged, by selecting "forget connection" on my iPhone every time and just rematching. With the mini Bose I have not found a way to rename each different unit which is confusing, as they are all labelled the same in my list of Bluetooth connections (I am able to rename every single unit on my Macbook, but that will still be often confused and have connection problems, making me forget all connections with all minis just reconnect from scratch). I have every Mini labeled with A/B/C, but do not have a way to differentiate one on my iPhone.
So, basically, I feel constantly forget liaison and/or keep some receivers unplugged. Has anyone found any bluetooth utility function simplified to establish connections rename / prioritize? I have an iPhone 5 9.3.2.
The name change you make on your computer just the fact it not on the device BT itself. Because there is no user controllable files management, there is no similar to iOS functionality. I don't know of any utility that will help you. The only thing I could suggest is turn off BT devices and turning them on only when you will contact them.
-
How (if possible) to check several Applecare statutes at the same time?
I have several assets (hundreds) I want to check the soap operas to reach purchase date, and when the warranty expires. The Web site to check this allows only one at a time so as you can guess, it would be painstakingly your time.
Is it possible to check in bulk of serials to acquire this information?
None that I know, and I suppose that if there was a way he could mention on the status page.
-
rename several virtual machines based on the State of food &; VM name
I'm looking for a powershell script to rename the virtual machine based on the state name and vm power. For example, I have several virtual machines with a - temp at the end of the name of the server. Some are turned on and some are turned off. I am wanting to rename only those who is off
Thank you
tjw82
Assuming that - temp is part of the name
Get - vm | where {$_.powerstate - eq "poweredoff"} | foreach {Set-machine virtual - VM $_ - name (($_.name).)} Replace ("temp", "delete"))}
-
Check var PL/SQL in an if STATEMENT with a list of values returned by a SELECT?
I have a variable in my PL/SQL code, and I want to check if the value of the var is in a list of values. This list of values I want to get directly from a select statement. I can do something like below:
IF (v_var1 in (select col1 from <table> where <condition>)) THEN <do something> ELSE <do something else> END IF;
And rownum = v_loop will not work for rownum anything to 1.
You can try something like:
SELECT COUNT (1) INTO v_row_count FROM
WHERE
; IF (v_row_count = 0) THEN ELSE v_loop := 1; FOR I IN (SELECT col1 FROM WHERE
) LOOP v_sel_val1 := I.col1; IF (v_var1 = v_sel_val1) THEN END IF; END LOOP; How can I get rid of Internet Explorer so that I can check my e-mail account in Firefox? Tried to turn on or off windows features in Control Panel. no help? I use windows 7
Thanks BobWFirst of all, you don't need to remove IE. Windows allows programs to use components of Internet Explorer, so removing may well break things unexpectedly.
Second, the Firefox you used to post this thread to date for me look. Have you tried to verify your account in Firefox? If you are clicking on a link and Windows will launch it is to say automatically, try to copy the address in the address bar of IE in a new tab in Firefox and press ENTER to load the page in Firefox.
With earlier versions of MAC OS and Fire Fox, I created several folder in which I put bookmarks. For example, I have a folder of MEDICAL INFORMATION in which I placed several bookmarks. I want to create a completely new file for a different topic. I can't find a toolbar drop-down list that allows this and I can't find answer in the info on Firefox Help. What do you advise. Tom [email protected]
See:
Question on several similar mappings
All,
I'm having a hard time to do the following to work, and I wonder if my thinking is completely wrong.
I have a field with the accounting codes / descriptions.
for example
The source account
12345 - sales
In order to load to Essbase, I need to remove the description. I couldn't find a way to do it in FDMEE natively, so I wrote a #SQL Script in the map AS
for example
SUBSTR (Account, 1, 5)
It gives me what I need (12345 in this case).
However, I must also sign flip all account that begins with a 4, so I added another as the mapping:
Source, target, SignFlip set to True
4 *, *, check for sign Flip
No matter how to order those, I can't do any account with a 4 to switch the two mappings. I can get the description of undress, OR I can reverse the sign, but I need to do both.
FDMEE cannot handle a mapping by column for each record? Is it still possible? If no, what are the other alternatives it via SQL or Jython?
Thank you
If so, you can set your #SQL Script:
SUBSTR (Account, 1, 5)
, AMOUNTX = (CASE WHEN COUNTS AS 4% ' THEN AMOUNT *-1 OTHER AMOUNT END)
I use:
Oracle SQL Developer (3.0.04) build hand - 04.34 Oracle Database 11 g Enterprise Edition 11.2.0.1.0 - 64 bit Production
Examples of data
Table
with t as)
Select to_date('8-18-2013','mm-dd-yyyy') dt, "123_' ticket_origin, ticket_destination '123', startid 101, 101 origin, destination 0, 'origin' objecttype, amount 85, 100 area union double all the
Select to_date('8-18-2013','mm-dd-yyyy'), 123', '123_", 0, 101, 103, 'destination', 85, 100 of all the double union
Select to_date('8-18-2013','mm-dd-yyyy'), 123', '123_", 103, 0, 0, 'destination', 85, 100 of all the double union
Select to_date('8-17-2013','mm-dd-yyyy'), 124. _', ' 124. ', 105, 105, 0, 'origin', 150, 200 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), 124. _', ' 124. ', 105, 106, 0, 'origin', 150, 200 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), '124.', 124. _', 0, 0, 106, 'destination', 150, 300 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), '124.', 124. _', 105, 0, 106, 'destination', 150, 300 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), '127_', '127', 108, 108, 0, 'origin', 50, 600 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), '127', '127_', 0, 0, 110, 'destination', 50, 600 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), '127', '127_', 0, 0, 110, 'destination', 75, 600 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), 125. ' _', ' 125 '., 108, 108, 0, 'origin', 60, 800 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), 125. ' _', ' 125 '., 108, 112, 0, 'origin', 60, 800 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), ' 125. ', '125', 108, 108, 0, 'origin', 60, 800 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), ' 125. ', '125', 109, 108, 0, 'origin', 60, 800 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), ' 125. ', 125. _', 0, 0, 112, 'destination', 60, 700 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), ' 125. ', 125. _', 108, 0, 112, 'destination', 60, 700 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), '125', ' 125. ', 0, 0, 109, 'destination', 60, 900 from all the double union
Select to_date('8-17-2013','mm-dd-yyyy'), '125', ' 125'., 108, 0, 109, 'destination', 60, 900 double
)
Is there a way to check date of consolidation for correspondence ticket_origin and ticket_destination when there are two or more lines of difference between them, which does not allow me to use result delay or function. It is also possible do it without using the amount column?
I also want to identify if they are in the same region, when it is associated with (that I believe works after getting sorted table like so below then use lead lag after having de facto order)
I'm trying to get something like this table
with results like)
Select to_date('8-18-2013','mm-dd-yyyy') dt, "123_' ticket_origin, ticket_destination '123', startid 101, 101 origin, destination 0, 'origin' objecttype, amount 85, 100 area union double all the
Select to_date('8-18-2013','mm-dd-yyyy'), 123', '123_", 103, 0, 0, 'destination', 85, 100 of all the double union
Select to_date('8-17-2013','mm-dd-yyyy'), 124. _', ' 124. ', 105, 105, 0, 'origin', 150, 200 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), '124.', 124. _', 105, 0, 106, 'destination', 150, 300 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), '127_', '127', 108, 108, 0, 'origin', 50, 600 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), '127', '127_', 0, 0, 110, 'destination', 50, 600 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), 125. ' _', ' 125 '., 108, 108, 0, 'origin', 60, 800 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), ' 125. ', 125. _', 0, 0, 112, 'destination', 60, 800 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), ' 125. ', '125', 108, 108, 0, 'origin', 60, 700 Union double all the
Select to_date('8-17-2013','mm-dd-yyyy'), '125', ' 125. ', 0, 0, 109, 'destination', 60, 900 double
)
You need to research rules business more to clarify and apply the mapping one. The main secret is probably to match the values of ticket.
Under use a t_view of view with the addition of PK (RID) to the table. Some discrepancy could be solved by adding more rules for mapping and correcting the expected result entry errors
SQL > desc t_view
Name
------------------------
RID
DT
TICKET_ORIGIN
TICKET_DESTINATION
STARTID
ORIGIN
DESTINATION
OBJECTTYPE
AMOUNT
AREA
with
T1 as (select * from t_view where OBJECTTYPE = 'origin'),
T2 as (select * from t_view where OBJECTTYPE = 'destination').
map as (t1.rid select origin_id, t2.rid from t1 DESTINATION_id, t2)
where t1. TICKET_ORIGIN = t2. TICKET_DESTINATION
and t1. TICKET_DESTINATION = t2. TICKET_ORIGIN
-Add rules to apply the one-to-one mapping
and t1.amount = t2.amount
and t1. STARTID = t1. ORIGIN
and t2. STARTID = t2. ORIGIN),
like map2)
Select origin_id gid, origin_id rid of card
Union of all the
Select origin_id gid, DESTINATION_id rid of card)
Select t_view.* card2, t_view where map2.rid = t_view.rid
order of map2.gid, map2.rid
/
GET RID OF THE DT TICKE TICKE STARTID ORIGIN DESTINATION OBJECTTYPE AMOUNT AREA ---------- --------- ----- ----- ---------- ---------- ----------- ----------- ---------- ----------
1 18 AUGUST 13 123_ 123 101 101 0 origin 85 100 3 18 AUGUST 13 123 123_ 0 0 destination of 103 85 100 4 17 AUGUST 13 124. _ 124. 105 105 0 origin 150 200 6-17 AUGUST 13 124. 124 _ 0 0 destination of 106 150 300 8 17 AUGUST 13 127_ 127 108 108 0 origin 50 600 AUGUST 9-17 13 127 127_ 0 0 destination of 110 50 600 11-17 AUGUST 13 125. _ 125. 108 108 0 origin 60 800 15-17 AUGUST 13 125. 125 _ 0 0 destination of 112 60 700 13-17 AUGUST 13 125. 125 108 108 0 origin 60 800 17 17 AUGUST 13 125 125. 0 0 destination of 109 60 900 10 selected lines.
Maybe you are looking for
-
Satellite A10: Modem - no dial tone error 680.
Hello Seems to be a common problem search the ends of the net even if I have to find a solution.No dial tone error 680. Satellite A10 running Windows XP SP2.Interviewed modem-It's ok.Check wait for the tone. still not connect.Have tried different tel
-
is there a way to fix this
-
How to install NetBEUI protocol in Windows 7?
Have windows & on the new laptop. HP dv7 series. Provided with the Home Premium 64, Pro64 upgrade edition. I need the laptop to communicate with equipment CNC which requires the netbeui Protocol. Reading posted similar, usually (or no) questions a
-
BlackBerry smartphones can not synchronize the e-mail to Office Manager
Earlier messages I realized I can't synchronize email between my curve and my personal Outlook email (my provider is comcast). How a supposed to synchronize email between the BB and Outlook? If this is a redundant question, my apologies. I couldn'
-
connection pc Mao on no password
I want to go back to fixgure password pc Madam, Sir, this is guest. Mao was computer problem window .window already see the name on it but no password. Cannot open computer.how can I do. No matter what idead for help to fixgure my problem. ? I use co