Having problem with to_lob function

Hi,
Oracle DB version: 10.2.0.1.0
Tools being used: SQL Developer and SQLPlus (I have tried the query on both)
Create table test
col_xml LONG
...Note: We cannot convert this column to CLOB permanently because we just don't have the right to do that. :-(
Now, the problem is, I'm trying to convert this LONG into a CLOB using the TO_LOB function but still getting this error:
select TO_LOB(col_xml) from test;
ERROR at line 1:
ORA-00932: inconsistent datatypes: expected - got LONGBy the way, our main goal is to query this column so that we could filter the rows that we need.
Sort of:
select TO_LOB(col_xml) from test where TO_LOB(col_xml) like '%criteria%';Have I missed something or any idea on how to make my goal possible. The TO_LOB function is pretty simple but I don't know why it doesn't work in our my environment.
Suggestion/Ideas/Links to learning materials is high appreciated (Prefer oracle sites, message boards and forums are blocked by the firewall :-( ).
Thanks.

Spongebob wrote:
Follow up question: This TO_LOB function looks simple and easy to use but as shown above in my post it throws an error message. Have I missed something or is there something in our environment that affected the behavior of this function?Have a look at Oracle® Database SQL Language Reference.
There are several limitations with this function. It boils down to the following:
"<i>Before using this function, you must create a LOB column to receive the converted LONG values. To convert LONG values, create a CLOB column. To convert LONG RAW values, create a BLOB column.</i>"
So in other words, this function needs a destination LOB to write the LONG content into. It does not dynamically create the destination LOB/CLOB.
So you cannot do this as there is no explicit LOB definition to receive the converted LONG content:
SQL> select TO_LOB(text) from all_views where owner = 'SYSTEM' and view_name = 'PRODUCT_PRIVS';
select TO_LOB(text) from all_views where owner = 'SYSTEM' and view_name = 'PRODUCT_PRIVS'
ERROR at line 1:
ORA-00932: inconsistent datatypes: expected - got LONGBut if we create a destination LOB, we can use the function. E.g.
SQL> create table view_text( view_name varchar2(30), view_sql clob );
Table created.
SQL> insert into view_text select view_name, TO_LOB(text) from all_views where owner = 'SYSTEM' and view_name = 'PRODUCT_PRIVS';
1 row created.
SQL> The bottom line to this is: LONG IS AN EVIL DATA TYPE.
It should not be used. It dates back to Oracle 7. We are now at 11g. Several versions later. Still using the LONG data type in applications should be dealt with swiftly and harshly using the old lead pipe. Even a legacy app would have undergone several updates since Oracle v7. And that would have provided ample opportunity to convert from the horrible LONG data type to LOB.

Similar Messages

  • For users having problems with Mail functionality...

    Hello! I have been having problems with Mail functionality as well, so, I took a few steps to see if I could solve the problem on my own.
    My problems were:
    Mail would freeze when sending mail, or, when I pressed quit, it would freeze.
    If I toggled between inboxes too much it would freeze up.
    Even after trying the many techniques others offered on this board, Mail still froze up. So.. here's what I did:
    1.) Turn off the auto-retrieve mail function in the preferences/general menu. Set it to a manual check. Just check it yourself every once in awhile. It may not be as convenient, but it works, trust me.
    2.) Under the fonts and colors menu, set all three fonts to the SAME font (mines Century Schoolbook, but anything works) and turn off fixed-width font. Sometimes mail has a tough time decoding and working with texts, and causes it to freeze.
    3.) Clean our your main inbox! Place the emails that you want to keep, but don't need to be in your inbox in a new folder on your inbox bar (mines aptly named 'Saved Messages.' That way, when you open up Mail to your default account, it doesn't have 1,000+ messages to index. Also, try to keep the inboxes from having more than 100-200 messages per. It seems to frown on any more than that.
    After trying these three easy, steps, restart mail and see if things run smoother. I have had no problems since these changes, and mail runs a ton better. Plus you don't have to worry about deleting your library/mail folder anymore. Let me know if things work out so I can see if my theory is a universally proven thing. Thanks and good luck!
    iMac G5 20"   Mac OS X (10.4.5)  

    Good question. I have worked very little with IMAP other than as a testing device, so, on a daily routine I cannot say how it would function. However, I can only expect that by having the option to download all emails for offline viewing selected, you are right in it being a lag creator. Another suggestion would be, if you are running a single-computer setup, to have the account delete emails from the server after recieving them on your computer. Thus, you reduce the risk of repeat downloads or unnecessary build-up on the server end. DO NOT select this option if you run multiple computer set ups on one AppleMail account system or you will cause some discrepancies and/or data loss from system to system. Or, if you have emails redirected from a seperate server to Mail (i.e. I redirect mail from my university email account into Mail so that I don't have to go to the web-mail site to check it--> just like Gmail or Yahoo etc etc) you won't be able to check them from the web-based email system if you have the system delete them. Ok that sounded confusing. Solution: have the system remove emails from the server after a week (or any period of time, just not immediately) so that, in the off-chance you need to use the online system, you will have access, and will give you a chance to check the emails on other systems without a threat of data corruption (by corruption i mean that frustrating feeling you get when you can't find that super important email that was in your inbox just 10 seconds ago on your desktop etc.)
    I will see if I can learn anything more about IMAP Ernie. Its definitley the biggest problem source for Mail, POP and .Mac being simple and functional as long as you don't play with the settings too much. As far as the issue of Offline viewing goes, try turning it off and seeing how Mail functions.
    BEFORE you turn it off, however, I recommend saving all of your emails in your inbox as a text file or something so, in case the server burps and has a brain flatuence, you don't lose anything. Been there, done that, thrown the books against the wall in a frustrated rage.
    My only reserve about the Offline Viewing is whether or not Mail will, when you click "recieve mail," have to re-download the emails from the server each time. If so, then it may end up taking longer and lagging more. The issue here is obviously minimizing the amount of activity between Mail and the email server without jeapordizing information on the server or multiple Mail programs on the same account. When we can find that balance, I think Mail's potential will be realized. Keep the questions coming.

  • I have been having problems with YouTube functionality when using Firefox, some of them having begun with the latest Firefox update

    After a fairly recent update, I began having the option to paste text disappear, I've had backspace cause the browser to go back to the previous page while in a text box, and other issues which are apparently a matter of Firefox not recognizing the fact that I am typing in a text box.
    After the last update, suddenly YouTube video page URL links no longer translate into links containing the title of the video, and also things like the use of bookend asterisks in order to have text appear in bold typeface no longer work.

    i have the same problem with the above..firefox is running too slow with the games in facebook..but it runs good when browsing my updates, msgs, photos...firefox is totally opposite of IE..IE is faster with the games and slow while browsing..i love to use mozila but when i do games it really pisses me off...hope you could help me..

  • Having problem with Event function in Photostream

    Since the upgrade I find that the event function is no longer separating my uploaded photos by date of taking them so they are now all in one bucket so to speak instead of each day of the holiday. Why has this happened and have others had a similar issues? 

    Hi Markus,
    If I understand it correctly then you have a dropdown box and on the basis of value selected in dropdown box you need to filter the records displayed in the table view below...
    If this is the requirement then you will have to write your custom code to filter data. For your dropdown field redefine get_p_xxxx to add a server event once the value is selected in dropdown box.
    Please refer to:
    Re: Tableview - get changed data event???
    Since server round trip would be triggered you can loop on data from your context and filter it in do_prepare_output or else you can create your event handler as well...
    e Regards,
    Bhushan

  • Having Problems with CAST Function

    Hey Guys;
    I need to write an SQL statement that does a cast or some type of conversion from a number to a string.
    I have tried a number of things and can't get it to work.
    Here's what i currently have:
    SELECT *
    FROM TABLE1
    WHERE COLUMN1 = CAST(12345678 AS STRING)
    I've tried using CHAR and VARCHAR2 instead of string and it still doesn't work. When i use VARCHAR2 it says i'm missing a left parenthesis and when i use CHAR it says data value out of range. That doesn't make sense to me, because if i put the same value in quotes, it runs fine.
    Hope someone can help me out.
    thanks in advance

    You should specify the size of varchar2, to which you like to cast.
    Like
    SELECT *
    FROM TABLE1
    WHERE COLUMN1 = CAST(12345678 AS varchar2(8))Best regards
    Maxim

  • I'M HAVING PROBLEM WITH FUNCTION KEY, I'M HAVING PROBLEM WITH FUNCTION KEY

    Hello everybody
    Recently i'm having problem with function key of iphone4, now its working assistive touch key board , between these days i had restored and update then it work for next 12 hour after that it again stoped..
    pls help me from this isssue,
    thanking you.

    There are no function keys on the iPhone.
    Please clearly state the issue that is occurring.

  • Is anybody else having a problem with Bluetooth functionality after iOS 7? I have lg tone Bluetooth headset that I use while working out, cutting the grass, etc. Before the update I could press the "next track", but anymore.... Help?! Please!!!!!!

    Is anybody else having a problem with Bluetooth functionality after iOS 7? I have lg tone Bluetooth headset that I use while working out, cutting the grass, etc. Before the update I could press the "next track", but anymore.... Help?! Please!!!!!!

    Tell Apple about it: http://www.apple.com/feedback/iphone.html
    Be sure to give as much detail as possible.
    I would also check LG's site.

  • I have been having problems with my FaceTime for the last few weeks. Up to then I was able to use it daily and then it suddenly stopped functioning. I have 4 friends in the same situation. Is there a problem centrally with Apple? Anyone else with problems

    I have been using FaceTime regularly over the past year or so and suddenly it has stopped working. It seems to dial up and says its connecting and then just switches off. I have a number of other friends who are also having problems with this and also on their iPhones. Does anyone have an answer to this problem?

    Make sure all parties are running IOS 7.1.1
    http://support.apple.com/kb/TS5419

  • Problems with the function DBMS_XMLSCHEMA.copyEvolve

    I´m having problems with the evolution of xml-schema.
    First the function DBMS_XMLSCHEMA.copyEvolve works correctly, but since one week I get only errors. Strangely is the fact that I use the same files (xml-schema, xslt and xml instances) and the same SQL-Code. Even if I delete all tables, directories, ... with the drop instruction and create them again, I get only error messages. It is also strangely that the function DBMS_XMLSCHEMA.copyEvolve not works if the old and new xml-schema are identical and no XSLT-Stylesheet is handed over. Can by the function DBMS_XMLSCHEMA.copyEvolve something going wrong in the database ? Do I must recreate the database, and how can I do that by the XE? But that can not be a good solution.
    Has anybody a idea what can I do?
    Here is my error report:
    Error starting at line 1 in command:
    BEGIN
    DBMS_XMLSCHEMA.copyEvolve(
    schemaURLs => xdb$string_list_t('http://localhost:8080/internal/xmlschema/testschema.xsd'),
    newSchemas => XMLSequenceType(XDBURIType('/public/testschema_evolution.xsd').getXML()),
    transforms => XMLSequenceType(XDBURIType('/public/MapTotestschema_evolution.xslt').getXML()));
    END;
    Error report:
    ORA-30944: Fehler beim Rollback für XML-Schema "http://localhost:8080/internal/xmlschema/testschema.xsd" Tabelle "MYUSER"."XMLSCHEMATABELLE" Spalte ""
    ORA-02304: Ungültiges Objektidentifizierungsliteral
    ORA-30942: Fehler bei XML Schema Evolution für Schema "http://localhost:8080/internal/xmlschema/testschema.xsd" Tabelle <n/a> Spalte ""
    ORA-31088: Objekt "MYUSER"."BIN$QNQjNoYiRfC4KlQtnfUpMw==$0" hängt von Schema ab
    ORA-06512: in "XDB.DBMS_XMLSCHEMA_INT", Zeile 113
    ORA-06512: in "XDB.DBMS_XMLSCHEMA", Zeile 210
    ORA-06512: in Zeile 2
    Thanks David

    Can you try doing the following before running copyEvolve
    SQL> purge recyclebin
      2  /
    Recyclebin purged.
    SQL> alter session set recyclebin =  off
      2  /
    Session altered.
    SQL>and see if it works as expected.

  • Having Problem with JSP In Netscape!HELP!!!

    HI to all! I�m having problem with the jsp that i have :( If i use the Internet explorer it works but at Netscape... it doesn�t work :( The value of "PTE" is null... I need help !!!Please! I think the HTML IS NOT HELPING ...
    the code is :
    <html>
    <head>
    <!--tp001_transferencias_oic_POR.jsp-->
    <title>BBVA - Transfer&ecirc;ncias - Transfer&ecirc;ncias OIC</title>
    <LINK rel=STYLESHEET type='text/css' href="estilos/tablas.css">
    <!--script language="javascript" src "js/dynlayer.js"></script-->
    <script language="Javascript" src="js/banner.js"></script>
    <script language="Javascript" src="js/tp_oic.js"></script>
    <script language="Javascript" src="js/utilidades.js"></script>
    <script language="javascript" src="js/limpar.js"></script>
    <script language="javascript" src="js/tiempo.js"></script>
    </HEAD>
    <body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0" class="pag-contenido" onLoad="controlSesion();">
    <%@ include file ="includecbtf.jsp" %>
    <% String s = (String)datos.get("dt");
    java.util.StringTokenizer str = new java.util.StringTokenizer(s, "-");
    String anoServer = str.nextToken() ;
    String mesServer = str.nextToken() ;
    String diaServer = str.nextToken() ;
    %>
    <!--1�form-->
    <form method="post" name="captura" action="<%=urls.get("action")%>">
    <center> <!--1�center-->
    <br>
    <!--1�table-->
    <table border="0" cellpadding="0" cellspacing="0" width="500"> <!--table das transf e nome-->
    <tr>
    <td colspan="3"><img src="images/linea.gif" border="0"></td>
    </tr>
    <tr>
    <td width="250"><img src="images/traspasos.gif" border="0"></td>
    <td width="82"><img src="images/titular.gif" border="0"></td>
    <td width="169" class="fondotitular"><font class="texttitular"><%=datos.get("usuario")%></font></td>
    </tr>
    <tr>
    <td colspan="3"><img src="images/linea.gif" border="0"></td>
    </tr>
    </table> <!--Fim do 1� table-->
    <br><br>
    </center> <!--Fim do 1� Center-->
    <center> <!--2� Center-->
    <!--Conteudo do table 2-->
    <table cellpadding="3" cellspacing="1" border="0" align="center" width="500"> <!--table referente a mensagem-->
    <tr>
    <td class="cabeceratitulo" colspan="2"><p class="titulotabla">Nota : As Transfer&ecirc;ncias para outras Institui&ccedil;&otilde;es de Cr&eacute;dito decorrem de acordo com os hor&aacute;rios da Compensa&ccedil;&atilde;o Interbanc&aacute;ria, n&atilde;o se responsabilizando o BBVA pela sua realiza&ccedil;&atilde;o fora das regras em uso.</p></td>
    </tr>
    <tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr>
    </table> <!--fim do table2-->
    </center> <!--Fim do 2� Center-->
    <center> <!-- Inicio 3� Center-->
    <!--Conteudo da table Combo-->
    <!--Table3-->
    <table cellpadding="3" cellspacing="1" border="0" align="center" width="500">
    <tr>
    <td class="cabeceratitulo" colspan="2"><p class="titulotabla">Transfer&ecirc;ncia Conta a Conta para outras Institui&ccedil;&ocirc;es de Cr&eacute;dito</p></td>
    </tr>
    <tr>
    <td class="formgrisosc" width="100">
    <p class="dato">Conta Ordenante:  </p></td>
    <td class="formgrisosc" width="300">
         <%
    java.util.Vector v = (java.util.Vector)(datos.get("ListaCuentas"));
    java.util.Hashtable elem;
    java.util.Enumeration e = v.elements();
    %>
    <!--1� Select-->
    <select name="conta" size="1" class="formgrisosc">
    <%
    while (e.hasMoreElements()){
    elem = (com.ibm.dse.base.Hashtable)(e.nextElement());
    String cuenta = ((String)elem.get("s_banco")).trim() + "-"+((String)elem.get("s_oficina")).trim()+((String)elem.get("s_dcontrol")).trim()+((String)elem.get("s_num_cuenta")).trim();
    out.println("<option value=\"" + ((String)elem.get("s_tipo")) + "$" + ((String)elem.get("s_clave_asunto")) + "\">" + cuenta + "</option>");
    %>
    </select> <!--Fim do 1� Select-->
    </td>
    </tr>
    <tr>
    <td class="formgriscla" width="100"><p class="dato">Data de Processamento:</p></td>
    <td class="formgriscla">
    <input type="text" name="dia" size="2"class="formgriscla" value="<%=diaServer %>" maxlength="2" class="formgriscla"> / 
    <input type="text" name="mes" size="2"class="formgriscla" value="<%=mesServer %>" maxlength="2" class="formgriscla"> / 
    <input type="text" name="ano" size="4"class="formgriscla" value="<%=anoServer %>" maxlength="4" class="formgriscla"></td>
    <input type="hidden" name="dact" size="2"class="formgriscla" value="<%=diaServer %>" maxlength="2" class="formgriscla">
    <input type="hidden" name="mact" size="2"class="formgriscla" value="<%=mesServer %>" maxlength="2" class="formgriscla">
    <input type="hidden" name="aact" size="4"class="formgriscla" value="<%=anoServer %>" maxlength="4" class="formgriscla"></td>
    </tr>
    <tr>
    <td class="formgrisosc" width="100"><p class="dato">Moeda: </p></td>
    <td class="formgrisosc"><p class="dato">
    <!--Select 2�Ver este bem-->
    <select name="Moeda" size="1" class="formgrisosc">
    <option value="PTE" selected>Escudos</option>      
    <option value="EUR">Euros</option>
    </select> </p>
    </td>
    </tr>
    <tr>
    <td class="formgriscla" width="100"><p class="dato">Import&acirc;ncia:</p></td>
    <td class="formgriscla"><input type="text" name="importancia" size="20" maxlength="15" class="formgriscla"></td>
    </tr>
    <tr>
    <td class="formgrisosc" width="100"><p class="dato">Ref&ecirc;rencia:</p></td>
    <td class="formgrisosc"><input type="text" name="ref" size="15" maxlength="10" class="formgrisosc"></td>
    </tr>
    <tr>
    <td class="formgriscla" width="100"><p class="dato">NIB Benefici&aacute;rio:</p></td>
    <td class="formgriscla"><input type="text" name="nibBeneficiario" size="30" maxlength="21" class="formgriscla"></td>
    </tr>
    <tr>
    <td class="formgrisosc" width="100"><p class="dato">Descri&ccedil;&atilde;o p/ Conta D&eacute;bito:</p></td>
    <td class="formgrisosc"><input type="text" name="debito" size="45" maxlength="45" class="formgrisosc"></td>
    </tr>
    <tr>
    <td class="formgriscla" width="100"><p class="dato">Descri&ccedil;&atilde;o p/ Conta Cr&eacute;dito:</p></td>
    <td class="formgriscla"><input type="text" name="credito" size="45" maxlength="45" class="formgriscla"></td>
    </tr>
    <tr>
    <td class="cabecera" colspan="2"><img src="images/1x1.gif" width=1 height=3 border="0"></td>
    </tr>
    </table> <!--Fim do table 3-->
    </center> <!--Fim do 3�center-->
    <center> <!--Inicio do 4� Center-->
    <!--Inicio da table 4�-->
    <table border="0" cellspacing="2" cellpadding="0">
    <tr>
    <td valign="top"><img src="images/limpar.gif" border="0" alt="Apagar"></td>
    <td valign="top"><img src="images/continuar.gif" border="0" alt="Continuar"></td>
    </tr>
    </table> <!--Fim do 4� Table-->
    </form> <!--Fim do FORM-->
    </center> <!--Fim do 4� Center-->
    </body> <!--Fim do BODY-->
    </html> <!--Fim do Html-->
    Thanks pepole!

    thanks people! when i try to validate the action "PTE" he gaves me (if i put a ALERT...) null.
    the js code is : (Moeda is coin )
    //testa amount
    // var ent = (f.amount.value);
    var tamanho = f.amount.value.length;
    var valor = f.amount.value;
    decimals = 2; // Apenas pode ter duas casas decimais?
    if (((tamanho == 0) || (valor == 0)) && ok)
    alert ("A import�ncia tem de ser maior que zero.");
    f.amount.focus();
    f.amount.select();
    ok = false;
    else
         alert(f.Moeda.value);
    if((f.Moeda.value=="PTE") && ok)
    for (j = 0; j < tamanho; j++)
    xx = valor.charAt(j);     
         if ((!(xx.match(numeroER)) && ok))
    alert ("O Campo Import�ncia deve ser num�rico inteiro.");     
         f.amount.focus();
         f.amount.select();
         ok = false;
              //if para limitar valor dos Escudos      
         if (ok)
         if (eval(valor) > 1000000)
         alert ("The field amount must be maxium 1 000 000 Pte.");     
         f.amount.focus();
         f.amount.select();
         ok = false;
    else
         if (ok)
              //function checkDecimals(f.amount, f.importancia.value) {
              if (isNaN(valor)) {
                   alert("O Campo Import�ncia deve ser num�rico e como separador decimal, o ponto.");
                   f.amount.select();
                   f.amount.focus();
                   ok = false;
              else {
                   timeshundred = parseFloat(valor * Math.pow(10, decimals));
                   integervalue = parseInt(parseFloat(valor) * Math.pow(10, decimals));
                   if (timeshundred != integervalue)
                   alert ("Apenas pode ter " + decimals + " casas decimais. Por favor tente outra vez.");
                   f.amount.select();
                   f.amount.focus();
                   ok = false;
              if (ok)
              {  //if to limit the value of the  Euros
         if(eval(valor) > 4988)
    alert ("The field amount must be maxium 4988 Eur.");     
         f.amount.focus();
         f.amount.select();
         ok = false;
    }//end of amount

  • Having problem with change of name in the datagrid Coding

    I am having problem with changing the name of the datagrid header text name for one of the data either in the flash file or the php file.
    The thing is i want to change the Course_Name to Course Name that has no underscore so that it will look nicer in the datagrid but if I change it in the php file like SELECT Course_Name as 'Course Name' ....., it will not turn out in the datagrid when I CTRL ENTER the flash file but the others like Price,description and display is shown.
    There is no problem with my php code but I do not know how to change the Course_Name into Course Name so please help me resolve this error that I am having.
    This is my flash code
      function goCourse(e : MouseEvent):void
      gotoAndStop(5);
      refreshResponder = new Responder (refreshSuccess, onFault);
      connection = new NetConnection ();
      connection.connect (gateway);
      dataDG.addEventListener (Event.CHANGE, gridItemSelected);
      refreshData (true);
      function gridItemSelected (e: Event): void {
      ID = e.target.selectedItem.ID;
      courseTxt.text = e.target.selectedItem.Course_Name;
      priceTxt.text = e.target.selectedItem.Price;
      descTxt.text = e.target.selectedItem.Description;
      private function getParams () {
      var param: Object = new Object ();
      param.ID = ID;
      param.Course_Name = courseTxt.text;
      param.Price = priceTxt.text;
      param.Description = descTxt.text;
      return param;
      private function refreshData (refresh: Boolean): void {
      if (refresh)
      connection.call ("Course.viewCourse", refreshResponder);
      private function refreshSuccess (result: Object): void {
      dataDG.dataProvider = RecordSetDP.toDataProvider (result);
         dataDG.columns = ["Course_Name","Price","Description","Display"];
      private function onFault (fault: Object): void {
      trace (String (fault.description));
    This is my php file code.
      function viewCourse()
      $this->connect();
      $sql = "SELECT Course_Name,Price,Description,Display
      FROM coursetb";
      return mysql_query($sql,$this->_connection);

    i don't see where you're calling your php file in your code, but change 'Course Name' to 'Course_Name' (or vice-versa) there.

  • Problems with Row_Number function

    I am having problems with the Row_Number function. I am using it to assign row numbers to records where a student has a grade of pass on a module and excluding failed modules (I want it to show a 0 as row number for failed modules). The problem is that when I try to use a condition, the report still assigns a row number to a failed module though it doesnt display it (it displays a 0 which I wanted it to show). The results appear as follows:
    Row number
    Module
    Grade
    1
    ModuleA
    Pass
    2
    ModuleB
    Pass
    0
    ModuleC
    Fail
    4 (instead of 3)
    ModuleD
    Pass
    How can I make it skip assigning a row number to all failed modules? Please assist.
    Thanks.

    It is tricky to use rownum. Because if we generate sequence no by select max(column)+1  from table name ..we can match the where condition and assign the incremented value to the PASS condition.
    On the other hand rownum generates a sequence while it is fetching the records one by one so obviously you get the above result only So i will give you an idea to fetch the records of 'PASS' condition first.
    Take a look at the below query and alter it and use it on your report.
    select a,b,c from (
    select  0 a,module b, grade c from table where grade = 'FAIL'
    union all
    select rownum a,module b, grade c from table where grade = 'PASS' order by b)
    order by a
    So the above query generates row number only for the PASS condition.
    Hope this helps...
    Regards,
    Soofi.

  • Hi everyone. I have just started having problems with iCal.  Events that I thought I had deleted are appearing on Print Preview and on print outs. Likewise Events which I have not deleted have disappeared from my calenders, but appear in print preview.

    Hi everybody. I have recently started having problems with iCal (Version 2.05 (1069). Events that I thought I had deleted appear in Print Preview and Print Outs. Likewise Events that I have not deleted have disappeared from my calender (Month View) but appear in Print Preview and Print Outs. I see that there have been similar problems with Events disappearing especially in Month View. I wondered how print preview seemrd to be picking everything up deleted or not, and what the solution may be?. First time of Posting. I hope I haven't embarassed myself.

    Hmmmm.
    At the very least there must be a "com.apple.ical.plist"...iCal would not function without it.
    Click on the Finder icon in the dock
    Click on Go > Home
    Double-click Library
    Double-click Preferences
    Look for a file called "com.apple.ical.plist" and remove it to the trash.

  • I'm having problems with quizzes in Adobe Presenter 10

    I'm having problems with quizzes in Adobe Presenter 10, upon publishing, the text just disappears and the buttons look weird, also the text on submit buttons doesn't show?

    I created a dummy test project with one slide and two quiz questions.  I uploaded to a Connect 9 server for AICC testing.
    Publishing as SCORM, running in IE8 gets the following results:
    Publishing as SWF gets me the following errors:
              Webpage error details
              User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; MS-RTC LM 8; InfoPath.3)
              Timestamp: Mon, 11 May 2015 20:53:59 UTC
              Message: Expected identifier, string or number
              Line: 101
              Char: 5
              Code: 0
              URI:<REDACTED>/data/html/presenter.libs.js
    After I close this error, my LMS just churns trying to load SCORM.htm.
    Publishing as Both gets me the following errors:
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; MS-RTC LM 8; InfoPath.3)
    Timestamp: Mon, 11 May 2015 21:07:30 UTC
    Message: Expected identifier, string or number
    Line: 1
    Char: 467
    Code: 0
    URI: <REDACTED>/data/html/Project.js
              Webpage error details
              User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; MS-RTC LM 8; InfoPath.3)
              Timestamp: Mon, 11 May 2015 20:53:59 UTC
              Message: Expected identifier, string or number
              Line: 101
              Char: 5
              Code: 0
              URI:<REDACTED>/data/html/presenter.libs.js
    After this error I get an object expected error on the "loadPrContent()" function in the SCORM_utilities.js.
    After that it's just a blank page.
    Publishing AICC to a Connect 9 server, publish as BOTH, Accessing in IE8 gets the following results:
                   Webpage error details
                   User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; MS-RTC LM 8; InfoPath.3)
                   Timestamp: Tue, 12 May 2015 19:19:45 UTC
                   Message: Expected identifier, string or number
                   Line: 1
                   Char: 394
                   Code: 0
                   URI:<redacted>/output/data/html/Project.js
                   Webpage error details
                   User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; MS-RTC LM 8; InfoPath.3)
                   Timestamp: Tue, 12 May 2015 19:21:49 UTC
                   Message: Expected identifier, string or number
                   Line: 101
                   Char: 5
                   Code: 0
                   URI: <redacted>/output/data/html/presenter.libs.js
                   Webpage error details
                   User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; MS-RTC LM 8; InfoPath.3)
                   Timestamp: Tue, 12 May 2015 19:23:00 UTC
                   Message: Syntax error
                   Line: 1
                   Char: 1
                   Code: 0
                   URI: <redacted>/output/data/resources/ha/wr_/OpenAjaxManagedHub-all.js
    After closing the final error message, I get a blank screen.

  • Our school is having problems with Java.

    Our school is having problems with Java.  We cannot open our gradebooks which require jnlp or java to open.  They worked until January 31 and then quit.  I uploaded the Java from oracle but it doesn't open anything it just keeps running.  Any ideas?

    See  Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality. That might be what you need, not Java 7.

Maybe you are looking for

  • Error in interface mapping  when calling a xsl file

    Hi, Using XSLT I am calling another XSL file  into my main xsl file.I have added both the zip files into  a single zip file and imported in my imported archive.But when i do the interface mapping testing i get an error 'Transformer configuration exce

  • How to attach files from other desk tops to my emails

    Can you please help me work out why I am not allowed to access files and folders on other users desktops on my imac? Thanks. Andrew

  • How to open PDF or Word Doc or JPEG in a browser using JSF

    On submit action, I read the byte array data. Along with byte array, I do get the property information like what the bytearray stands for like PDF or Word or JPG etc. How can I display or open this data in the browser accordingly. An action in JSF is

  • RFC synchronous error HTTP

    We have a strange problem. We try a simple scenario file-->RFC (Bapi) (synchronous). But it won't work, in asynchronous way it is no problem, that works great. The strangest thing is that we don't get the 2 messages on the monitor (in asynchronous wa

  • Next Row in SMARTFORM

    hi all am printing a line in smartform with field GS_it_KOND_W-vtext but displaying the first line in that field..but my requirement is i need only second line to be printed.please pass on the code...like how can i print the line that is der in the n