Can we define a trriger with sql to GML automaticly ?

hello,
i just need to know if we can define a trriger with sql to GML ?
thanks,
best regards ,
lama
Edited by: user11255382 on 25 juin 2009 12:18

Yes, a trigger can be written to convert sdo_geometry to GML using SDO_UTIL.TO_GMLGEOMETRY.

Similar Messages

  • Can't define PVE Uplink with srw224g4

    Hi,
    I tried to  setup sample usage of PVE with Linksys  SRW224G4 withot success. I successfully set PVE g1 for ports 1 to 5 but I can't setup uplink port for this PVE group. I can't find place where can define PVE mapping an PVE upllink in web view. When I googled about this  I find that in "Port config" section in firmware version befor 1.2.2 have "pve mapping", but there is not such link. How can i define Uplink for particular PVE group in firmware version before 1.2.2?
    Thanks in advance

    Huh,
    Even though i am using older software here, it seems straight forward.
    Can I humbly suggest, that you contact the SBSC  to get some phone help, if this switch is still under phone support warranty.
    http://www.cisco.com/en/US/support/tsd_cisco_small_business_support_center_contacts.html
    regards Dave

  • Can not establish a connection with SQL

    hey all,
    i was trying to start with JDBC ,but i spent two days trying to establish a connection with SQL.
    can anybody help me please, the problem is about the url string and driver name.
    am completely lost with these stuff :(
    thnx in advance,

    stillAbeginner wrote:
    am using Microsoft SQL server 2005, but i don`t know how to get or setup driver correctly.
    please explain how.
    Are you specifically using "localhost" as the server name and thus the database is on your client box? If not then SQL Server must be configured to accept such traffic before it will work.
    Other than that the most common problems are
    1. The port is wrong. It is either 1433 or 1434.
    2. The server name(or IP) is not visible from client computer. Nothing you do in java nor MS SQL Server will fix this.
    Printing the stack trace and posting it here provides more information for us to help.

  • How can I load this XML with sql loader ?

    Hi,
    Im try to load a XML file into a XML table:
    Create table TEST of XMLTYPE;
    XML file is something like this:
    <!DOCTYPE list SYSTEM "myfile.dtd">
    <list>
    <item id = 1> lot of tags an info here </item>
    <item id = 9000> lot of tags an info here </item>
    </list>
    I dont know how to exactly create an appropriate control file to my XML. All examples I saw in documentation are similar to this one:
    this is an example control file
    LOAD DATA
    INFILE *
    INTO TABLE test
    APPEND
    XMLTYPE (xmldata)
    FIELDS
    I dont know how to complete this control file. Can anyone help me ?
    thank you!
    Message was edited by:
    pollopolea

    Well I found this working code
    LOAD DATA
    INFILE *
    INTO TABLE test APPEND
    xmltype(xmldata)
    FIELDS
    ext_fname filler char(30),
    xmldata LOBFILE (ext_fname) TERMINATED BY EOF
    BEGINDATA
    mifile.xml
    mifile2.xml
    mifile3.xml
    the main diference I found is that when i use:
    Insert into test values (XMLType(bfilename('XMLDIR', 'swd_uC000025127.xml'),nls_charset_id('AL32UTF8')));
    tag <!DOCTYPE list SYSTEM "myfile.dtd"> is expanded
    (I explain at DTD insertion and errors with long DTD entities
    Now using sql loader the tag is not modified.
    I dont know if is there any difference, between each case. did I lost performance?
    Message was edited by:
    pollopolea

  • Can I define an RFC with multiple desitinations?

    I am working on intergration between SAP and JAVA, I am have to call RFC to get the pricing of a each lineitem from Java instead of getting from SAP Condition types while creating as Sales order. I have defined one RFC to connect to Java server program. I have called that in Exit routine of that condition value.This should happened online as soon as you creat a sales order you have to get the relavant price of each material.I can able to get the things .I need to test the performance of this if data is huge. I need some help regaring this.
    Can I call multiple RFC destinations to connect the Java server program if it is excecuted as clusters or different severs .

    I had a similar requirement. They want to call different RFC destinations in different systems. So, I created a table with System and Logical destination to be called from that system.
    In my code, I check the current system and get the logical destination to be passed while calling function module. You can also use similar logic if you want to call different systems.
    Chakri.

  • How can I define a tooltip with multiline user input?

    I've created a button with app.response to get user input for defining a textbox's tooltip, but for my purposes I need multi-line text formatting within the tooltip, such as the \n character.  How can I accomplish this?  Thanks.

    How do you mean?  I've not been able to find any real settings for the tooltip under properties.  A long enough line of text wraps around, but I want it to contain some actual formatting, for ease of reading.  One long paragraph, followed by a few individual bullet points of info.  For example:
    Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.
    Blah: blah blah blah blah blah blah blah blah blah blah blah blah
    Blah: blah blah blah blah blah blah blah blah blah blah blah blah
    Blah: blah blah blah blah blah blah blah blah blah blah blah blah
    Is that at all possible with the built in tooltip?

  • How to deal with Select Menu when it can NULL or a Value with SQL

    I have a SELECT Menu(:P_55X) with:
    "NULL DISPLAY VALUE" = NULL
    "NULL RETURN VALUE" = NULL
    The Chart query is as follows.
    SELECT NULL LINK,
    START_DATE "FOR_MONTH",
    ROUND(AVG("SLA"),3) "SLA_UPTIME"
    from SLA_TIMES_ZABBIX
    LEFT JOIN (SELECT DISTINCT NODE_NAME,OS_TYPE from CMS.CMS_NODE_OS where remove_dt is NULL) OSNODE on LOWER(SLA_TIMES_ZABBIX.NODE_NAME)=LOWER(OSNODE.NODE_NAME)
    where OS_TYPE=:P55_X group by START_DATE order by START_DATE ASC;
    How can I accout for the (:P55_X) variable being NULL sometimes and not null other times. meaning I can't use the "=" when the values is null because I need a IS NULL there.
    The column in the database either has a value or is NULL.
    Thanks
    Robert

    where (OS_TYPE = :P55_X OR (:P55_X IS NULL and OS_TYPE IS NULL))

  • Defining constants/enums with const in JavaScript

    Hi folks,
    I like to define constant enums like the InDesign DOM already provides, e.g.:
    SpecialCharacters.FORCED_LINE_BREAK
    StateTypes.DOWN
    etc.
    I like to define such enums too. The only approach I found was:
    const MY_ENUM = {TOP:"top",DOWN:"down"}
    But this is not write-safe. I can add properties/functions to MY_ENUM as well as change the value of TOP. Thats not desirable.
    Whereas the InDesign DOM enums are readonly. The enum object as well as the value/property. How can I define such type with JavaScript?
    Thanks for your comments
    Cheers Tino

    Alternatively, it is sufficient if you create an output terminal named CO in this case. No need to connect it, of course.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    FormulaNode.gif ‏3 KB

  • How to send/receive e-mails with sql or pl/sql

    Hello,
    I must send and receive e-mail (something like e-mail client) done with oracle database and oracle forms.
    How can I receive e-mails with SQL? Is there any way?
    I read threads about using utl_smtp but i could not send an e-mail. May be I need to use servers without password?
    Best regards
    P.S. I'm using Forms 10g R2 and database 9i

    Hi,
    try below code.
    change mailhost ip to u r mail server ip.
    CREATE or REPLACE PROCEDURE SimpleTextMessage IS
    mailHOST VARCHAR2(64) := '192.168.0.21';
    mailFROM VARCHAR2(64);
    mailTO VARCHAR2(64);
    mailCONN utl_smtp.connection;
    mailDATE VARCHAR2(20);
    vreply utl_smtp.reply;
    vreplies utl_smtp.replies;
    i number;
    BEGIN
    mailFROM := '[email protected]';
    mailTO := '[email protected]';
    SELECT TO_CHAR(SYSDATE,'MM/DD/YYYY HH24:MI:SS') INTO mailDATE FROM dual;
    vreply := utl_smtp.open_connection(mailHOST, 25, mailCONN);
    vreplies := utl_smtp.help(mailCONN, 'HELP');
    for i in 1..vreplies.count loop
    dbms_output.put_line( 'text = ' || vreplies(i).text );
    end loop;
    vreplies := utl_smtp.ehlo(mailCONN, mailHOST);
    for i in 1..vreplies.count loop
    dbms_output.put_line( 'text = ' || vreplies(i).text );
    end loop;
    vreply := utl_smtp.mail(mailCONN, mailFROM);
    vreply := utl_smtp.rcpt(mailCONN, mailTO);
    vreply := utl_smtp.open_data(mailCONN);
    utl_smtp.write_data(mailCONN, 'Subject: '|| 'Hi' || chr(13));
    utl_smtp.write_data(mailCONN, 'From: '||mailFROM || chr(13));
    utl_smtp.write_data(mailCONN, 'Date: '||mailDATE || chr(13));
    utl_smtp.write_data(mailCONN, 'To: '||mailTO || chr(13));
    utl_smtp.write_data(mailCONN, 'CC: '||mailFROM || chr(13));
    utl_smtp.write_data(mailCONN, chr(13));
    utl_smtp.write_data(mailCONN, 'Hello Friend how r u.' || chr(13));
    vreply := utl_smtp.close_data(mailCONN);
    END;
    /

  • Open (.sdf) file with SQL server 2005 Management Studio

    In VS2005, I have created a SQL Mobile database, (.sdf).
    Copied that (.sdf) file to Desktop, and when I try to open with SQL Server 2005 management studio, its showing error "make sure the application for the file type (.sdf) is installed."
    How can I open this file with SQL server?
    Regards
    Abinash

    You must install SP2 if using Management Studio Express (http://www.microsoft.com/downloads/details.aspx?familyid=6053C6F8-82C8-479C-B25B-9ACA13141C9E&displaylang=en)Erik Ejlskov Jensen, MCTS: WM App, MCITP: SQL 2008 Dev - http://erikej.blogspot.com
    Please mark as answer, if this was it.

  • How can I crate a view with tables which require "Left outer join"?

    Hi guys,
    how can I define a view with tables which require "Left outer join"?. In SE11 "View",->tab "Join condition", it seems that it valid only for "Inner Join".
    Please give me some hint.
    Thanks in advance.
    Regards,
    Liying

    Hi
    Inner Join and Outer Join 
    The data that can be selected with a view depends primarily on whether the view implements an inner join or an outer join.
    With an inner join, you only get the records of the cross-product for which there is an entry in all tables used in the view.
    With an outer join, records are also selected for which there is no entry in some of the tables used in the view. (ABAP allows left outer join.)
    The data that can be selected with a view depends primarily on whether the view implements an inner join or an outer join.

  • Generate ER Diagram with Sql Queries ?

    Hi Expertie,
    I am new to Oracle Sql Developer Data Modeler.
    I am having doubt in Oracle Sql Developer Data Modeler. Can we create ER Diagram with sql queries ?
    Ex: select Ename, EAge, Eemail, ESalary, DDept, Dname, Estatus from Emp E join Dept D on E.EmpId = D.Empid
          Where EAge in (20, 25, 30, 35)
    Please provide me the answer and suggestion. It will be greatful for me.
    Thanks & Regards
    Bhaskar

    Yes, you can engineer your physical model to a logical one, then you'll have an ERD as well. It's a right-click on the model I believe.
    To be more specific, if you relational model is loaded, you can use the button in the toolbar that looks like a double-blue-arrow, or you can mouse-right-click on your relational model in the tree. This will engineer your model to a logical one. You'll then have your ERD.
    Edited by: Jeff Smith SQLDev PM on Apr 29, 2013 9:53 AM

  • How can i define a boolean variable with the condition if i got a specific text on a selected column?

    How can i define a boolean variable with the condition if i got a specific text on a selected column?
    Example:
    my select results:
    [id = 102] [Company = 'Microsoft']
    If i got microsoft in 'Company' i want to my another table with the columnName "Microsoft" get "true".
    Can you help me?

    That is called 2-table UPDATE.
    Example:
    http://www.sqlusa.com/bestpractices2005/updatewithcorrelatedsubquery/
    Kalman Toth Database & OLAP Architect
    Free T-SQL Scripts
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • How can a type defined in a PL/SQL package be used by an object?

    How can a type defined in a PL/SQL package be used by an object?
    In the PL/SQL Reference manual it says that object attributes can be
    types defined inside a PL/SQL package: How do you make this work?
    Here is a sample that demonstrates what I am trying to do:
    CREATE OR REPLACE
    PACKAGE Phone IS
    TYPE Phone_rectype IS RECORD (
    Main VARCHAR2(12),
    Home VARCHAR2(12),
    Business VARCHAR2(12),
    Mobile VARCHAR2(12),
    Fax VARCHAR2(12),
    Pager VARCHAR2(12)
    END Phone;
    CREATE OR REPLACE
    TYPE customer_type
    AS OBJECT (
    CustNo NUMBER,
    CustName VARCHAR2(30),
    PhoneNumber Phone.Phone_rectype
    This is the error that i get:
    Warning: Type created with compilation errors.
    Errors for TYPE CUSTOMER_TYPE:
    LINE/COL ERROR
    0/0 PL/SQL: Compilation unit analysis terminated
    5/15 PLS-00201: identifier 'PHONE.PHONE_RECTYPE' must be declared
    null

    That's a good point, Justin - thanks for the advice. At the moment, our process of data validation isn't very well defined, so the table definitions aren't always the same beyond a core set. As we get more automated and able to develop table definitions flexible enough to accomodate all the quirks in client data, I may be able to consider moving to a single schema to take advantage of maintenance and performance improvements. My ultimate concern with doing that is that the datasets we're dealing with can be tens of millions of rows in size. Clearly, I'm no DBA, but I just assumed that we would be able to churn through these datasets faster if they were in a schema by themselves rather than lumped together into one huge half-a-billion row table?

  • Can I define a SQL Server View to Oracle data?

    So I have a subset of data whose source of truth resides in an Oracle Database. Can I define a SQL Server View to retrieve this subset of data and make it available on the SQL Server side for say Reporting and SSRS? I think I also saw where they tend to
    prefer User-Defined functions as opposed to a view. If I define the view using an OPENQUERY, I have noticed that it seems to run FOREVER on the SQL Server side and returns pretty timely if I run in Oracle SQL Developer. Is there anything I can tweak to improve
    this timeliness or lack there of?
    And the whole reason I'd like to create a view of this Oracle data is so that I can take advantage of all the views and functions that we have created on the SQL Server side.
    Has anyone gone down this path and can offer some advice and web sites or YouTubes as to the best way to approach this?
    Thanks for your review and am hopeful for a reply while I keep Googling this.

    There are couple of ways by which you can connect and fetch the data
    OPENQUERY - which you are already using [uses linked server] -
    runs on remote server
    OPENROWSET - I would like to avoid this because it requires crenditials
    OPENDATASET - Similar issue like OPENROWSET
    Directly access linked server like LINKEDSERVER.DATABASE.SCHEMA.TABLE -
    runs on your local server
    Now, performance
    basically, they have the same performance advantages and disadvantages when connecting to remote server. But you can enhance it by 
    Avoiding data conversion 
    Using procedure on Oracle and then call it from SQL Server (due to compiled plan your result will be faster)
    Avoiding dealing with complex data types
    If you are dealing with large number of records, try using Oracle connector in SSIS. I found it working much better than SQL sometimes.
    Hope this will help
    Glad to help! Please remember to accept the answer if you found it helpful. It will be useful for future readers having same issue.
    My Profile on Microsoft ASP.NET forum

Maybe you are looking for

  • Could i trade in u2 ipod for a new 30 gb video ipod?

    could i do this online or at a local apple store(one is near where i live), or do i have to still pay money bc i know apple has a history of trading in old ipods for new ones

  • Problem with a banner

    Hello, I have a problem with a banner on  the website of my web design company . Some visitors may make it leads to. while others can not (not an isolated case).'s not worth the restrictions on clicks. I even tested: on the one computer I have not wo

  • Material wise Sales area and customer master

    Hi, Suppose I have a plant 4002, if i want to see all the material of plant 4002 then i can see those to following MM60 transaction code but if i want to see a particular material and that material is belongs to which sales area and which customer ma

  • Gaps between clips on the timeline

    I wonder if there is a way to gain control of moving clips on the timeline. If I grab a video clip on the timeline and drag it left, it bumps the adjacent clip and moves it left. If I haven't let go of the mouse and move the held clip back towards th

  • Run RFC FM from BEx Analyzer

    Hello everybody! I have to implement call of function module via RFC from BEx Analyzer. I created a VBA macros: Set BI_connect = Run("BExAnalyzer.xla!sapBEXgetConnection") If BI_connect.IsConnected <> 1 Then    If BI_connect.Logon(0, False) <> True T