[Space oracle] - selects all customers in a buffer of demi-mille of co

Hi, people,.
I'm having a problem with SQL statemnt to select all customers in a buffer of demi-mille of the competitor. In fact, I don't know how to build the SQL statement.

If anyone can help, thanks in advance.

There are several ways to achieve this. You can use SDO_NN, but in this case I'd stick probably just using a buffer.

Assuming that you have two tables named CUSTOMER and COMPETITOR each with a GEOMETRY of type SDO_GEOMETRY that contains a representation of the column feature point...

SELECT /*+ ORDERED */ cust.*
FROM competitor comp, customer cust
WHERE sdo_anyinteract(cust.geometry, sdo_geom.sdo_buffer(comp.geometry, , )) = 'TRUE'
AND comp.id = 

If you want to extend this to return customers by order of distance from the competitor, then you might be better off using SDO_NN & SDO_NN_DISTANCE. There are many examples in the documentation. Also other examples by searching this forum for those keywords.

Tags: Database

Similar Questions

  • How can I delete all but 2015 to 2016 nigh (ios10.0.2) iPhone photos to free up space, after synchronizing all photos on my Mac (Yosemite 10.10.5)?

    How can I remove all but 2015 to 2016 photos from my iPhone (ios10.0.2) for free space, after synchronizing all the photos on my mac (Yosemite 10.10.5) computer?

    The fastest way I can think of would be to go to the Albums, go to all the Photos tab, highlight the photo you want to delete and press 'Select' in the upper right corner. Place your finger on the first complete line, you want to remove (if you have pictures that do not have a complete row that you want to remove these institutions, select them individually first), slide your finger on the line so that they are all selected, and then slide up so that it starts automatically at your old photos of scrolling. Once the photos you want to delete are selected, press the trash in the lower right. This will move them to your album "Recently deleted", then they will be always on your phone for 30 days, unless you remove them. If you are sure that you have already backed up these photos and does not accidentally still photos you want, feel free to remove them.

  • Properties tab shows 3609 files, when you select all the files it only shows the files in 1974?

    When I right click and select Properties tab it shows 3609 files, when selecting all the files to copy shows only the files of 1974?

    Hello Tony,.

    If it is certainly a big difference, I think that for most all of this is taken up by folders and subfolders which are mainly empty place holders. Have you looked at the folder with Windows Explorer? A freeware application that can help is WizTree, it provides both a performance graphics and text of what's on your hard drive (or part of it). Can be very educational. Download here: http://antibody-software.com/web/software/software/wiztree-finds-the-files-and-folders-using-the-most-disk-space-on-your-hard-drive/ .

    Let me know if this helps you.

    Kind regards

    BearPup

  • How it is possible to create the chekbox in interactive report column header and select all the features.

    Hello

    My requirement is

    Interactive report the first element of box check columns and the topic also point check box.

    If I click on the element of box section columns and then automatically select all the lines in the box.

    Select all / deselect all interactive report header check box.

    Kind regards

    Arianne.

    Check this box

    https://Apex.Oracle.com/pls/Apex/f?p=76604:2:111027941779152:

    username:-test

    password:-test

    SELECT

    APEX_ITEM. HIDDEN (2, null, null, 'f02_': rownum) |

    APEX_ITEM. CHECKBOX2 (P_IDX-ONLINE 01,

    P_VALUE-online null,

    P_ATTRIBUTES-online null,

    P_CHECKED_VALUES => NULL,

    P_CHECKED_VALUES_DELIMITER => ':',

    P_ITEM_ID-online 'f01_ ' | ROWNUM,

    P_ITEM_LABEL => ' label for f01_ #ROWNUM # ')

    as Delete1,.

    of the double

    Choose the column type: report

    in the heading of column delete1

    Simply put

  • Error in implementation of checkbox Select all in af:table: unattainable target, "rank" resolved to null identifier

    Hello.

    JDeveloper 12.1.2 on Windows 7 64B.

    I'm trying to implement a checkbox Select all in an af:table, but when I run the application and click on the box, I get the following error:

    < 18 December 2014 08:56:45 BOT > < error > < oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter > < BEA-000000 > < ADF_FACES - 60096:Server Exception during the PPR, #3

    javax.el.PropertyNotFoundException: //C:/Users/jjmendoza/AppData/Roaming/JDeveloper/system12.1.2.0.40.66.68/o.j2ee/drs/ARSHGH/GHViewControllerWebApp.war/WEB-INF/cyb/TaskFlows/Prestaciones/VistaPrestacionEmpleado.jsff @282,92 value = "#{row.bindings.IngresoSeleccionado.inputValue}": unattainable target, "rank" resolved to null identifier "

    at com.sun.faces.facelets.el.TagValueExpression.isReadOnly(TagValueExpression.java:122)

    at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getUncachedReadOnly(EditableValueRenderer.java:614)

    at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:512)

    at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.wasSubmitted(EditableValueRenderer.java:348)

    at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.decodeInternal(EditableValueRenderer.java:120)

    at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.decodeInternal(LabeledInputRenderer.java:61)

    at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:464)

    at org.apache.myfaces.trinidad.render.CoreRenderer.decode(CoreRenderer.java:292)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1582)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:1027)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:1127)

    at org.apache.myfaces.trinidad.component.UIXEditableValue.processDecodes(UIXEditableValue.java:287)

    to org.apache.myfaces.trinidad.component.ChildLoop$ Decode.process (ChildLoop.java:130)

    at org.apache.myfaces.trinidad.component.ChildLoop.processComponent(ChildLoop.java:86)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:195)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:326)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:245)

    at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:69)

    at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:59)

    at org.apache.myfaces.trinidad.component.UIXColumn.processDecodes(UIXColumn.java:87)

    at oracle.adf.view.rich.component.rich.data.RichColumn.processDecodes(RichColumn.java:62)

    to oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ ApplyRequestValuesCallback.invokeContextCallback (LifecycleImpl.java:1574)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1984)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1876)

    at org.apache.myfaces.trinidad.component.UIXCollection.invokeOnComponent(UIXCollection.java:1299)

    at oracle.adf.view.rich.component.rich.data.RichTable.invokeOnComponent(RichTable.java:262)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1876)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1999)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1876)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1999)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1876)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1999)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1876)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1999)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1876)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1999)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1876)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1999)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1876)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1942)

    at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:594)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1876)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:222)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1876)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1999)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1876)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1999)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1876)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1999)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1876)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1999)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1876)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1999)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1876)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1999)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1876)

    at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:156)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1876)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1999)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1876)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1999)

    at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1426)

    at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:669)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:426)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:478)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:478)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.utils.FastSwapFilter.doFilter(FastSwapFilter.java:64)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3367)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3333)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:254)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)

    >

    Here is the code snippet:

    < af:table value = "#{bindings." PrestacionEmpleado_TransaccionIngreso.collectionModel}.

    Summary =""var = 'row'

    lines = ' #{bindings. " PrestacionEmpleado_TransaccionIngreso.rangeSize}.

    emptyText = "#{bindings." PrestacionEmpleado_TransaccionIngreso.viewable? "{" No hay data that show ":"Acceso refused."}"

    rowBandingInterval = '0' styleClass = 'tableInfo AFStretchWidth.

    columnStretching = "column: c6" scrollPolicy = "scroll".

    selectedRowKeys = ' #{bindings. " PrestacionEmpleado_TransaccionIngreso.collectionModel.selectedRow}.

    selectionListener = "#{bindings." PrestacionEmpleado_TransaccionIngreso.collectionModel.makeCurrent}.

    rowSelection = 'single '.

    fetchSize = "#{bindings." PrestacionEmpleado_TransaccionIngreso.rangeSize}"id ="t4 ".

    disableColumnReordering = "true" partialTriggers = "l1" >

    < af:column headerText = "#{bindings." PrestacionEmpleado_TransaccionIngreso.hints.IngresoSeleccionado.label}.

    ID = "c31" partialTriggers = "allIChk" >

    < af:selectBooleanCheckbox value = "#{row.bindings.IngresoSeleccionado.inputValue} '"

    label = "#{row." Bindings.IngresoSeleccionado.label}.

    shortDesc = "#{bindings." PrestacionEmpleado_TransaccionIngreso.hints.IngresoSeleccionado.tooltip}.

    ID = "sbc3' autoSubmit ="true"/ >

    < f: facet name = "header" >

    < af:selectBooleanCheckbox id = "allIChk".

    Text = "#{ghviewcontrollerBundle.global_todos} '"

    valueChangeListener = "#{pageFlowScope.PrestacionesController.chkTodosLosIngresosVCL} '"

    inlineStyle = "make-weight: bold;" do-size: 14px; »

    autoSubmit = "true" / >

    < / f: facet >

    < / af:column >

    < af:column headerText = "#{bindings." PrestacionEmpleado_TransaccionIngreso.hints.IngresoId.label}.

    ID = "c6" width = "150" styleClass = 'Form' >

    < af:selectOneChoice autoSubmit = "true" value = "#{row.bindings.IngresoId.inputValue} '"

    required = "#{bindings." PrestacionEmpleado_TransaccionIngreso.hints.IngresoId.mandatory}.

    shortDesc = "#{bindings." PrestacionEmpleado_TransaccionIngreso.hints.IngresoId.tooltip}.

    ID = "soc1' contentStyle = ' width: 510px.

    unselectedLabel = "#{ghviewcontrollerBundle.SELECCIONE} '"

    valueChangeListener = "#{pageFlowScope.PrestacionesController.ingresoValueChangeListener} '"

    simple = "true" >

    < f: selectItems value = "#{row.bindings.IngresoId.items}" id = "si1" / > "

    < f: validator binding="#{row.bindings.IngresoId.validator}"/ >

    < / af:selectOneChoice >

    < f: facet name = "footer" >

    < af:outputText value = "#{ghviewcontrollerBundle.global_total}" id = 'ol1' "

    inlineStyle = "make-weight: bold;" do-size: 14px; "/ >

    < / f: facet >

    < / af:column >

    < af:column headerText = "#{bindings." PrestacionEmpleado_TransaccionIngreso.hints.Monto.label}.

    ID = "c7" width = "200" >

    < af:inputText autoSubmit = "true" value = "#{row.bindings.Monto.inputValue} '"

    label = "#{bindings." PrestacionEmpleado_TransaccionIngreso.hints.Monto.label}.

    required = "#{bindings." PrestacionEmpleado_TransaccionIngreso.hints.Monto.mandatory}.

    columns = "#{bindings." PrestacionEmpleado_TransaccionIngreso.hints.Monto.displayWidth}.

    shortDesc = "#{bindings." PrestacionEmpleado_TransaccionIngreso.hints.Monto.tooltip}.

    ID = "it2.

    Binding = "#{pageFlowScope.PrestacionesController.inputTextMontoIngreso} '"

    maximumLength = "#{bindings." PrestacionEmpleado_TransaccionIngreso.hints.Monto.precision} ">"

    < f: validator binding="#{row.bindings.Monto.validator}"/ >

    < / af:inputText >

    < f: facet name = "footer" >

    < af:outputText id = "tirer16".

    value = "#{pageFlowScope.PrestacionesController.montoTotalIngreso} '"

    inlineStyle = "make-weight: bold;" do-size: 14px; »

    partialTriggers =": bai" > "

    < af:convertNumber type = "currency" locale = '-DO' / >

    < / af:outputText >

    < / f: facet >

    < / af:column >

    < af:column headerText = "#{ghviewcontrollerBundle.global_fecha_pago}" id = 'c32' "

    "partialTriggers =": afp "width ="150">

    < af:inputText value = "#{row.bindings.FechaNomina.inputValue} '"

    label = "#{bindings." PrestacionEmpleado_TransaccionIngreso.hints.FechaNomina.label}.

    required = "#{bindings." PrestacionEmpleado_TransaccionIngreso.hints.FechaNomina.mandatory}.

    columns = "#{bindings." PrestacionEmpleado_TransaccionIngreso.hints.FechaNomina.displayWidth}.

    maximumLength = "#{bindings." PrestacionEmpleado_TransaccionIngreso.hints.FechaNomina.precision}.

    shortDesc = "#{bindings." PrestacionEmpleado_TransaccionIngreso.hints.FechaNomina.tooltip}.

    ID = "it5" contentStyle = "" text-align: center; "readOnly ="true">"

    < f: validator binding="#{row.bindings.FechaNomina.validator}"/ >

    < af:convertDateTime pattern = "#{bindings." PrestacionEmpleado_TransaccionIngreso.hints.FechaNomina.format}"/ >

    < / af:inputText >

    < / af:column >

    "< af:column id ="c1"headerText =" "width ="50"align ="center">"

    < af:link actionListener = "#{bindings." DeleteIngreso.execute}.

    styleClass = "tableInfoLink glyphicons circle_minus".

    Disabled = "#{!}" bindings. DeleteIngreso.enabled}"id ="l1"immediate ="true"/ >

    < / af:column >

    < / af:table >

    Any suggestions?

    Thanks in advance.

    OK Timo.

    Now it works after following the examples you have posted. I just removed the partial ownership of trigger on this column and now works.

    Thanks for your help.

  • How to select all the records that have the difference of two dates of greater than a value

    Hi all

    I have a table as below:

    ID creation_date Modify_date

    --                -------------                                                            -----------

    1 10:11:07.243000000 JANUARY 7, 14 H 10:16:16.865000000 7 JANUARY 14 H

    2 13 JANUARY 14 12:07:27.603000000'M 12:08:09.955000000 13 JANUARY 14: 00

    I want to select all the IDs that is difference of Modify_date and creation_date is greater than 5 minutes.

    Please suggest how to achieve this goal, oracle database.

    TIA,

    Bob

    Select *.

    from table_name

    where (Modify_date - creation_date) * 1440 > = 5


    for timestamp:

    Select *.

    from table_name

    where extract (minute (Modify_date - creation_date)) > = 5



    -----

    Ramin Hashimzade

  • Select all values in Column1 and Column2 in Column1 without updating.

    Hi all

    I want to do the following in the coding:

    There are two columns C1 and C2 in the following table PLEI.

    TABLE: PLEI.

    C1 C2
    10011005
    10071009
    10291038
    10751056
    10971076

    I want to do a select statement where I can select the two columns (c1 and C2) to the title of the column 1 (C1), but not to date in column C1.

    Select C1 from PLEI where C1 = (select column C2);

    Desired output: she must select all columns C1 and C2 under the column C1. But it is not updated in Table PLEI.

    Only when I run the Select statement, I want to select all C1 and C2 values under the column C1.

    How can I do this?

    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production

    Is Oracle Designer 6i.


    Thank you.

    Select c1 from PLEI

    Union of all the

    Select c2 of PLEI

    order by 1

    /

  • In the form of NO_DATA_FOUND by selecting all the lines.

    Hi all

    I asked Express 4.1.1.00.23 running on a database of Oracle 10 g Enterprise Edition Release 10.2.0.4.0 - 64 bit.

    I have a report with a tabular form that was created using APEX_ITEM.checkbox (G_F01) and APEX_ITEM.text (G_F02).

    To make it more user-friendly, I added a check box in the header of the column of the box which the user can use to select all lines.

    This example uses jQuery to check/uncheck all boxes in the rows and toggle the text boxes in the lines. I use the class to do this.

    My JS code looks like this.

          $('.HwSelectChkBox').attr('checked', 'checked');
          $('.txtNewHWName').removeAttr('disabled');
    

    Check/uncheck the checkbox is going very well but the toggle to the text boxes seems to have some display problems. It is a minor inconvenience, but the real problem is something else.

    When the process that is running on page - submit loops through all selected lines, I found the code generates a NO_DATA_FOUND error at the entrance to the loop ONLY if all rows are selected.

    It's really weird. Let me give you an example of the code.

    DECLARE
    -- declarations
    BEGIN
    
    
       FOR i IN 1 .. APEX_APPLICATION.G_F01.COUNT
       LOOP
         
          BEGIN
                -- NO_DATA_FOUND error here
                -- NO SELECT STATEMENTS OR ANYTHING
    

    It's confusing because there is no select statement or whatever it is here! There is only a function call and I checked using DBMS_UTILITY. FORMAT_ERROR_BACKTRACE that the error is indeed after the inner BEGIN.

    This code works perfectly well when all lines are not selected.

    Tried to search the internet a lot. But can't find anything.

    Can anyone provide guidance? I can give more information if necessary.

    Aalami

    It might be interesting to use prop instead of .attr and see if that helps. There are differences between attr and prop usage and properties on elements such as a checkbox, as can be read in the documentation for jquery .attr both prop and extension attributes:

    . prop() | jQuery API Documentation

    $('.HwSelectChkBox').prop('checked', true);
    $('.txtNewHWName').prop('disabled', false);
    

    By extension, if you try this, I would also like to change this

    document.getElementById(vTxtID).disabled = false;
    

    TO

    $('#'+vTxtID).prop('disabled', false)
    

    (and for real, too, of course)

    (you could probably shorten this code something like

    $('#'+vTxtID).prop('disabled', !$(pCheckBox).prop('checked'));
    

    )

    Making a few guess here, of course - but worth a try. I have not even at hand an IE8 - it's turns off (slowly, finally).

  • I cannot click on the checkboxes of the fields I want to reset the reset form action.  It is only allowing to select all and deselect all.

    I cannot click on checkboxes to the fields I want to reset the reset form action (properties).  It is only allowing to select all and deselect all.  With the help of Acrobat 8 XI-Pro/windows.  When I try to deselect them only one field, it does not uncheck.  This is no longer an option?

    Click on a little out of the center of the box, or use the space bar.

  • How to create a parameterized report - select "- ALL -" for the Department and manager does not.

    I downloaded the app OEHR sample of objects and followed the steps in Oracle® Application Express Advanced Tutorials
    Version 3.2.

    The report and the settings seem to work fine except when I get 'everything' for service or manager I get no corresponding success.

    What is the way most effective to get 'everything' if the user selects all for dept and mgr - so we would like to return all records in the table.

    Snipprt region

    Enter search Edit   
    Edit
    Edit
    Edit

    Here is the sql code that was provided as part of the turitoral.

    SELECT

    'OEHR_EMPLOYEES '. "" EMPLOYE_ID ""EMPLOYE_ID"

    'OEHR_EMPLOYEES '. "" NAME ""FIRST NAME",

    'OEHR_EMPLOYEES '. "" LAST_NAME ""NAME,"

    'OEHR_EMPLOYEES '. "" ""E-MAIL. "

    'OEHR_EMPLOYEES '. "' PHONE_NUMBER '"PHONE_NUMBER. "

    'OEHR_EMPLOYEES '. "' HIRE_DATE ' 'HIRE_DATE ',.

    'OEHR_EMPLOYEES '. "" JOB_ID ' "JOB_ID,

    'OEHR_EMPLOYEES '. "" TREATMENT ""TREATMENT. "

    'OEHR_EMPLOYEES '. "" COMMISSION_PCT ""COMMISSION_PCT. "

    'OEHR_EMPLOYEES '. "" MANAGER_ID ""MANAGER_ID. "

    'OEHR_EMPLOYEES '. "" DEPARTMENT_ID ""DEPARTMENT_ID ".

    Of

    "#OWNER # '." OEHR_EMPLOYEES' 'OEHR_EMPLOYEES '.

    WHERE

    (lower (first_name) like '%' | lower(:P1_NAME) |) '%' OR

    Lower (last_name) like '% "| Lower(:P1_NAME) | '%')

    AND department_id = decode(:P1_DEPT,'%null%',department_id,:P1_DEPT)

    AND manager_id = decode(:P1_MGR,'%null%',manager_id,:P1_MGR)

    Hello

    Use this...

    SELECT

    'OEHR_EMPLOYEES '. "" EMPLOYE_ID ""EMPLOYE_ID"

    'OEHR_EMPLOYEES '. "" NAME ""FIRST NAME",

    'OEHR_EMPLOYEES '. "" LAST_NAME ""NAME,"

    'OEHR_EMPLOYEES '. "" ""E-MAIL. "

    'OEHR_EMPLOYEES '. "' PHONE_NUMBER '"PHONE_NUMBER. "

    'OEHR_EMPLOYEES '. "' HIRE_DATE ' 'HIRE_DATE ',.

    'OEHR_EMPLOYEES '. "" JOB_ID ' "JOB_ID,

    'OEHR_EMPLOYEES '. "" TREATMENT ""TREATMENT. "

    'OEHR_EMPLOYEES '. "" COMMISSION_PCT ""COMMISSION_PCT. "

    'OEHR_EMPLOYEES '. "" MANAGER_ID ""MANAGER_ID. "

    'OEHR_EMPLOYEES '. "" DEPARTMENT_ID ""DEPARTMENT_ID ".

    Of

    "#OWNER # '." OEHR_EMPLOYEES' 'OEHR_EMPLOYEES '.

    WHERE

    (: P1_NAME IS NULL OR)

    (: P1_NAME IS NOT NULL AND)

    (

    (lower (first_name) like '%' | lower(:P1_NAME) |) '%') OR

    (lower (last_name) like '%' | lower(:P1_NAME) |) '%')

    )

    )

    ) AND

    (: P1_DEPT IS NULL or department_id =: P1_DEPT) AND

    (: P1_MGR IS NULL or manager_id =: P1_MGR)

  • [CS4] AIPathSuite::SetPathSegments() selects all points

    Hello

    I am desparetly trying to adapt my plugin for AI CS4. It works fine under CS3 & older. But the same code recompiled under CS4 SDK, don't nastly changes in the selection of points in the path. Indeed, the call AIPathSuite::SetPathSegments() does NOT maintain the existing selection state as he did in CS3 and higher, but still select all THE points on a path partially selected. It is an ABSOLUTE NECESSITY for my plug-in to maintain the existing State of selection for partially selected paths. I tried unsuccessfully to means that I could imagine to turn around this bug, including the record of the selection state before changing the coordinates of the points and after restore. Similarly for the path art attr... Apparently, this is beyond the control of the plus-po HAVE seems to change the selection after my trips plus-dans routines.

    FWIW, my plugin does not use LiveEffet because it makes no sense for the plug-in. I develop on Mac OS X, but I guess that it would give the same results under Windows.

    Need help please, I am deperate.

    Too many customers are angry because I can't provide an update for CS4

    TIA

    I guess that's a filter? In my view, selects automatically that nothing touched when a filter is running. I thought he did always frankly.

    If you need to maintain the selection, I would try to add a step to your strategy of 'save & restore '. Illustrator will beat you selection, you can't win this fight. So just let it go and THEN restore your previous selection. I believe you can get that the use of a timer. Create a timer with a length of zero and I think it fires after that Illustrator is over. You can create and market when you have finished your filter, then turn it off as soon as you catch it, actually making it a one-shot timer. When you catch the timer, you restore you selection at this time here and I hope that you have bypassed the Illustrator trying to 'help' you. Why this is not an option on the filter that I'll never know.

    I used this technique before to solve simillar problems, so I think it will help here. In any case, good luck

  • Select all objects

    Hello

    Is there a view or a Table that makes us select all database objects, including the Tablespace segments...?

    Thank you

    TABLESPACE and SEGMENTS are not considered as 'OBJECT' in Oracle.

    In Oracle, the term object refers specifically to TABLE/INDEX/PROCEDURES etc...

    SYS@adxdev>select distinct object_type from dba_objects;
    OBJECT_TYPE
    -------------------
    INDEX
    JOB CLASS
    CONTEXT
    TABLE SUBPARTITION
    TYPE BODY
    INDEXTYPE
    PROCEDURE
    RESOURCE PLAN
    RULE
    JAVA CLASS
    SCHEDULE
    TABLE PARTITION
    WINDOW
    WINDOW GROUP
    JAVA RESOURCE
    INDEX SUBPARTITION
    TABLE
    TYPE
    VIEW
    LIBRARY
    FUNCTION
    TRIGGER
    PROGRAM
    MATERIALIZED VIEW
    DATABASE LINK
    CLUSTER
    SYNONYM
    PACKAGE BODY
    QUEUE
    CONSUMER GROUP
    EVALUATION CONTEXT
    RULE SET
    DIRECTORY
    UNDEFINED
    OPERATOR
    JAVA DATA
    SEQUENCE
    LOB
    PACKAGE
    JOB
    INDEX PARTITION
    LOB PARTITION
    LOB SUBPARTITION
    
    43 rows selected.
    
  • How to select all the other files in a folder?

    I have the folder with 1200 jpg - each 1 a 24 fps movie image. I want to select other images to import in my animation program manager (so my film output will be 12 fps)

    How easily - without having to buy an app - select all OTHER files in the folder?

    (for example some thing help Automator/rename? idk...)

    TIA!

    The Finder, choose utilities go to menu, open the Script Editor and run a script such as:

    Tell application "Finder".

    timeout to 600 seconds

    Set the_files to {}

    Repeat with this_file 1 (count files of the window 1) by 2

    Set the the_files the_files & (this_file window 1 as an alias of the file)

    end repeat

    Select the_files

    end time-out

    tell the end

    (144637)

  • Select all the messages and support those want to register without selecting him coming all out

    Another email I was able to select all and then click ones I wanted there without taking off select them highlighted. If I do this with Mozilla, we highlight the rest. I have over 3,000 and the need to delete without having to move the others I want to left. How can I do this?

    CTRL + A = select ALL.
    Shift + click = Select all between clicks.
    CTRL preserves the State and allows clicking on selected to deselect and vice versa.

  • How do I "Select all" emails in a folder for deletion?

    How do I "Select all" emails in a folder for deletion? I used to be able to do it in an older version of Thunderbird, but does not occur in the new version I installed on a new computer. I don't want to have to hold down the CTRL key while I click on each email.

    Standard GUI keystroke: Ctrl + a

Maybe you are looking for