Creating an abstract datatype

hi i am facing problem during creating datatpe. EX:
create type address_ty as object (
1 Street VARCHAR2(50),
2 Zip NUMBER ) ;
3
when i wrote those code in SQL promt its not creating any object its giving me line 3 to write something. so i need help how can i create a data type in oracle 8i.

hi
type / and then press enter
chetan

Similar Messages

  • Creating Abstract datatypes from Create Type As Object

    hi.
    I am define new type abstract datatypes as
    create type cust_address_ty as object
    (STREET VARCHAR2(25),
    CITY VARCHAR2(25),
    COUNTRY VARCHAR2(25));
    then insert data into new created table
    when we run sql select command for * from
    following error occured.
    SQL> select * from fml.cust;
    select * from fml.cust
    ERROR at line 1:
    ORA-01024: invalid datatype in OCI call
    what should i do for this.
    please help
    thanks
    Ali

    try to update your sqlnet version.
    regards
    daniel

  • ORA-00904: invalid column name in select query by using abstract datatype

    Hi,
    I had created abstract datatype as PERSON_TY and ADDRESS_TY ,
    after inserting the record . i'm tryng to select the column but i got the error , even i refferd all those thing. they are given that same please look this finde me a result.
    SQL> DESC PERSON_TY
    Name Null? Type
    NAME VARCHAR2(25)
    ADDRESS ADDRESS_TY
    SQL> DESC ADDRESS_TY
    Name Null? Type
    STREET VARCHAR2(30)
    CITY VARCHAR2(25)
    STATE CHAR(2)
    COUNTRY VARCHAR2(15)
    SQL> SELECT * FROM EMPLOYE
    2 ;
    EMP_CODE
    PERSON(NAME, ADDRESS(STREET, CITY, STATE, COUNTRY))
    10
    PERSON_TY('VENKAT', ADDRESS_TY('112: BLUE MOUNT', 'CHENNAI', 'TN', 'INDIA'))
    20
    PERSON_TY('SRINI', ADDRESS_TY('144: GREEN GARDEN', 'THAMBARAM', 'TN', 'INDIA'))
    SQL> SELECT PERSON.NAME FROM EMPLOYE
    2 ;
    SELECT PERSON.NAME FROM EMPLOYE
    ERROR at line 1:
    ORA-00904: invalid column name
    regards
    venki

    SELECT PERSON.NAME FROM EMPLOYEIf you look in the documentation, you will see that we need to alias the table in order to make this work:
    select e.person.name from employees e
    /Cheers, APC
    Blog : http://radiofreetooting.blogspot.com

  • New Effective CAL essay: How do I create an abstract data type in CAL?

      <p><strong>How do I create an abstract data type in CAL?</strong></p>  <p> </p>  <p>An <em>abstract data type</em> is one whose internal representation can be changed without needing to modify the source code of client modules that make use of that type. For software maintainability, it is a good idea to make a type that is subject to change or enhancement into an abstract data type. Another reason to create an abstract data type is to enforce invariants for values of the type that can only be ensured by using <em>constructor functions</em> (i.e. functions that return values of that type).</p>  <p> </p>  <p>In principle it is simple to create an abstract data type in CAL. For an algebraic data type, make the type constructor public and all data constructors private. For a foreign data type, make the type constructor public and the implementation scope private. If a scope qualifier is omitted, the scope is taken to be private.</p>  <p> </p>  <p>For example, the Map algebraic data type has the public type constructor Map and the data constructors Tip and Bin are each private, so it is an abstract data type.</p>  <p> </p>  <p>/** A map from keys (of type {@code k@}) to values</p>  <p>   (of type {@code a@}). */</p>  <p><strong>data</strong> <strong>public</strong> Map k a <strong>=</strong></p>  <p>    <strong>private</strong> Tip <strong>|</strong></p>  <p>    <strong>private</strong> Bin</p>  <p>        size      <strong>::</strong> <strong>!</strong>Int</p>  <p>        key       <strong>::</strong> <strong>!</strong>k</p>  <p>        value     <strong>::</strong> a</p>  <p>        leftMap   <strong>::</strong> <strong>!(</strong>Map k a<strong>)</strong></p>  <p>        rightMap  <strong>::</strong> <strong>!(</strong>Map k a<strong>);</strong></p>  <p><strong> </strong></p>  <p><strong> </strong></p>  <p>There are a number of invariants of this type: the size field represents the number of elements in the map represented by its Bin value. The keys in leftMap are all less than key, which in turn is less than all the keys in rightMap.  In particular, non-empty Map values can only be created if the key parameter type is a member of the Ord type class.</p>  <p> </p>  <p>Values of the Map type can be created outside the Cal.Collections.Map module only by using constructor functions such as insert:</p>  <p> </p>  <p>insert <strong>::</strong> Ord k <strong>=></strong> k <strong>-></strong> a <strong>-></strong> Map k a <strong>-></strong> Map k a<strong>;</strong></p>  <p><strong>public</strong> insert <strong>!</strong>key value <strong>!</strong>map <strong>= ...</strong></p>  <p> </p>  <p>The owner of the Cal.Collections.Map module must ensure that all invariants of the Map type are satisfied, but if this is done, then it will automatically hold for clients using this function.</p>  <p> </p>  <p>Some examples of foreign abstract data types are Color, StringNoCase  and RelativeDate:</p>  <p> </p>  <p><strong>data</strong> <strong>foreign</strong> <strong>unsafe</strong> <strong>import</strong> <strong>jvm</strong> <strong>private</strong> "java.awt.Color"</p>  <p>    <strong>public</strong> Color<strong>;</strong></p>  <p><strong> </strong></p>  <p><strong>data</strong> <strong>foreign</strong> <strong>unsafe</strong> <strong>import</strong> <strong>jvm</strong> <strong>private</strong> "java.lang.String"</p>  <p>    <strong>public</strong> StringNoCase<strong>;</strong></p>  <p><strong> </strong></p>  <p><strong>data</strong> <strong>foreign</strong> <strong>unsafe</strong> <strong>import</strong> <strong>jvm</strong> <strong>private</strong> "int"</p>  <p>    <strong>public</strong> RelativeDate<strong>;</strong></p>  <p> </p>  <p>The private implementation scope for Color means that a foreign function whose type involves Color can only be declared in the Cal.Graphics.Color module where the Color type is defined. A foreign function declaration involving the Color type relies on the compiler knowing that the Color type corresponds to java.awt.Color to resolve the corresponding Java entity i.e. it must know about the implementation of the Color type. Having a private implementation scope means that the Color type can be changed to correspond to a different Java class, or indeed to be an algebraic type, without the risk of breaking client code.</p>  <p> </p>  <p>In all these three cases there are useful, and different, design reasons to adopt a private implementation scope:</p>  <p> </p>  <p>For RelativeDate, the Java implementation type int represents a coded Gregorian date value in the date scheme used by Crystal Reports. Not all int values correspond to valid dates, and the algorithm to map an int to a year/month/day equivalent is fairly complicated, taking into account things like Gregorian calendar reform. Thus, it is desirable to hide the implementation of this type.</p>  <p> </p>  <p>For StringNoCase, the implementation is more straightforward as a java.lang.String. The reason to adopt a private implementation scope is to ensure that all functions involving StringNoCase preserve the semantics of StringNoCase as representing a case-insensitive string value. Otherwise it is very easy for clients to declare a function such as:</p>  <p> </p>  <p><strong>foreign</strong> <strong>unsafe</strong> <strong>import</strong> <strong>jvm</strong> "method replace"</p>  <p>    replaceChar <strong>::</strong> StringNoCase <strong>-></strong> Char <strong>-></strong> Char <strong>-></strong> StringNoCase<strong>;</strong></p>  <p> </p>  <p>which does not handle case-insensitivity correctly, but is a perfectly valid declaration. This declaration results in a compilation error when it is placed outside the module in which StringNoCase is defined because of the private implementation scope of StringNoCase.</p>  <p> </p>  <p>For Color, the issue is somewhat more subtle. The java.awt.Color implementation type is semantically the same as the CAL Color type. The problem is that java.awt.Color is mutable (since it can be sub-classed to create a mutable type). It is preferable for a first-class CAL type to not be mutable, so we simply make the implementation scope private to ensure that this will be the case. </p>  <p> </p>  <p>A somewhat less encapsulated kind of abstract data type can be created using <em>friend modules </em>and <em>protected</em> scope. For example, if an algebraic type is public, and all its data constructors are protected, then the data constructors can be accessed in the friend modules of the module in which the type is defined. Effectively this means that the implementation of the semantics of the type stretches over the module in which the type is defined, and all of its friend modules. These must all be checked if the implementation of the type is modified. </p>  <p> </p>  <p>Given the merits of abstract data types discussed above, it is perhaps surprising that most of the core types defined in the Prelude module are not abstract data types. For example: Boolean, Char, Int, Double, String, List, Maybe, Either, Ordering, JObject, JList, and all record and tuple types are non-abstract types. </p>  <p> </p>  <p>There are different reasons for this, depending on the particular type involved. </p>  <p> </p>  <p>For example, Boolean, List, Maybe, Either and Ordering are all rather canonical algebraic data types with a long history in functional languages, with many standard functions using them. They are thus guaranteed never to change. In addition, their values have no particular design invariants that need to be enforced via constructor functions. Exposing the data constructors gives clients some additional syntactic flexibility in using values of the type. For example, they can pattern match on the values using case expressions or let patterns.</p>  <p> </p>  <p>Essentially the same explanation holds for record and tuple types. Although non-tuple record types are less canonical, they do correspond to the fundamental notion of an anonymous named-field product type. The "anonymous" here simply means that the programmer can create an entirely new record type simply by creating a value; the type does not have to be declared anywhere prior to use.</p>  <p> </p>  <p>Char, Int, Double, String, JObject and JList are foreign types where in fact part of the semantics of the type is that we want clients to know that the type is a foreign type. For example, we want clients to know that Prelude.Int is essentially the Java primitive unboxed int type, and has all the semantics you would expect of the Java int type i.e. this is quite different from RelativeDate which is using int as its implementation type in a very tactical way that we may choose to change. One can think of a public foreign type declaration with public implementation scope as simply introducing the Java type into the CAL namespace.</p>  <p> </p>  <p>One interesting point here is with CAL&#39;s naming convention for public foreign types. We prefix a type name by "J" (for "Java") for foreign types with public implementation type such that the underlying Java type is mutable. This is intended as mnemonic that the type is not a pure functional type and thus some caution needs to be taken when using it. For example, Prelude.JObject has public Java implementation type java.lang.Object.</p>  <p> </p>  <p>In the case where the underlying Java type is not mutable, we do not use the prefix, since even though the type is foreign; it is basically a first class functional type and can be freely used without concern. For example, Prelude.String has public Java implementation type java.lang.String.</p>  <p> </p>  <p>In the case where the implementation type is private, then the fact that the type is a foreign type, whether mutable or not, is an implementation detail and we do not hint at that detail via the name. Thus Color.Color has as its private Java implementation type the mutable Java type java.awt.Color. </p>  <p> </p>  <p>When creating abstract data types it is important to not inadvertently supply public API functions that conflict with the desired public semantics of the type. For example, if the type is publicly a pure-functional (i.e. immutable) type such as Color, it is important not to expose functions that mutate the internal Java representation.</p>  <p> </p>  <p>A more subtle case of inadvertently exposing the implementation of a type can occur with derived instances. For example, deriving the Prelude.Outputable and Prelude.Inputable type classes on a foreign type, whose implementation type is a mutable Java reference type, allows the client to gain access to the underlying Java value and mutate it
    (by calling Prelude.output, mutating, and then calling Prelude.input). The solution in this case is to not derive Inputable and Outputable instances, but rather to define a custom Inputable and Outputable instance that copies the underlying values.</p>

    Hi Pandra801,
    When you create a the external content type, please try to add a filter based on your select statement.
    http://arsalkhatri.wordpress.com/2012/01/07/external-list-with-bcs-search-filters-finders/
    Or, try to create a stored procedure based on your select statement, then create ECT using the SQL stored procedure.
    A step by step guide in designing BCS entities by using a SQL stored procedure
    http://blogs.msdn.com/b/sharepointdev/archive/2011/02/10/173-a-step-by-step-guide-in-designing-bcs-entities-by-using-a-sql-stored-procedure.aspx
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Error while creating arrayllist of datatype integer in java1.6

    hello... i had a problem while creating arraylist of type integer and float ext.. except String in java1.6.. i can create of type string..its working... and in java1.5 i can create integer type arraylist... is it possible to create arraylist of datatype integer in java1.6?... reply asap

    sugan wrote:
    hello... i had a problem while creating arraylist of type integer and float ext.. except String in java1.6.. i can create of type string..its working... and in java1.5 i can create integer type arraylist... is it possible to create arraylist of datatype integer in java1.6?... reply asap
    Be back in a few hours.

  • No instances can be created from abstract classes

    Dear SAPGurus,
    I have developed a oData Service in my backend system & able to register the service in the gateway hub system. When i try to execute the metadata of the service from gateway system i am able to see the metadata with list of entity types availble in the data model.
    But when i try to execute with entity set i am getting the following error.
    "The class 'ZCL_ZGRC_DATA_MODEL_DPC' is abstract. No instances can be created from abstract classes."
    Where my data model provider class name is  'ZCL_ZGRC_DATA_MODEL_DPC'
    Kindly help me.
    Thanks & Regards,
    Rumeshbabu S

    Hello Rumesh,
    I do not think the error which u are getting is because of System Alias setting in SPRO.
    Its something else which is really strange.
    However the below is the setting to be maintained in GW SPRO system alias when u have a environment setup like u have now.
    I mean the way u have created service and registered -
    In ECC system u have created service using builder.
    In GW system u have registered it and trying to access now via an RFC destination.
    We have the same setup like u have now and we do not have any issues. We have also maintained the System Alias like i have shared in screen shot.
    Check your System Alias config once in SPRO. But i dont think this is causing problem in your case. Still check once.
    As per my understanding, from GW its trying to hit the DPC class and hence i feel system alias setting is correct in your case.
    Problem is something else which is really strange.
    Check error logs and see if it can. Share the error log please.
    Regards,
    Ashwin

  • Object type v  abstract datatype

    Hi Experts,
    I am working on find data replication software.
    could you explain that object type equal to abstract datatype? or they are belong to catalog?
    Thanks
    Jim

    32 bit 10.2.0.4 at OS as 32 bit 2003 window server SP2 and
    64 bit 10.2.0.4 at red hat 5.3 linux.
    both database with same structure and data.
    Thanks
    Jim

  • How can take a Custom Data Type in TestStand and create a LabVIEW DataType?

    I am using LV 8.2 and TS 3.5.
    I have an existing Custom Data Type in TestStand and I want to make a LabView Type Def.  The TS DataType contains 11 elements: a Visa Resource Container of 2 elements (String, DeviceName and Number, Session), 9 Numerics and 1 String Array.  For Backwards compatability, I cannot modify the TestStand DataType.
    Thanks,
    Jean

    Hi Goldee,
    You should be able to do that. It's a two step procedure.
    1) Creates in LV a custom datatype that maps 1:1 yours TS datatype.
    2) Go in the TypePalette in the properties of yours TS Datatype and check into LV Cluster Passing Menu'. Here you can Connect a specific Field of the TS datatype to a Specific Label of the corresponding LV datatype. Once you've done it the TS datatype will result modified, I mean "starred" but the change you applied should not impact the datatype structure itself only the way you pass it to LV.
    Have a good day
    FiloP
    It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong.
    Richard P. Feynman

  • Adding a FK constraint to a column in an Abstract Datatype?

    Hi there
    I've tried to alter a table to add a foreign key constraint to a column within an abstract data type using the usual syntax, but i keep getting the following error:
    ORA-00902: invalid datatype
    I'm not sure if its because i'm not using the correct syntax, or simply because it cannot be done. I have a feeling it is because of the latter! Either that or i'm not referencing the ADT correctly.
    If anyone knows if this can be done or not i would be greatful of any help or advice.
    Thanks
    Matt

    Matthew,
    Make sure the syntax is correct. Check out the documentation on 'Constraints for Object Tables' at http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/appdev.817/a76976/adobjmng.htm#1002713
    Regards,
    Geoff

  • Is it possible with the goop toolkit to create an abstract class?

    Here is an example of why I want to do this.
    You could write a main VI which calls subVIs of this abstract class but passes references of derived classes to the subVIs.

    Sure. The way that I do this is to create a class that is composed of one or more other class instances. For example, if A has a B, then "A Create.vi" should call "B Create.vi". The reference to the new instance of B should be stored in A's data (Add B's refnum control to A's data cluster type-def). Whenever you need to access B's functionalities, get the reference from A's data cluster and then call B's VIs. Make sure the "A Destroy.vi" calls "B Destroy.vi" passing the reference to the instance of B, stored by A.
    Good luck.
    -Jim

  • Trying to create an abstract service that supports both DataService(LCDS) and RemoteObject

    I am trying to create a generic service processor in ActionScript that would be able to use a DataService(from LCDS) or a RemoteObject, depending on a property setting. The intent is to be able to change a setting during installation to control whether DataServices would be used, or RemoteObjects. I understand that the server side logic would need to be written differently for each of the implementations.
    The challenge is that accessing a DataService is synchronous, but a RemoteObject access is asynchronous.
    For the synchronous access, I can just call a service and return the result directly to an object which can be passed back to the client.
    For the asynchronous support, extra code must be written on the client side to listen for the return of a requested result (for example, the results of a database quesy). This code must be placed outside of the service itself, thus making the generic service non-generic.
    Are there any examples available that accomplish what I am trying to do?

    Hi. As far as I know both DataService and RemoteObject are asynchronous APIs. If you call a DataService method such as fill() or call a method on your RemoteObject, code in your Flex application will continue to execute and the result from the RemoteObject or DataService request will be received asynchrounously. I don't believe there is any way currently to make synchronous or blocking calls in Flex because of the Flash Player's execution model.
    How are you planning on using the DataService and RemoteObject in your application? Is it to do something like populate a DataGrid? Do you plan on updating the data retrieved from the DataService or RemoteObject such as adding, updating or deleting records?
    The DataService API is much more powerful than the RemoteObject API, in that if you bind an ArrayCollection that is populated from a DataService to your DataGrid, when you update data in the DataGrid, the data on the server is updated and all other clients that have the same view of the data will also get the updates. You don't currently get this functionality with RemoteObjects.
    My point here is that if you wanted to write an abstract service that supports both DataService and RemoteObject and you need to be able to add, update or delete records you are going to need to write a lot of custom code to listen for collection change events when data on the client is modified and translate these change events into RemoteObject requests. Even if you did do that, other clients would not get these updates.
    If all you want to do is something simple like populate a DataGrid with data from the DataService or RemoteObject, then sure, writing an abstraction layer on the client that supports both of these wouldn't be hard.  
    -Alex

  • Is there any way to create an 'abstract' int?

    I know you can't do 'abstract int x;' or something like that, but I tried it anywayz. Didn't work. :) I need to have a Thread access a Health variable that's located in each player object my server spawns. So like, every 30 seconds or something, the players health regenerates...the problem is, is that if I have a thread that keeps adding on to the current health every 30 seconds or something, the variables won't be syncronized or something.
    Any help?
    BTW, if you need more information about my problem just ask, and I'll respond ASAP.
    Thanks

    Oh, one last thing, Java runs its Garbage Collector
    automatically without doing a System.gc; ?
    How often would this be?Depends on the GC algorithm.
    Garbage Collectors are very smart today and works incrementally.
    So the answer is all the time.The incremental (train) collector isn't the default GC algorithm.

  • Create clob datatype in a column

    Hi,
    I am working in oracle9i and solaris 5.8.
    I want to create a table with a cloumn contains clob Datatype..
    Please explain me how to create a clob datatype in a column and how to assign this and how to insert datas into the datatype...
    Regs..

    Hey,
    Read this below link. It will useful for inserting a clob datatype column,
    Re: CLOB
    Regards,
    Moorthy.GS

  • How to Create Abstract WSDL from Concrete WSD

    Hello Everyone,
    I want to create abstract wsdl from concrete wsdl and place that abstract wsdl in the MDS Location. Now, In the composite i would be configuring the reference section where for ui:wsdlLocation value, i need to give the path of abstract wsdl in mds location. binding.ws location would be the actual concrete wsdl...So basically, all iwant to achieve is lets say CompositeA is calling CompositeB. I want to create abstract WSDL for CompositeB and keep that Abstract WSDL in MDS location, and use that ABstract WSDL which is in MDS location while configuring the Web Service Adapter in Composite A.
    can anyone help me on this ,
    Thanks in advance

    Here is my concrete WSDL...
    <wsdl:definitions name="BPELProcess3" targetNamespace="http://xmlns.oracle.com/Test_jws/simpleResponse/BPELProcess3">
    <wsdl:documentation>
    <abstractWSDL>http://192.168.1.106:8001/soa-infra/services/Enterprise/simpleResponse!1.0/BPELProcess3.wsdl</abstractWSDL>
    </wsdl:documentation>
    <plnk:partnerLinkType name="BPELProcess3">
    <plnk:role name="BPELProcess3Provider">
    <plnk:portType name="client:BPELProcess3"/>
    </plnk:role>
    </plnk:partnerLinkType>
    <wsdl:types>
    <schema>
    <import namespace="http://xmlns.oracle.com/Test_jws/simpleResponse/BPELProcess3" schemaLocation="http://192.168.1.106:8001/soa-infra/services/Enterprise/simpleResponse/bpelprocess3_client_ep?XSD=xsd/BPELProcess3.xsd"/>
    </schema>
    </wsdl:types>
    <wsdl:message name="BPELProcess3RequestMessage">
    <wsdl:part name="payload" element="client:process"/>
    </wsdl:message>
    <wsdl:message name="BPELProcess3ResponseMessage">
    <wsdl:part name="payload" element="client:processResponse"/>
    </wsdl:message>
    <wsdl:portType name="BPELProcess3">
    <wsdl:operation name="process">
    <wsdl:input message="client:BPELProcess3RequestMessage"/>
    <wsdl:output message="client:BPELProcess3ResponseMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="BPELProcess3Binding" type="client:BPELProcess3">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="process">
    <soap:operation style="document" soapAction="process"/>
    <wsdl:input>
    <soap:body use="literal" namespace="http://xmlns.oracle.com/Test_jws/simpleResponse/BPELProcess3"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" namespace="http://xmlns.oracle.com/Test_jws/simpleResponse/BPELProcess3"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="bpelprocess3_client_ep">
    <wsdl:port name="BPELProcess3_pt" binding="client:BPELProcess3Binding">
    <soap:address location="http://192.168.1.106:8001/soa-infra/services/Enterprise/simpleResponse/bpelprocess3_client_ep"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    So in order to create the abstract wsdl, i just need to remove the bindings tab from this one ? please let me on this,
    Thanks.

  • Creating Complex Datatypes in Application Module Service Interface

    HI All,
    I need to create the complex datatype as response in Application module service interface(Custom method).
    Is there any way to create it.
    I am able to create when i have simple datatype as response, Whereas the complex type is not able to create.
    Please give me some suggestion.
    Thanks
    Prabhat

    Hi
    I followed the below discussion and got the solution
    Create Web Services and return a complex type with ADF
    Thanks
    Prabhat

Maybe you are looking for

  • Renew authorization on adode acrobat 7.0 professional

    Good Day, How do you get a renewed  adobe acrobat 7.0 professional when the old computer stops working.Even though you have the original software disk. Regards john

  • Is it possible to add the Gauge to Canvas?

    Hi All! Does anybody know if it is possible to add Gauge to Canvas? Thanks so much in advance. Any help would be appreciated.

  • TAXES ON SALES AND PURCHASE

    Dears I have one scenario where user is releasing billing to accounting but system is giving below message. "No taxes on sales/purch.are allowed for account 301903 9000, ZL is not allowed" Kindly note ZL is Tax code Regards KAPIL MORE

  • Can I disable scrolling on a PDF using Acrobat X?

    I am making an interactive portfolio and my links are able to navigate through the entire PDF. Can I disable the user from scrolling through the PDF?

  • Shorten my spatial query statement

    HI , Can anybody help me shorten this query statement? Thanks! select tile.filename, SDO_GEOM.SDO_AREA( SDO_GEOM.SDO_INTERSECTION(tile.geometry, MDSYS.SDO_GEOMETRY(2003, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 1), MDSYS.SDO_ORDINATE_ARRAY(50,1