JDBC application will not compile

I have a fairly simple Oracle JDBC application that used to compile and now it won't
C:\java>javac CreateCompViews.java
CreateCompViews.java:64: incompatible types
found : java.sql.ResultSet
required: ResultSet
rset1 = stmt.executeQuery (SQLQuery1);
^
CreateCompViews.java:72: cannot resolve symbol
symbol : method next ()
location: class ResultSet
while (rset1.next ())
^
CreateCompViews.java:77: cannot resolve symbol
symbol : method getString (int)
location: class ResultSet
viewName = rset1.getString (1);
^
CreateCompViews.java:83: incompatible types
found : java.sql.ResultSet
required: ResultSet
rset2 = ViewQuery.executeQuery ();
^
CreateCompViews.java:84: cannot resolve symbol
symbol : method next ()
location: class ResultSet
rset2.next ();
^
CreateCompViews.java:85: cannot resolve symbol
symbol : method getString (int)
location: class ResultSet
ViewDefinition = rset2.getString(1);
^
CreateCompViews.java:104: cannot resolve symbol
symbol : method close ()
location: class ResultSet
rset1.close();
^
.\ResultSet.java:82: cannot resolve symbol
symbol : method next ()
location: class ResultSet
while (rset.next())
^
.\ResultSet.java:84: cannot resolve symbol
symbol : method getString (int)
location: class ResultSet
String myText = rset.getString(1);
^
.\ResultSet.java:88: cannot resolve symbol
symbol : method close ()
location: class ResultSet
rset.close();
^
10 errors
C:\java>
I am running Windows 2000, Oracle 9.2 and JDK 1.4.1.01
Please Help!
lad

I have a fairly simple Oracle JDBC application that
used to compile and now it won't
C:\java>javac CreateCompViews.java
CreateCompViews.java:64: incompatible types
found : java.sql.ResultSet
required: ResultSet
rset1 = stmt.executeQuery (SQLQuery1);
^
CreateCompViews.java:72: cannot resolve symbol
symbol : method next ()
location: class ResultSet
while (rset1.next ())
^
CreateCompViews.java:77: cannot resolve symbol
symbol : method getString (int)
location: class ResultSet
viewName = rset1.getString (1);
^
CreateCompViews.java:83: incompatible types
found : java.sql.ResultSet
required: ResultSet
rset2 = ViewQuery.executeQuery ();
^
CreateCompViews.java:84: cannot resolve symbol
symbol : method next ()
location: class ResultSet
rset2.next ();
^
CreateCompViews.java:85: cannot resolve symbol
symbol : method getString (int)
location: class ResultSet
ViewDefinition = rset2.getString(1);
^
CreateCompViews.java:104: cannot resolve symbol
symbol : method close ()
location: class ResultSet
rset1.close();
^
.\ResultSet.java:82: cannot resolve symbol
symbol : method next ()
location: class ResultSet
while (rset.next())
^
.\ResultSet.java:84: cannot resolve symbol
symbol : method getString (int)
location: class ResultSet
String myText = rset.getString(1);
^
.\ResultSet.java:88: cannot resolve symbol
symbol : method close ()
location: class ResultSet
rset.close();
^
10 errors
C:\java>
I am running Windows 2000, Oracle 9.2 and JDK
1.4.1.01
Please Help!
ladHere's the CLASSPATH settings
.;c:\oracle\jdbc\lib\classes12.zip;c:\oracle\jdbc\lib\nls_charset12.zip
The packages included in the source code are
import java.sql.*;
import java.io.*;
import java.lang.*;
import java.util.*;
import oracle.jdbc.driver.*;
import oracle.sql.*;
The Java directory is
c:\j2sdk1.4.1_01
Oracle 9.2 directory is
c:\oracle\jdbc\lib

Similar Messages

  • Xcode will not compile

    I migrated from Windows C++(Dev C++) to Mac (Xcode) and Xcode will not compile, the command for it is greyed out (not selectable). Even Hello World Wouldn't compile. What am I doing wrong here?
    (this is an empty C++ file that's been opened)

    What kind of application do I want to open for basic C++. I've tried numerous now and I always get at least one error of conflicting commands.

  • Application.cfc not compiling

    My application.cfc not compiling. I'm using application.cfc
    first time, i'm used to using application.cfm, but now trying to
    switch.
    I've attached the code. Application.cfc is not being executed
    for some reason.
    My environment:
    win2008
    cf8
    iis7
    Thank you,
    Syed

    > application.cfc is not listed in Execution file list
    like application.cfm. Non
    > of the application or session variables are being
    created.
    OK, thanks clarifying that.
    Application.cfc will only be listed in the debugging if
    there's an event
    handler to be run; if you don't have an onRequestStart
    handler, it won't be
    running anything _every request_.
    I suspect you - and jbird5k - have both added code to your
    onApplicationStart event handler after the application had
    already started.
    The onApplicationStart event handler is only run ONCE during
    the life of
    the application (IE: when it's first hit after the CF service
    starts).
    For changes to onApplicationStart to be run, you need to
    restart your
    application.
    I think it was BKBK who suggested that the quickest way to do
    this is to
    change the name of the application - temporarily - so that CF
    thinks it's a
    different application. Or just restarting CF.
    It might be an idea to add an onRequestStart event handler
    which checks for
    a restartApp URL variable, and if found and if true, re-run
    onApplicationStart(). This means less monkeying with your
    code or CF to
    get the app to restart.
    Adam

  • Identical flex-air applications do not compile

    I'm having terrible difficulty with writing Air Applications for compiling with the flex 3.2 SDK.
    I have two identical basic flex air applications, but one will not compile, the other will.
    When I try to run the application from flex builder the first app runs fine while the second one doesn't.
    any ideas?
    http://www.andy-hayes.com/download/TestApp.zip
    http://www.andy-hayes.com/download/TestTransparentApplication.zip
    I've just about had enough of flex builder's bs. tbh.

    Hi Randy,<br /><br />This forum really isn't the place to try to get support on app compilation.  We try to keep discussion here to development of the SDK itself.  I'd suggest looking at the regular Flex forums or flexcoders and posting more details as to the error you're seeing.<br /><br />Matt<br /><br /><br />On 1/13/09 3:51 AM, "randy gland" <[email protected]> wrote:<br /><br />A new discussion was started by randy gland in<br /><br />Developers --<br />  Identical flex-air applications do not compile<br /><br />I'm having terrible difficulty with writing Air Applications for compiling with the flex 3.2 SDK.<br /><br />I have two identical basic flex air applications, but one will not compile, the other will.<br /><br />When I try to run the application from flex builder the first app runs fine while the second one doesn't.<br /><br />any ideas?<br /><br />http://www.andy-hayes.com/download/TestApp.zip<br />http://www.andy-hayes.com/download/TestTransparentApplication.zip<br /><br />I've just about had enough of flex builder's bs. tbh.<br /><br />________________________________<br />View/reply at Identical flex-air applications do not compile <a href=http://www.adobeforums.com/webx?13@@.59b78044><br />Replies by email are OK.<br />Use the unsubscribe <a href=http://www.adobeforums.com/webx?280@@.59b78044!folder=.3c060fa3>  form to cancel your email subscription.

  • I bought the Keynote app for my MacBook, but when I open the application and try to install it, I get an error message saying that the application will not work with my MacBook. What gives? And, can I please request a refund? ($19.99 = a week's groceries)

    I bought the Keynote app for my MacBook, but when I open the application and try to install it, I get an error message saying that the application will not work with my MacBook. What gives? And, can I please request a refund? ($19.99 = a week's groceries).
    Thank you for your help! - I did try looking for all available specs about Keynote on the Apple iTunes website, and found nothing that could help me. HELP!

    1
    Close all iWork applications
    2
    Uninstall Keynote; this must be done with an application remover tool to delete the installation properly. Appcleaner is known to work correctly for this purpose, it is free and can be downloaded from here: Appcleaner Download
    3
    empty the trash
    4
    shutdown the Mac and restart. After the start up chime, hold down the shift key until the apple logo appears
    let the Mac complete the start up procedure completely, it will take longer than usual as the hard drive is being repaired
    5
    Reinstall Keynote by logging into the Mac App Store using download / install

  • Mail application will not open

    My mail application quit opening a few weeks ago. When I try to open it with the icon on the dock and in the finder the screen just blinks. Even my computer savvy wife cant figure it out. My next stop is the genius bar unless there are some geniuses here. I can still get mail via .mac log in but cannot send links or documents as the OS mail application will not open when I need to send them.
    Any suggestions????

    I would take your OS X installation disc and insert it in the drive, then restart the Mac and hold down the C key until you see the spinning cursor on screen. When it finishes loading, select Disk Utility from the Installer menu and first Repair Disk, then Repair Permissions, then reboot from your HD, eject the OS X disc and try Mail again.
    If that doesn't work, then the best thing in terms of time and effort would be to do an Archive and Install of OS X 10.5, with the Preserve Users and Network Settings option. This will install a new copy of 10.5, while preserving all of your current folders and applications, and moving all the old ones to a folder named Previous System. You can then use Software Update to bring it current to 10.5.3, run Repair Permissions when that's done, then Mail should work normally again. Once you've confirmed that and that all your other programs and files are intact and working, you can delete the Previous System folder.
    Mulder

  • Windows Server 2012 - Backup failing with Exchange - The application will not be available for recovery from this backup. the consistency check failed

    Hi
    We have a Windows 2012 server with Exchange 2013, all is working fine except now i am getting issues with the backup.
    'Exchange - The application will not be available for recovery from this backup. the consistency check failed for the component Microsoft Exchange Server'
    I have checked the database all is fine, i have created a new db and move all mailbox;s over and then removed the old db, i have enabled circular logging and then disabled it, it seems no matter what i do i cannot get a full backup!
    i did have to restore the server once and the backups still worked for about 4 days after that and then stopped, i have also tried to remove and re add the backup role!
    i am stumped, any advice would be great!

    Hi
    Ok, i created a test db and tried to back it up right away, it failed, i did not add any mailbox's to it either. i got quite a few events in the windows logs, as well as the same event above i got the following:
    Log Name:      Application
    Source:        MSExchangeRepl
    Date:          21/01/2013 10:16:30
    Event ID:      2038
    Task Category: Exchange VSS Writer
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      NERDS-DC01.nerds.local
    Description:
    Microsoft Exchange VSS Writer backup failed. No log files were truncated. Instance 75754d0d-8dfe-4909-8beb-5a4f824254a9. Database 4843b37c-7b3c-42b2-8b57-1393615c2c15.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchangeRepl" />
        <EventID Qualifiers="32772">2038</EventID>
        <Level>3</Level>
        <Task>2</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
        <EventRecordID>261645</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NERDS-DC01.nerds.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>75754d0d-8dfe-4909-8beb-5a4f824254a9</Data>
        <Data>4843b37c-7b3c-42b2-8b57-1393615c2c15</Data>
      </EventData>
    </Event>
    AND
    Log Name:      Application
    Source:        MSExchangeRepl
    Date:          21/01/2013 10:16:30
    Event ID:      2038
    Task Category: Exchange VSS Writer
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      NERDS-DC01.nerds.local
    Description:
    Microsoft Exchange VSS Writer backup failed. No log files were truncated. Instance 75754d0d-8dfe-4909-8beb-5a4f824254a9. Database db5826f3-1029-4219-ad80-441a0e94537a.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchangeRepl" />
        <EventID Qualifiers="32772">2038</EventID>
        <Level>3</Level>
        <Task>2</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
        <EventRecordID>261646</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NERDS-DC01.nerds.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>75754d0d-8dfe-4909-8beb-5a4f824254a9</Data>
        <Data>db5826f3-1029-4219-ad80-441a0e94537a</Data>
      </EventData>
    </Event>
    and
    Log Name:      Application
    Source:        MSExchangeRepl
    Date:          21/01/2013 10:16:30
    Event ID:      2034
    Task Category: Exchange VSS Writer
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      NERDS-DC01.nerds.local
    Description:
    The Microsoft Exchange Replication service VSS Writer (Instance 75754d0d-8dfe-4909-8beb-5a4f824254a9) failed with error FFFFFFFC when processing the backup completion event.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchangeRepl" />
        <EventID Qualifiers="49156">2034</EventID>
        <Level>2</Level>
        <Task>2</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
        <EventRecordID>261649</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NERDS-DC01.nerds.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>75754d0d-8dfe-4909-8beb-5a4f824254a9</Data>
        <Data>FFFFFFFC</Data>
      </EventData>
    </Event>
    and
    Log Name:      Application
    Source:        SPP
    Date:          21/01/2013 10:16:30
    Event ID:      16389
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      NERDS-DC01.nerds.local
    Description:
    Writer Microsoft Exchange Writer experienced retryable error during shadow copy creation. Retrying...  More info: .
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SPP" />
        <EventID Qualifiers="0">16389</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
        <EventRecordID>261650</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NERDS-DC01.nerds.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Microsoft Exchange Writer</Data>
        <Data>
        </Data>
        <Data>The writer experienced a transient error.  If the backup process is retried, the error may not reoccur. (0x800423F3)</Data>
        <Data>
        </Data>
        <Binary>00000000A5120000981200000000000042BEB7C511CAC619E59C92030000000000000000</Binary>
      </EventData>
    </Event>

  • CS5.5 and OSX 10.9.4: Most applications will not launch even after uninstalling and reinstalling the Creative Suite 5.5. After my 2011 MacBook Pro 17 died, I had to purchase a new MacBook Pro 15 to replace it.  I performed a Time Machine installation from

    CS5.5 and OSX 10.9.4: Most applications will not launch even after uninstalling and reinstalling the Creative Suite 5.5. After my 2011 MacBook Pro 17 died, I had to purchase a new MacBook Pro 15 to replace it.  I performed a Time Machine installation from that 2011 machine, and only Distiller and Acrobat would launch (none of the rest of the creation apps).  So I ran the CS5.5 installer, uninstalled, then reinstalled, producing the same result. When I try to launch, nothing happens.  What next?

    Try...
    Adobe Creative Suite Cleaner Tool
    helps resolve installation problems for CS3 thru CS6 and for Creative Cloud
    http://www.adobe.com/support/contact/cscleanertool.html

  • My numbers application will not continue an update and will not open due to said incomplete update

    My numbers application will not continue an update and will not open due to said incomplete update

    open the application "LaunchPad" then locate Numbers.  Click and hold on Numbers until is starts to shake.  click the "X" in the top left corner.  click on the desktop to exit this mode.  Now open the App store and install again.

  • Now all CS4 applications will not launch

    I have been working with cS4 for sometime now. I worked in dreamweaver last night and tried to open a file but it took forever so I tried to force quit  it. Still it was not responding so I shut my computer down and waited for 30 minutes. I tried to open it again but after i click the icon it jumps on the dock for a few seconds and goes away. Now All my other CS4 applications will not launch either. I tried to delete preferences but nothing so I uninstalled it. I just installed a fresh CS4 copy but it still will not work/launch. Thank you. I am using mac OS 10.5 Leopard. Never had a problem with any CS4 before. All my other applications work well only Adobe CS4 will not
    Please!!!!!! I really need your help guys!
    Thanks

    HI,
    I'm having the same problem :-(
    Did you get any help with this or find a solution?

  • This advertised application will not be installed because it might be unsafe. Contact your administrator to change the installation user interface option of the package to basic.

    Hi there,
    I was wondering whether anyone could tell me which feature in Windows 7 produces this message "This advertised application will not be installed because it might be unsafe. Contact your administrator to change the installation user interface option of
    the package to basic." and whether it can be turned off in Windows to prevent this message from appearing when installing certain programs that aren't WHQL certified. At first I thought it was the UAC control that generated this message but found out
    that it wasn't and then thought it was the DEP control and found out that it wasn't this either. I'm only seem to be getting this message when installing FileDirector Component Service Version 3 on a few of our workstations which is an add-on that allows file
    integration with Office and is part of FileDirector WinClient Version 3.
    Your help would be much appreciated.
    Many thanks,
    RocknRollTim
    P.S. I know of a way to bypass this message but would ideally not like to have the feature turned on and for the message not to be appear for non WHQL certified program installations in order to make non WHQL certified program installations in the future much
    easier, more simpler and straightforward to carry out. I was redirected by a moderator off the Microsoft Community Forum.

    Hi,
    You can try following options to disable this prompt, but we don't recommend you to do so since this feature helps you to protect your computer.
    Option 1: Run command as admin:
    bcdedit -set loadoptions DDISABLE_INTEGRITY_CHECKS
    bcdedit -set TESTSIGNING ON
    Restart your computer to apply changes.
    Option 2: Disable in GPO:
    1.Type gpedit.msc in the Run dialog and press Enter.
    2.In the Group Policy Editor, navigate to User Configuration → Administrative Templates → System → Driver Installation.
    3.Double-click on Code signing for device drivers in the right-side pane as shown above.
    4.In the windows that opens, choose Enabled. In the Options, choose Ignore as shown. Then click on the OK button to save the settings.
    Restart your computer to apply changes.
    Kate Li
    TechNet Community Support
    Unmarked as Answer based on OP's request. 
    https://social.technet.microsoft.com/Forums/en-US/35ab1279-c3a1-46be-9f7d-45e8606c1410/this-advertised-application-will-not-be-installed-because-it-might-be-unsafe-contact-your?forum=w7itproappcompat
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • I recently had my account expire, and need to utilize the trial to finish a project. Even though my account says 'free trial' the applications will not open. How do I get the APP to recognize that I'm in trial and not expired?

    I recently had my account expire, and need to utilize the trial to finish a project. Even though my account says 'free trial' the applications will not open. How do I get the APP to recognize that I'm in trial and not expired?

    I had a year long CC membership that expired at the beginning of the October.
    After realizing that, I attempted to start a free trial of photoshop to work on a project. My Adobe account states that i'm on a trial, but my (Mac) dashboard CC app won't allow me to start the program. I have reinstalled both Creative Cloud and Photoshop CC but still get this message.

  • Problem with shuffle() code, will not compile

    Hi,
    Below is some code designed to shuffle a set of integers in the file editET.txt. Basically:
    5
    2
    4 say:
    just shuffle these randomly around, however, the code will not compile, any advice or solutions would be great
    import java.io.*;
    import java.util.*;
    public class Shuffle3 {
    public static void main (String [] args) {
    if (args.length<2){
    System.out.println("Usage: java Shuffle3 <input file> <output file>");
    System.exit(-1);
    ShuffleStringList sl = new ShuffleStringList(args[0]);
    sl.shuffle();
    sl.save(args[1]);
    class ShuffleStringList extends StringList {
    public ShuffleStringList(String "editET.txt") {
         super(fileName);
    public void shuffle() {
    Collections.shuffle(this);
    public void save (String "Shuffledok"){
         PrintWriter out = null;
         try {
         out = new PrintWriter(new FileOutputStream("Shuffledok"), true);
    for (int i=0; i < size(); i++){
              out.println((String)get(i));
    catch(IOException e) {
    e.printStackTrace();
    finally {
         if(out !=null) {out.close();}
    class StringList extends ArrayList{
    public StringList(){
         super();
    public StringList(String "editET.txt") {
         this();
    String line = null;
    BufferedReader in = null;
         try {
         in = new BufferedReader(new FileReader("editET.txt"));
         while((line = in.readLine()) !=null) {
              add(line);
    catch(IOException e){
         e.printStackTrace();
    public void save (String "Shuffledok") {
    FileWriter out = null;
    try {
         out = new FileWriter("Shuffledok");
         for(int i =0; i < size(); i++){
         out.write((String)get(i));
    catch(IOException e){
         e.printStackTrace();
    finally {
         try{out.close();} catch (IOException e) {e.printStackTrace();}
    public void shuffle() {
    Collections.shuffle(this);

    import java.io.*;
    import java.util.*;
    public class Shuffle3 {
    public static void main (String [] args) {
    ShuffleStringList sl = new ShuffleStringList("editET.txt");
    sl.shuffle();
    sl.save("Shuffledok");
    class ShuffleStringList extends StringList {
    public ShuffleStringList(String fileName) {
    super(fileName);
    public void shuffle() {
    Collections.shuffle(this);
    public void save (String target){
    PrintWriter out = null;
    try {
    out = new PrintWriter(new FileOutputStream(target), true);
    for (int i=0; i < size(); i++){
    out.println((String)get(i));
    catch(IOException e) {
    e.printStackTrace();
    finally {
    if(out !=null) {out.close();}
    class StringList extends ArrayList{
    public StringList(){
    super();
    public StringList(String fileName) {
    this();
    String line = null;
    BufferedReader in = null;
    try {
    in = new BufferedReader(new FileReader(fileName));
    while((line = in.readLine()) !=null) {
    add(line);
    catch(IOException e){
    e.printStackTrace();
    public void save (String target) {
    FileWriter out = null;
    try {
    out = new FileWriter(target);
    for(int i =0; i < size(); i++){
    out.write((String)get(i));
    catch(IOException e){
    e.printStackTrace();
    finally {
    try{out.close();} catch (IOException e) {e.printStackTrace();}
    public void shuffle() {
    Collections.shuffle(this);
    }

  • My classic OS9 applications will not open

    My Classic OS9 applications will not open, and I cannot find the classic OS9 application showing in the preferences window.I tried installing Classic OS9 on a disc I had from another computer but maybe it was the wrong disc

    Here is apple's take on the subject.
    http://support.apple.com/kb/TS1929
    Try this:
    1) on your eMac update the machine to 9.2.2 
      -- ( it needs to be 9.2.2 I think & do not know if you can update to 9.2.2
            on Mac OS X.  I think you can update on X, but not 100% sure. )
    2) get a flash drive
    3) format to flashdrive to Mac OS extended 
      -- ( guess you could use journaled.  )
      -- ( need to perserve resource forks.)
    4) copy the folder
         System Folder
    to the flash drive. 
       -- ( this is the mac os 9 folder.  Only the Max OS X will/may have the 9 on the folder. )
       -- ( do not move it on emac like to the desktop etc. )
    5) copy to your iMac.
    6) Bless classic folder.  See http://support.apple.com/kb/TS1929 for how.
    Let me know how it goes.  Could try it out since I have Classi running in a partition on this machine.

  • PL/SQL spatial query will not compile.

    I have a PL/SQL spatial query that will not compile, but the equivalent SQLPlus query works fine. I.e. (convert decimal degrees to degrees,minutes,seconds)
    Any thoughts much appreciated....
    THIS WORKS in SQLPlus
    select
    decode(rownum,1,decode(sign(b.column_value),-1,'W','E'),2,decode(sign(b.column_v
    alue),-1,'S','N'))&#0124; &#0124;
    to_char(abs(trunc(b.column_value,0)),'999')
    &#0124; &#0124;to_char(abs(trunc((b.column_value - trunc(b.column_value,0)) * 60,0)),'99')
    &#0124; &#0124;to_char(abs(
    (((b.column_value - trunc(b.column_value,0)) * 60) - trunc((b.column_value - tru
    nc(b.column_value,0)) * 60,0)) * 60
    ),'99.99')
    from route_location a, table(a.line.sdo_ordinates) b
    where a.route_adms_id = 13820370
    and record_seq_num = 26
    and rownum < 3
    BUT THIS DOES NOT
    ADMS>create or replace procedure PKG_route_loc_latlong_ins
    2 (iADMS_ID in INTEGER, iRSN in INTEGER,
    3 vcLAT out VARCHAR2, vcLONG out VARCHAR2) as
    4 cursor c1 is
    5 select decode(rownum,1,decode(sign(b.column_value),-1,'W','E'),
    6 2,decode(sign(b.column_value),-1,'S','N'))
    7 &#0124; &#0124;to_char(abs(trunc(b.column_value,0)),'999')
    8 &#0124; &#0124;to_char(abs(trunc((b.column_value - trunc(b.column_value,0)) * 60,0)),
    '99')
    9 &#0124; &#0124;to_char(abs(
    10 (((b.column_value - trunc(b.column_value,0)) * 60) -
    11 trunc((b.column_value - trunc(b.column_value,0)) * 60,0)) * 60
    12 ),'99.99')
    13 from route_location a, table(a.line.sdo_ordinates) b
    14 where a.route_adms_id = iADMS_ID
    15 and a.record_seq_num = iRSN
    16 and rownum < 3;
    17 BEGIN
    18 open c1;
    19 fetch c1 into vcLONG;
    20 fetch c1 into vcLAT;
    21
    22 EXCEPTION
    23 when others then
    24 vcLAT := 'ERROR';
    25 RAISE_APPLICATION_ERROR(-20002,
    26 'XXXXXXXXXXXXXX ');
    27
    28 END pkg_route_loc_latlong_ins;
    29 /
    Warning: Procedure created with compilation errors.
    ADMS>
    ADMS>show errors
    Errors for PROCEDURE PKG_ROUTE_LOC_LATLONG_INS:
    LINE/COL ERROR
    5/5 PL/SQL: SQL Statement ignored
    5/12 PLS-00320: the declaration of the type of this expression is
    incomplete or malformed
    5/12 PLS-00320: the declaration of the type of this expression is
    incomplete or malformed
    13/34 PLS-00201: identifier 'A.LINE' must be declared
    19/5 PL/SQL: SQL Statement ignored
    20/5 PL/SQL: SQL Statement ignored
    null

    try a
    FOR UPDATE OF ID NOWAIT;where ID is the name of a column in the table.

Maybe you are looking for

  • Two cRIOs with the same code in 1 project

    I have a project that contains two cRIOs that run the same exact program.  The only difference is the IP address in the ni-rt.ini file.  I would like to create a project that represents the actual targets but uses the same vis.  In doing this I found

  • Srvctl on 11.2.0.3 does not stop and start listeners

    I recently installed the Grid software under the "grid" user on RH5. Clusterware and ASM run under GRID_HOME, the single instance database runs under ORACLE_HOME. I have created 2 listeners on non-default ports (manually using entried in listener.ora

  • Swf file not displaying properly on webpage

    Flash Player version 9.0.115.0 Website designed with Dreamweaver 4, Flash 5 IExplorer version 7.0.5730.11 Windows XP Pro When I preview (using IExplorer 7) in Dreamweaver 4 and Dreamweaver 8, the swf file looks fine, however, when I go to my website

  • Can i run os x 10.5 or higher with only 512 ram

    i only have 512 ram running tiger os, need to upgrade to a higher system. cani do this and which one do i need?

  • CFB2 Plugin Issue

    I just upgraded to CF Builder 2 yesterday. I did a clean install along with grabbing version 3.6.2 64 bit version of eclipse. Everything was fine at first but now any time I launch eclipse and the Builder Plugin starts up I keep seeing a message in t