Buffer and relate with the single table

I have a table with a geometry column representative plot information with the shape of the plot. I need to write a query that will select 1 or more packages in this table based on the ID of the plot, but also select all parcels less than 300 feet of those selected.

So just now, I have something like this example to select plots according to their ID:

SELECT PARCEL_DATA. ADDRESS,
PARCEL_DATA. CITY,
PARCEL_DATA. STATE,
PARCEL_DATA. ZIP,
PARCEL_DATA. AFN
OF PARCEL_DATA
WHERE PARCEL_DATA. AFN IN ('6465 ', ' 4654');

I don't know where to go here to select also the plots of less than 300 feet from each of these 2 that are already selected. I tried various queries by using SDO_BUFFER and SDO_RELATE, but nothing has worked. Any help would be appreciated.

The below query works, but only for a digital CAMERA. If I add several APNs to AFN (...), I get the error "ORA-01427: einreihig subquery returns more than one line. I need to work for many, not one. Any ideas?

SELECT PARCEL_DATA. ADDRESS,
PARCEL_DATA. CITY,
PARCEL_DATA. STATE,
PARCEL_DATA. ZIP,
PARCEL_DATA. AFN
OF PARCEL_DATA
WHERE SDO_RELATE (PARCEL_DATA. FORM,
(SELECT SDO_GEOM. SDO_BUFFER (300, 1 FORM)
OF PARCEL_DATA
WHERE APN IN ('6465')),
"mask = anyinteract") = "TRUE";

Edited by: Guddie on April 15, 2010 09:00

1) hold with SDO_RELATE/SDO_BUFFER:

SELECT A.ADDRESS,
A.CITY,
A.STATE,
A.ZIP,
A.APN
OF PARCEL_DATA A, PARCEL_DATA B
WHERE SDO_RELATE (A.SHAPE, SDO_GEOM. SDO_BUFFER (B.SHAPE, 300, 1)
"(masque = anyinteract') = 'TRUE' AND B.APN IN ('6465 ', ' 4654');"

(2) reserved for the SDO_WITHIN_DISTANCE:

SELECT A.ADDRESS,
A.CITY,
A.STATE,
A.ZIP,
A.APN
OF PARCEL_DATA A, PARCEL_DATA B
WHERE SDO_WITHIN_DISTANCE (A.SHAPE, B.SHAPE, 'distance = 300') = 'TRUE' AND
B.APN IN ('6465 ', ' 4654');

Published by: you on April 15, 2010 12:21

Tags: Database

Similar Questions

  • Related to images of a table showing visted and play with the whole table

    Help please.

    I've never had this happen in another version of dreamweaver.  Using dreamweaver CC now.

    I have an image created in photoshop. cut into slices. load the HTML and images in dreamweaver.  Dreamweaver then creates a table.  If I download just as, the site looks good.  Once I choose a slice of the image, create a link to it and then to download the site, there is a purple border around the image so ruin my entire table.  The site shows the breaks between each slice of the image.

    Thank you

    The only real advice I can give, which will help you in the long run, would be to take some time to learn at least the basics of html and css. How to Photoshop to do will almost always blow your site to pieces as soon as you start editing content around. To create professional sites with DW, you need to understand HTML and CSS (and to a lesser extent, javascript). However, without a solid understanding of HTML and CSS little issues like the problem of border IE can become huge problems.

    There are tons of places online to get tutorials on that, personally, I like the following links for the basics...

    HTML: http://w3schools.com/html

    CSS: http://w3schools.com/css

    Once you understand what is happening behind the scenes of DW, it is much easier to work with the program. Once you understand how to work with code, the program gives you, you can let Photoshop do the work, that it was designed for, image manipulation.

  • Try to get a collection of frames of texts related with the second table in my document

    Hi all

    There are two long tables in my document, and I want to do is to get the collection of blocks of text that contain the second table to resize (single height),

    and set the number of columns to 3 columns and column gutter to 0, but I am unable to get the collection of blocks of text that contains the second table.

    I also want to apply a different master page to the pages that contain the second table.

    I know that I can change my number of columns and the gutter using script below, but the thing is I don't want the script to assign my first table,

    and I can not also put the tables in separate the file because there are cross-references.

    Script to change the gutter and the number of columns

    app.findObjectPreferences.textColumnCount = 1;

    app.changeObjectPreferences.textColumnCount = 3;

    App.Documents.Item (0) .changeObject ();

    app.findObjectPreferences.textColumnGutter! = 0 ;

    app.changeObjectPreferences.textColumnGutter = 0;

    App.Documents.Item (0) .changeObject ();

    I'm new to javascript and I searched for solutions for several days, but still can not find how to get it work.

    Any input will be appreciated!

    V

    I think that's what you want.

    var doc, secondTable, secondTableTextCotainers = [], ps, firstFrame, lastFrame, nextFrame;
    doc = app.properties.activeDocument;
    if (!doc) {
        alert("Jerk");
        exit();
    };
    app.findTextPreferences = null;
    app.findTextPreferences.findWhat = "\x16";
    var tables = doc.findText(false);
    if (tables.length > 1) secondTable = tables[1];
    else exit();
    lastFrame = secondTable.parent.insertionPoints[secondTable.index + 1].parentTextFrames[0];
    firstFrame = secondTable.parentTextFrames[0];
    secondTableTextCotainers.push(firstFrame);
    if (lastFrame != firstFrame) {
        nextFrame = firstFrame;
        while (nextFrame = nextFrame.nextTextFrame) {
            secondTableTextCotainers.push(nextFrame);
            if (nextFrame == lastFrame) break;
        }
    }
    var l = secondTableTextCotainers.length;
    // You might want to change this line
    while (l--) secondTableTextCotainers[l].fillColor = "Yellow";
    
  • DM 4.0.0.833 and synchronization with the data-> TABLES DROP dictionary

    Hello

    I have a DataModeler physics implemented in Oracle database, I drop a table of data in DM maker 4.0.0.833.

    The database with the data dictionary synchronization and does not detect that you have deleted a table.


    Is this a bug? Or am I something wrong?


    Thank you

    Please mark the thread as answered if answer has helped you to solve the problem.

    Thank you

  • Service Pack does not have changes to restore it then shuts off and restarts with the same message over and over again.

    Help!  I have an apple mac with windows alongside mac system.  I the have not used for a while and when I logged in the windows system advised me to update to IE 9.  To do this, I had to install Service Pack 2 I did.  He then restarted but cannot install and came up with the following: Service Pack does not have changes to restore it then shuts off and restarts with the same message over and over again.  I don't know what to do to reopen and to reinstall the Service Pack.

    Hello

    This article explains how to troubleshoot problems when you install a service pack for Windows Vista or Windows Server 2008.

    http://support.Microsoft.com/kb/947366

    Use this forum link for all questions related to Windows Vista SP1, Windows Vista SP2 and Windows Server 2008 SP2 below.

    http://social.technet.Microsoft.com/forums/en/itprovistasp/threads

    or repost in the Windows Update forum link below

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-windows_update?page=1&tab=all

  • Can I use creative cloud on 2 computers (Mac and Windows) with a single license?

    Hello

    I have an individual license of creative cloud. Can I use creative cloud on 2 computers (Mac and Windows) with a single license?

    Yes, your single-user license allows unlimited installations (but limited to, at most, two concurrent connections and you can use only one at a time).

    Just install the application of cc desktop on any computer that you want to use with your subscription to the cc, Download Adobe Creative Cloud apps | CC free trial Adobe

  • ORA-39060: one or more tables has declined due to conflicts with the main table

    Dear all,

    Currently, I have problems, I try to import the entire schema

    bash - $3.2

    bash - $3.2 impdp dumpfile = PRODDUMP BALL/BALL_BALL@BALL. DMP DIRECTORY = DUMP_DIR FULL = Y LOGFILE = IMP Log REMAP_SCHEMA = BALL: BALL REMAP_TABLESPACE = BALLDATA:BALLDATA

    Import: Release 11.2.0.3.0 - Production the my Sep 30 15:28:08 2013

    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

    Connected to: Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    With partitioning, Automatic Storage Management, Oracle Label Security, OLAP,.

    Options of Data Mining and Real Application Testing

    ORA-39060: one or more tables has declined due to conflicts with the main table

    UDI-31626: operation there was error ORACLE 31626

    ORA-31626: there is no job

    ORA-39086: cannot retrieve information about jobs

    ORA-06512: at "SYS." DBMS_DATAPUMP', line 3326

    ORA-06512: at "SYS." DBMS_DATAPUMP', line 4551

    ORA-06512: at line 1

    Any solution please

    Hello

    You can use the view:DBA_DATAPUMP_JOBS

    then use the table as drop statements

    drop table . purge;

    HTH

  • Can I customize the size of the field on a field of choice.  I want to get 10 everywhere and even with the label 1, 2, 3, etc.

    Can I customize the size of the field on the unique choice fields.  I want to get 10 everywhere and even with the label being small, i.e. 1, 2, 3, etc. I can't get to fit on a single line.

    Hi restorechiropractic,

    You can resize a single choice form field by dragging the right side of the form field item. However, even by doing this I was able to get eight choices by line. I don't think that there is no way to work around the limitation of the size of the form.

    Please let us know if you have any additional questions.

    Best,

    Sara

  • How the parameter of the procedure with the default table type?

    Hello!

    How the parameter of the procedure with the default table type?
    For example:
    type varchar2lType is table of varchar2(50) index by binary_integer;
    create or replace procedure test1
       (
        s1  varchar2(50)
        sa2 Varchar2Type
       )
    as
    begin
       dbms_output.put_line('yyxxyyy!');
    end;
    /
    Published by: bullbil on 16.01.2012 06:35

    If he should really be an associative array for some reason any (can't think why, but just for fun...) you could declare a dummy array in the packet header and specify as the default:

    create or replace package wr_test
    as
       type varchar2ltype is table of varchar2(50) index by pls_integer;
       g_dflt_varchar2l_tab varchar2ltype;
    
       procedure testit
          ( p_testarray varchar2ltype default g_dflt_varchar2l_tab );
    end wr_test;
    
    create or replace package body wr_test
    as
       procedure testit
          ( p_testarray varchar2ltype default g_dflt_varchar2l_tab )
       is
       begin
          dbms_output.put_line('p_testarray contains ' || p_testarray.count || ' elements');
       end testit;
    
    end wr_test;
    

    It is a bit of a hack, because it relies on a global variable that is exposed. A more orderly approach would overload the procedure so that a version does not have the table and another argument:

    create or replace package wr_test
    as
       type varchar2ltype is table of varchar2(50) index by pls_integer;
    
       procedure testit;
    
       procedure testit
          ( p_testarray varchar2ltype );
    
    end wr_test;
    
    create or replace package body wr_test
    as
    
       procedure testit
       is
          v_default_array varchar2ltype;
       begin
          testit(v_default_array);
       end testit;
    
       procedure testit
          ( p_testarray varchar2ltype )
       is
       begin
          dbms_output.put_line('p_testarray contains ' || p_testarray.count || ' elements');
       end testit;
    
    end wr_test;
    
  • Nested tables will not align with the primary table


    Hi all. Looks like I am facing another obstacle focus on the table. While I was creating one of my pages, I used nested tables to create a column on the left side of the page that will contain my menu secondary, while the other column will hold a flash element and the content of the page.

    Although I have inserted tables nested with a spacing of the cell '0' and '0' cell padding and Visual AIDS seem to indicate that the values in the nested table are identical with the primary table who is the holder, the nested table that will contain the film and the page content is not embedded with the table above. It seems to be off by 1-2 pixels or more, but since there will be a right on the image under the menu is quite obvious.

    I enclose the code for your information (line 165, 166).

    Thank you for your time and your suggestions. I really appreciate it.

    Saturday, September 16, 2006 15:06:50 + 0000 (UTC), "HTML-Newbie.
    wrote:

    > Discover the link http://www.fastventures.com/dev/test_temp_2col.html and you
    > see the picture under the main menu align with her on the
    > right side.

    Change this:




    To do this:

    <>
    SRC = "img/place_second.jpg" width = "572" height = "200" > "

    align = "right" >

    <>
    SRC = "img/place_second.jpg" width = "572" height = "200" > "

    Gary

  • Satellite A100-225 keeps freezing and crashing with the new HARD drive

    Hi all

    I have a Satellite A100-225 with a 100 GB SATA Hitachi drive I int it that recently started showing bad sectors. Then I bought a Hitachi 320 GB SATA II drive to replace it. I tried the drive and it was recognized right away, so I didn't need to change the SATA speed. I ran the restore a disk installed newest. The problem I have is that the computer keeps freezing and crashing with the new drive. It takes a lot of time to load up when turned on and there is a noticeable to untermittant delay when you drag the cards around solo.

    I tried to run the Hitachi drive test and it comes back fine. I also tried to turn the SATA speed of the drive down from 300 to 150 via the firmware, and although I saw a slight improvement, it is still not right.

    I talked to Hitachi and they say that he could not be 100% compatible, so the problems. Someone at - it else sucessfully set up a replacement for this notebook drive and if so what make and model. Has anyone else had simular problems?

    Thank you

    Years ago, I've updated yet more former Satellite M70 with SATA HDD (270 GB if I m remembering well) and everything was fine.
    In my view upgrade with SATA HDD normal shouldn't be a problem. Do not SATA II because it will not work faster.

    I can't say for sure, but there must be a compatibility problem.

    Let's see if someone else had better luck with the upgrade of the disk on the Satellite A100.

    Have you checked this forum with advanced search option? Maybe you can find some old NET on upgrade the HDD on A100.

  • I've updated VIA / S3G UniChrome IGP plug-and-play reverse, but the update still no resolution 1600 x 1200 with the exception and others with the same ratio of 4 x 3.

    I've updated VIA / S3G UniChrome IGP plug-and-play reverse, but the update still no resolution 1600 x 1200 with the exception and others with the same ratio of 4 x 3. That did not help.

    Hello

    1. What version of Windows are you using?
    2. What is the brand and model of the computer?

    I suggest to run the patch from the following link and check the status of the issue.

    Hardware devices do not work or are not detected in Windows.

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    If the problem persists, I suggest you to send us more information to help you better.

  • Files and folders with the same name

    I am trying to unzip some files and folders and it works fine on my computer with Windows XP. However, when you use Windows Vista I can't because there are folders and files with the same name. After an internet search, it seems that the only suggestion is to extract the files in separate folders which then would allow them to keep the same name. The problem is I want what they in the same folder and they need to have the names they have.

    NOTE: I do have two files with the same name in the same folder, I have a folder and a file with the same name. I would have thought that this would be acceptable because they are two things separate, and given that it's great under XP.

    All solutions?

    You are right, if I make a file and a text file with the same name, it works fine. However, when I try to extract the files I need it tells me that there is already a file with the same name as the folder. He goes to tell me to choose a new name but my only options are 'try again', 'jump' or 'Cancel '.

    I think I can understand what the problem is. For some reason when you download the zip file, the computer seems to have added a few files side with any format other than "file." It is those who have the same name as the folders as if they were, and they could not be uncompressed because of this. I have no idea whence they came as they appear from nowhere (compared to my XP). I'm trying now unzip the files separately and exclude the strange s 'file '.

    Thanks for your help though!

  • I'm administrator, but do messages telling me that what I want to do is forbidden by the administrator and verify with the system administrator

    original title: administrator problem

    I am the administrator with a password (in fact the only user of my computor) but continue to receive messages telling me that what I want to do is forbidden by the administrator and verify with the system administrator. How to work around this problem? My os is Vista Home Premium.This happens more frequently when I try to remove a program

    According to what "program", you tried to 'delete '.

    If one of these programs to the system, you will get the message.

    If it's one of those programs that you have installed from the web, try one of these programs to "Uninstall" part 3:

    Revo Uninstaller 1.91
    http://download.CNET.com/Revo-Uninstaller/3000-2096_4-10687648.HTML?tag=mncol

    IObit Uninstaller 1.1
    http://download.CNET.com/advanced-uninstaller-free/3000-2096_4-75157230.HTML?tag=mncol

    Advanced Uninstaller Free 10.1.1
    http://download.CNET.com/Revo-Uninstaller/3000-2096_4-10687648.HTML?tag=mncol

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Copy and scan with the Officejet Pro 8100

    Can I scan and copy with the Officejet pro 8100?   If Yes, how, is not in the manual.

    LON

    The Officejet Pro 8100 is a printer only, it is not a multifunction device.

    You can find the specifications below:

    http://WWW8.HP.com/us/en/products/printers/product-detail.html?OID=4323241&JumpID=oc_r1002_usen_c-001_r0002

Maybe you are looking for

  • Micromedex does not load. It loads in internet explore.

    It is on the page I receive. Cookies and cache have been cleared. < title > Truven health products: < /title > system status We have temporary problems with this server. Our directors have been contacted. Please try again in a few minutes, and I than

  • Satellite M40: USB Audio does not work properly in ACPI mode

    Hi allI just bought a laptop Satellite M40 whose purpose is to be used as a portable audio system.For this, the USB audio devices are an excellent solution. Unfortunately, although it was working properly when recording (sound is perfect with all dev

  • Jackhammers outside my apartment... How to protect my iMac?

    I have iMac (2009) 19 "I work at home and I use every day.  The 10-20 ft of my iMac concrete balcony will be soon demolished by the jackhammers. 1. how dangerous is this vibration on my Mac? 2. must enter on the iMac only when the jackhammers are ina

  • Requirement of game

    I use XP and try a game requiring DirectX9 will (shader 2.0) the latest version of DirectX meet what I looking for the game? If this is not the case, how can I get the (old) update for 2.0 shader requirement?

  • Is it possible to sort messages in WLM by more than one field at a time?

    Sort messages in Windows Live Mail As the help "?" button in the desktop app Windows Live Mail is no help whatsoever *, after much research I landed at MS Answers. Hope someone here can answer what I believe is a simple enough question, although well