SDO_AGGR_UNION into new polygon

How can you write the reesult of an sdo_aggr_union into a new record?
Thanks,
Edited by: user6318652 on May 20, 2009 11:35 AM

Sorry,
I'm using the select statement
SELECT mdsys.sdo_aggr_union(sdoaggrtype(geoloc, 0.5)) from my_table where my_area = 'fred';
which returns;
(2003, , , (1, 1003, 1, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ), (4927241.99521007, 3514676.65366773, 4926847.39343902, 3513395.32320204, 4927625.53162728, 3513158.63715876, 4928388.66594592, 3512924.01414755, 4928860.91274226, 3514460.78549355, 4929331.2840549, 3515991.74284008, 4927788.32361268, 3516459.86357228, 4927318.89004189, 3514927.59338716, 4927241.99521007, 3514676.65366773, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ))
I can manually format this and create an insert such as;
Insert into my_SecondTable (GEOLOC) values (SDO_GEOMETRY(2003,NULL,NULL, sdo_elem_info_array(1, 1003, 1), SDO_ORDINATE_ARRAY(4927241.99521007, 3514676.65366773, 4926847.39343902, 3513395.32320204, 4927625.53162728, 3513158.63715876, 4928388.66594592, 3512924.01414755, 4928860.91274226, 3514460.78549355, 4929331.2840549, 3515991.74284008, 4927788.32361268, 3516459.86357228, 4927318.89004189, 3514927.59338716, 4927241.99521007, 3514676.65366773)));
however, there should be a way to simply output the aggr_union results into an insert, but the results are in different formats. I assume there is something I'm missing.

Similar Messages

  • How to copy existing query report into new query report in SQ00

    Hi Experts,
    Hi Experts,
    I want to add fields "company code" "'region" to existing  query report AQZZ/SAPQUERY/FKF1============
    (list of vendor address) for this i done as following:
    1.In SQ01  go to "EDIT->other user group" and i selected user group as /SAPQUERY/FK
    2.I typed F1 in query field and click change button
    3.I clicked next screen button and entered into "change query f1: select fields screen".here i clicked "basic list" button and searched company code checkbox and saved it as result company code is appearing in the standard report"AQZZ/SAPQUERY/FKF1============"
    but unfortunately there is no region field(LFA1-REGIO) for this i think i should copy the existing  query report  into new query report(Ex:Z_LIST_OF_VEND) which should be 14 characters.please tell me briefly how to do this because this is first time i am using SQ00.
    one more issue is when i selected "edit-otheruser group" and choosing /SAPQUERY/FK  i  am getting only infoset "/SAPQUERY/FIKD" but i should need Info set: "/SAPQUERY/FIDD" please tell me how to add the previous one into user group.i think if i got /SAPQUERY/FIDD into usergroup  /SAPQUERY/FK i can add region also into Query report as i mentioned above by going SQ01 ...............................
    please help regarding this which should be very beneficiary to my carrier.
    Regards,
    naresh

    Hi Experts ,
    I solved issue by changing infoset in SQ02 by means of assigning field to field group and changed the query in SQ00.
    Regards,
    naresh.

  • Having changed my computer, how do I upload the ipod touch content into new itunes on new computer.

    Having changed my computer, how do I upload the ipod touch content into new itunes on my new computer? I do not have a backup of the previous itunes library.

    Transfer iTunes purchases by:
    iTunes Store: Transferring purchases from your iPhone, iPad, or iPod to a computer
    Transfer non-itunes purchased music by using one of the third-party programs discussed here:
    new PC: Apple Support Communities

  • Old computer dead, How can I sync my iPhone contents into new computer

    Hi Pro,
    My old computer dead. But my iPhone was synced with it. when I try to sync it with my new computer, it always ask me to allow it erease my iPhone contains. But that is the the only thing I left. all musics, Voice memos etc. are in iPhone. The important is the voice memos, I can loss them.
    How can I copy my contains into new conputer's itune?
    Thank you very much!!

    I solve the problem Used a free software:  SyncIOS
    Thank you!

  • Can't import video from Canon GL-2 into new Macbook Pro

    Can't import video from Canon GL-2 into new Macbook Pro
    Using 9-4 pin cable and then using firewire 800 to thunderbolt adapter.

    Does the MBP see the camera at all?

  • Merge Multiple CSV Files Into One and save it into new file

    Below code run in specific directory. However I'm looking a code which will select the folder  & save it into new sheet.
    Can you help me with this? I've searched for a solution for a long time but could not find anything which worked.
    The following is the start of the macro code
    Sub OpenCSV()
    Dim i As Integer
    ' change this next line to reflect the actual directory
    Const strDir = "C:\Documents and Settings\shekar\"
    Dim ThisWB As Workbook
    Dim wb As Workbook
    Dim ws As Worksheet
    Dim strWS As String
    Set ThisWB = ActiveWorkbook
    Set fs = Application.FileSearch
    With fs
    .LookIn = strDir
    .Filename = "*.csv"
    If .Execute(SortBy:=msoSortByFileName, _
    SortOrder:=msoSortOrderAscending) > 0 Then
    For i = 1 To .FoundFiles.Count
    Set wb = Workbooks.Open(.FoundFiles(i))
    strWS = wb.Sheets(1).Name
    wb.Sheets(1).UsedRange.Copy (ThisWB.Worksheets(strWS).Range("A1"))
    wb.Close False
    Next i
    Else
    MsgBox "There were no files found."
    End If
    End With
    End Sub

    The below will do the.But be careful if any of csv file name is more than 31 then Excel will not allow it to name the sheet with filename.
    Sub OpenCSV()
    Dim i As Integer
    ' change this next line to reflect the actual directory
    Const strDir = "C:\Documents and Settings\shekar\"
    Dim ThisWB As Workbook
    Dim wb As Workbook
    Dim ws As Worksheet
    Dim strWS As String
    Dim sFileName As String
    Set ThisWB = ActiveWorkbook
    With Application.FileDialog(msoFileDialogOpen)
    .InitialFileName = strDir
    .Filters.Clear
    .Filters.Add "CSV Files", "*.csv"
    If .Show Then
    For i = 1 To .SelectedItems.Count
    Set wb = Workbooks.Open(.SelectedItems(i))
    sFileName = .SelectedItems(i)
    Set ws = ThisWB.Worksheets.Add(before:=ThisWB.Worksheets(1))
    ws.Name = ActiveSheet.Name
    wb.Sheets(1).UsedRange.Copy ws.Range("A1")
    wb.Close False
    Next i
    Else
    MsgBox "There were no files found."
    End If
    End With
    End Sub
    Please do not forget to click “Vote as Helpful” if any post helps you and
    Mark as Answer if it solves the issue.

  • Imported old computer via time machine into new 2012 macbook pro, but its still running ilife 09 instead of 11?

    imported old computer via time machine into new 2012 macbook pro, but its still running ilife 09 instead of 11?

    I am assuming you had iLife 09 on the old computer - when you moved everything over, that came along with it.
    I also have older versions of iLife (on install disks) and just recently got a new 2012 Macbook Pro. I noticed that iMovie 11, iPhoto and Garageband (I think) are listed in my Mac App Store Purchases with a notation to "accept". So you might want to check MAS to see if the apps are sitting there.
    Now, I have chosen not to accept them for now for two reasons: I have iLife 11 on a disk and prefer that rather than having it tied to MAS/Apple ID and as long as I have my disk version installed, I also still have iDVD which I use a lot. I'm not sure if "accepting" those three from MAS would wipe out my iLife 11 installs including iDVD (which would be unacceptable for me). So, since I already have the latest version, I've opted to ignore the "accept" and, in fact, will leave it like that - if I ever sell this machine, the buyer can then accept them if they want with their own Apple ID. So before accepting the apps (if they are listed in MAS), you might want to check to make sure that your iLife install isn't wiped out - that is, if you have iDVD and want to keep it.

  • Firefox 5.0 does not open link into new window

    Firefox 5.0 does not open link into new tab. I have a netbook also and tab options work fine, links open into a new window. However on this Dell it does not work. Tab options in Firefox and Google are set right, but don't work that way. Running Windows 7 on Dell, Windows Starter on netbook.

    The Template .dwt file is only used locally by DW itself, there's no reason to upload it to the server unless you intend to share it with someone. You have to upload each individual page that the Template updates, every time you update the template and propagate that change across the child pages.
    It would probably be better to use a server side include. That way, you could update one file then upload it and all of your pages would automatically carry that update...
    SSI for Apache: http://www.javascriptkit.com/howto/ssi.shtml
    PHP's version: http://www.tizag.com/phpT/include.php
    It's especially handy if your site gets to the point where you have more than about 20 pages.

  • Can not drag songs into new playlist

    itunes issue, Unable to drag songs into new playlist folder.
    New itunes 10.4
    has not worked since I installed Lion
    Macpro 2.66 GHZ Quad-Core xeon

    Probably something very simple and might be quicker answered if posted in one of the iTunes forums?
    https://discussions.apple.com/community/itunes
    Regards,
    Colin R.

  • I am having problems importing my Iphoto pics into new Photo programme. I am inporting approx 11,000 pics that all seem fine in Iphoto but the iport rejects around 7,000 of them with incorrect mete data. What can I do to import these?

    I am having problems importing my I photo pics into new Photo programme. I am importing approx 11,000 pics that all seem fine in I photo but the import rejects around 7,000 of them with incorrect mete data. What can I do to import these?

    I have the same problem.
    Thread here: Import fails - "Unable to get metadata"

  • Downloaded firefox into new Asus CPU. But now site formats are all weird

    Downloaded Firefox into new Asus CPU. The format for my home page (hotmail.com), and just about all other sites, is disjointed....even Google. lines of text merge into each other, some sites look like an excel spreadsheet. and other formatting glitches.

    '''bold text'''I followed the instructions:
    1.Type about:config into the location bar and press enter .
    2.Accept the warning message that appears, you will be taken to a list of preferences .
    3.Locate the preference general.useragent.override, right-click on it and choose
    I could not find "general.useragent.override," in the directory.
    The only listings under general.useragent. are general.useragent.compatMode.firefox, general.useragent.extra.asktb,
    general.useragent.extra.microsoftdotnet and general.useragent.locale.
    There is no "general.useragent.override." I have FF 4.0 version.

  • Combine the 3 BW systems Into new BW System

    Hi Frds,
    Thee are 3 BW/BI systems in my company for some years. Now we plan to combine the 3 BW systems into new BI System. for exp we have A, B , C BW systems( each system having BW 3.X And BI7.0 Objects) and each system having diffrent kind of Source ssytems(like R/3, FF, CRM) . Now we want to combine all these 3 (A,B,C) Systems into new One lets say D System.
    So can any body suggest what approach need to take care before proceduring further . Do you have any document/suggestions for this kind of project?
    Very appreciate your inputs
    Regards,
    ali

    integrate diffrent bw systems into new bw system

  • Integrate diffrent bw systems into new bw system

    Hi ,
    Thee are 3 BW/BI systems in my company for some years. Now we plan to combine the 3 BW systems into new BI System. for exp we have A, B , C BW systems( each system having BW 3.X And BI7.0 Objects) and each system having diffrent kind of Source ssytems(like R/3, FF, CRM) . Now we want to combine all these 3 (A,B,C) Systems into new One lets say D System.
    So can any body suggest what approach need to take care before proceduring further . Do you have any document/suggestions for this kind of project?
    Regards,
    Fayaz

    combine the 3 BW systems Into new BW System

  • In my planning application.I have 100 members in account dimensions.Those members are used in 100 forms.suddenly my bussiness was changed.so i want replace those 100 members into new name of 100 memebers.but how i can chnage in 100 forms.how to handle

    In my planning application.I have 100 members in account dimensions.Those members are used in 100 forms.suddenly my business was changed.so i want replace those 100 members into new name of 100 members.but how i can change those 100 members in 100 forms.how to handle this?

    Hi joshi and jharvey,
    Thanks  for you are reply.I am new for this lcm.Can you explain detail.about above problem.I mean in share service i didn't find any export option.I had seen only migration.or share any blog for detail about lcm.

  • All my tabs turned into new tabs all of a sudden.

    Sometimes all of my tabs suddenly turn into new tabs, this happens when I've previously closed the window page and then reopened it. How can I get all my tabs back?

    Do you mean that APP tabs are changed to normal tabs?
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the sessionstore.js [2] file and possible sessionstore-##.js [3] files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    See also:
    *[1] http://kb.mozillazine.org/Session_Restore
    *[2] http://kb.mozillazine.org/sessionstore.js
    *[3] http://kb.mozillazine.org/Multiple_profile_files_created

Maybe you are looking for

  • SSO between ITS and EP

    We are implementing ESS MSS on 4.7 , ITS 4.7 with EP 6.0 Can some one point me as to how to configure the SSO between these various landscapes. I Think we would require SSO between EP and ITS for ESS in MSS services. regards Sam Message was edited by

  • I want to connect my Imac i3 to my HDTV

    How do I connect my HDTV screen to my Imac? I want to watch Netflix on my TV

  • DNS SPF settings to reduce backscatter to catchall...

    I use the mail.btinternet.com outbound server to send messages from [email protected] Spammers are sending messages, spoofing the from address as [email protected] These spam messages bounce back to my catchall account as undeliverable. I want to set

  • How to convert Chinese string to hexdecimal

    Hi everyone, when I search a Chinese String like"šdŽÔ" in google, the url contain "http://www.google.com.hk/search?hl=zh-TW&q=%E5%96%AE%E8%BB%8A&meta=&aq=f&oq=" I want to get this %E5%96%AE%E8%BB%8A.. Can I use the Java program to convert the Chinese

  • Quicktime Quits when Trying to Export

    I am using QT 7.04 Pro, and when I try to use the File | Export function, QT unexpectedly quits. I have tried uninstalling and reinstalling to no avail. This happens on two different machines (a Dell 600m and an E1505) and Windows XP Prop (SP2). Has