LIKE operator is not working in SQL Query in XML file

Hi Gurus,
LIKE operator is not working in SQL query in XML template.
I am creating a PDF report in ADF using Jdeveloper10g. The XML template is as follows
<?xml version="1.0" encoding="WINDOWS-1252" ?>
<dataTemplate name="catalogDataTemplate" description="Magazine
Catalog" defaultPackage="" Version="1.0">
<parameters>
<parameter name="id" dataType="number" />
<parameter name="ename" dataType="character" />
</parameters>
<dataQuery>
<sqlStatement name="Q1">
<![CDATA[
   SELECT ename, empno, job, mgr from EMP where deptno=:id and ename LIKE :ename || '%']]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="EmployeeInfo" source="Q1">
<element name="EmployeeName" value="ename" />
<element name="EMPNO" value="empno" />
<element name="JOB" value="job"/>
<element name="MANAGER" value="mgr" />
</group>
</dataStructure>
</dataTemplate>
if i pass the parameter value of :ename from UI, it doesn't filter. But if I give ename = :ename it retrieves the data. Can anyone help me why LIKE operator doesn't work here?
Appreciate your help,
Shyamal
email: [email protected]

Hi
Well for a start, you are doing some very strange conversions there. For example...
and to_char(a.msd, 'MM/DD/YYYY') != '11/11/2030'
and to_char(a.msd, 'MM/DD/YYYY') != '10/10/2030'If a.msd is a date then you should e converting on the other side ie.
and a.msd != TO_DATE('11/11/2030', 'MM/DD/YYYY')
and a.msd != TO_DATE('10/10/2030', 'MM/DD/YYYY')Also, you may want to take into consideration nothing being input in :P2_ITEM_NUMBER like this...
AND INSTR(a.item_number,NVL(:P2_ITEM_NUMBER,a.item_number)) > 0Is item number actually a number or char field? If it's a number, you want to explicitly convert it to a string for using INSTR like this...
AND INSTR(TO_CHAR(a.item_number),NVL(TO_CHAR(:P2_ITEM_NUMBER),TO_CHAR(a.item_number))) > 0?
Cheers
Ben

Similar Messages

  • Hyper links not working in SQL Query in Version 1.6 using htf.anchor

    hi All
    have written a sql query to generate a hyperlink with htf.anchor and not able to generate the links for the same
    following is the query:
    select HTF.ANCHOR('F?P=119:1:'||:APP_SESSION,'ADMIT =&gt;')
    ||COMPANY_NAME AS "AUTHORIZED VISITORS" from
    company_details
    any help is appreciated....
    thanks in advance
    Sukhmani

    Hi Scott
    The Hyperlinks are not getting generated...after using HTF.ANCHOR and was working fine with 1.5 after upgarding to 1.6 its just showing the <A href> as it is without the hyperlink.
    The first one i was trying in the SQL workshop and the second one is 'm using in the code itself.
    'm not able to c the hyperlinks at runtime
    its showing it as
    $ 0 Total Support
    after using the code
    select htf.anchor('f?p=119:8:'||:app_session,'$'||lpad(nvl(sum(apps_revenue+tech_revenue),0),10,' ')) ||lpad('Total Support',50,' ')
    from company_details
    where duns_no=:P3_DUNS_NO or
    duns_no in (select duns_no from company_details where upper(company_name) like upper(:P3_COMPANIES))

  • Like Operator is not working

    Hi have a table BACKLOG where i have a column called item_number
    I have made report on this table and i have included all item_number. Now i have to create another set of reports where i have to exclude records on basis of item_number.
    For this i have made a static lov which is having values like SERVICE,SAMPLE,EBV
    The item_number is db contains SERVICE,SAMPLE,EBV in them. Examples are
    SERVICE WFR SEN
    SERVICE NRE SEN
    SAMPLE NRE SEN
    SAMPLE WFR SEN
    EBV NRE SEN
    EBV WFR SEN
    In my report i am using the like operator as
    and a.item_number like '%:P2_ITEM_NUMBER%'
    [/CODE]
    I have used the :P2_ITEM_NUMBER because i have a select list in the report page.
    Apart of it i want one more query to exclude the selected value of :P2_ITEM_NUMBER from report
    Thanks in advance
    Regards                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi
    Well for a start, you are doing some very strange conversions there. For example...
    and to_char(a.msd, 'MM/DD/YYYY') != '11/11/2030'
    and to_char(a.msd, 'MM/DD/YYYY') != '10/10/2030'If a.msd is a date then you should e converting on the other side ie.
    and a.msd != TO_DATE('11/11/2030', 'MM/DD/YYYY')
    and a.msd != TO_DATE('10/10/2030', 'MM/DD/YYYY')Also, you may want to take into consideration nothing being input in :P2_ITEM_NUMBER like this...
    AND INSTR(a.item_number,NVL(:P2_ITEM_NUMBER,a.item_number)) > 0Is item number actually a number or char field? If it's a number, you want to explicitly convert it to a string for using INSTR like this...
    AND INSTR(TO_CHAR(a.item_number),NVL(TO_CHAR(:P2_ITEM_NUMBER),TO_CHAR(a.item_number))) > 0?
    Cheers
    Ben

  • JSP Servlet and convert the result set of an SQL Query To XML file

    Hi all
    I have a problem to export my SQL query is resulty into an XML file I had fixed my servlet and JSP so that i can display all the records into my database and that the goal .Now I want to get the result set into JSP so that i can create an XML file from that result set from the jsp code.
    thisis my servlet which will call the jsp page and the jsp just behind it.
    //this is the servlet
    import java.io.*;
    import java.lang.reflect.Array;
    import java.sql.*;
    import java.util.ArrayList;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.naming.*;
    import javax.sql.*;
    public *class *Campaign *extends *HttpServlet
    *private* *final* *static* Logger +log+ = Logger.+getLogger+(Campaign.*class*.getName());
    *private* *final* *static* String +DATASOURCE_NAME+ = "jdbc/SampleDB";
    *private* DataSource _dataSource;
    *public* *void* setDataSource(DataSource dataSource)
    _dataSource = dataSource;
    *public* DataSource getDataSource()
    *return* _dataSource;
    *public* *void* init()
    *throws* ServletException
    *if* (_dataSource == *null*) {
    *try* {
    Context env = (Context) *new* InitialContext().lookup("java:comp/env");
    _dataSource = (DataSource) env.lookup(+DATASOURCE_NAME+);
    *if* (_dataSource == *null*)
    *throw* *new* ServletException("`" + +DATASOURCE_NAME+ + "' is an unknown DataSource");
    } *catch* (NamingException e) {
    *throw* *new* ServletException(e);
    protected *void *doGet(HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException
    Connection conn = *null*;
    *try* {
    conn = getDataSource().getConnection();
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("select post_id,comments,postname from app.posts");
    // out.println("Le r&eacute;sultat :<br>");
    ArrayList <String> Lescomments= *new* ArrayList<String>();
    ArrayList <String> Lesidentifiant = *new* ArrayList<String>();
    ArrayList <String> Lesnoms = *new* ArrayList <String>();
    *while* (rs.next()) {
    Lescomments.add(rs.getString("comments"));
    request.setAttribute("comments",Lescomments);
    Lesidentifiant.add(rs.getString("post_id"));
    request.setAttribute("id",Lesidentifiant);
    Lesnoms.add(rs.getString("postname"));
    request.setAttribute("nom",Lesnoms);
    rs.close();
    stmt.close();
    *catch* (SQLException e) {
    *finally* {
    *try* {
    *if* (conn != *null*)
    conn.close();
    *catch* (SQLException e) {
    // les param&egrave;tres sont corrects - on envoie la page r&eacute;ponse
    getServletContext().getRequestDispatcher("/Campaign.jsp").forward(request,response);
    }///end of servlet
    }///this is the jsp page called
    <%@ page import="java.util.ArrayList" %>
    <%
    // on r&eacute;cup&egrave;re les donn&eacute;es
    ArrayList nom=(ArrayList)request.getAttribute("nom");
    ArrayList id=(ArrayList)request.getAttribute("id");
    ArrayList comments=(ArrayList) request.getAttribute("comments");
    %>
    <html>
    <head>
    <title></title>
    </head>
    <body>
    Liste des campagnes here i will create the xml file the problem is to display all rows
    <hr>
    <table>
    <tr>
    </tr>
    <tr>
    <td>Comment</td>
    <td>
    <%
    for( int i=0;i<comments.size();i++){
    out.print("<li>" + (String) comments.get(i) + "</li>\n");
    }//for
    %>
    </tr>
    <tr>
    <td>nom</td>
    <td>
    <%
    for( int i=0;i<nom.size();i++){
    out.print("<li>" + (String) nom.get(i) + "</li>\n");
    }//for
    %>
    </tr>
    <tr>
    <td>id</td>
    <td>
    <%
    for( int i=0;i<id.size();i++){
    out.print("<li>" + (String) id.get(i) + "</li>\n");
    }//for
    %>
    </tr>
    </table>
    </body>
    </html>
    This is how i used to create an XML file in a JSP page only without JSP/SERVLET concept:
    <%@ page import="java.sql.*" %>
    <%@ page import="java.io.*" %>
    <%
    // Identify a carriage return character for each output line
    int iLf = 10;
    char cLf = (*char*)iLf;
    // Create a new empty binary file, which will content XML output
    File outputFile = *new* File("C:\\Users\\user\\workspace1\\demo\\WebContent\\YourFileName.xml");
    //outputFile.createNewFile();
    FileWriter outfile = *new* FileWriter(outputFile);
    // the header for XML file
    outfile.write("<?xml version='1.0' encoding='ISO-8859-1'?>"+cLf);
    try {
    // Define connection string and make a connection to database
    Connection conn = DriverManager.getConnection("jdbc:derby://localhost:1527/SAMPLE","app","app");
    Statement stat = conn.createStatement();
    // Create a recordset
    ResultSet rset = stat.executeQuery("Select * From posts");
    // Expecting at least one record
    *if*( !rset.next() ) {
    *throw* *new* IllegalArgumentException("No data found for the posts table");
    outfile.write("<Table>"+cLf);
    // Parse our recordset
    // Parse our recordset
    *while*(rset.next()) {
    outfile.write("<posts>"+cLf);
    outfile.write("<postname>" + rset.getString("postname") +"</postname>"+cLf);
    outfile.write("<comments>" + rset.getString("comments") +"</comments>"+cLf);
    outfile.write("</posts>"+cLf);
    outfile.write("</Table>"+cLf);
    // Everything must be closed
    rset.close();
    stat.close();
    conn.close();
    outfile.close();
    catch( Exception er ) {
    %>

    Please state your problem that you are having more clearly so we can help.
    I looked at your code I here are a few things you might consider:
    It looks like you are putting freely typed-in comments from end-users into an xml document.
    The problem with this is that the user may enter characters in his text that have special meaning
    to xml and will have to be escaped correctly. Some of these characters are less than character, greater than character and ampersand character.
    You may also have a similiar problem displaying them on your JSP page since there may be special characters that JSP has.
    You will have to read up on how to deal with these special characters (I dont remember what the rules are). I seem to recall
    if you use CDATA in your xml, you dont have to deal with those characters (I may be wrong).
    When you finish writing your code, test it by entering all keyboard characters to make sure they are processed, stored in the database,
    and re-displayed correctly.
    Also, it looks like you are putting business logic in your JSP page (creating an xml file).
    The JSP page is for displaying data ONLY and submitting back to a servlet. Put all your business logic in the servlet. Putting business logic in JSP is considered bad coding and will cause you many hours of headache trying to debug it. Also note: java scriptlets in a JSP page are only run when the JSP page is compiled into a servlet by java. It does not run after its compiled and therefore you cant call java functions after the JSP page is displayed to the client.

  • No in not working in SQL Query

    Hii all ,
    I have one query 
    Select  FILE_ID,SCHEME_NAME FROM dbo.FILE_MASTER
    INNER JOIN  dbo.SCHEME_MASTER ON dbo.FILE_MASTER.SCHEME_ID = dbo.SCHEME_MASTER.SCHEME_ID
    WHERE dbo.FILE_MASTER.DEPARTMENT_ID=3
    this returns 
    FILE_ID SCHEME_NAME
    897 5
    898 10
    899 5
    900 10
    901 5
    902 10
    903 5
    904 10
    905 5%
    906 10%
    .. Scheme_name is nvarchar field..
    now as per my requirement i want to return the rows from scheme_master where scheme_name not matches with the result of above query 
    .. sub query is 
    SELECT SCHEME_NAME FROM  dbo.SCHEME_MASTER WHERE DEPARTMENT_ID=3 AND SCHEME_NAME IS NOT NULL
    this returns ..
    SCHEME_NAME
    5
    10
    6
    4
    15
    2
    not a single null value returning by sub query ..
    Now,
    Select  FILE_ID,SCHEME_NAME FROM dbo.FILE_MASTER
    INNER JOIN  dbo.SCHEME_MASTER ON dbo.FILE_MASTER.SCHEME_ID = dbo.SCHEME_MASTER.SCHEME_ID
    WHERE dbo.FILE_MASTER.DEPARTMENT_ID=3
    AND SCHEME_NAME IN 
    (SELECT SCHEME_NAME FROM  dbo.SCHEME_MASTER WHERE DEPARTMENT_ID=3 AND SCHEME_NAME IS NOT NULL)
    gives the same result as first query 
    FILE_ID
    SCHEME_NAME
    897
    5
    898
    10
    899
    5
    900
    10
    901
    5
    902
    10
    903
    5
    904
    10
    905
    5%
    906
    10%
    now when i specify Not in query returns nothing ..
    why not it is returning non -matching schemes ??
    please clear .. i have also tried left join where approach ..
    Dilip Patil..

    Thanks visakh ..
    same result which i have with In and Not in ..
    here exist returns the matching but not exist returns nothing ..
    Dilip Patil..
    Did you try it correctly? Visakh's solution will work.
    Check the below, If you are looking for something else, please elaborate.
    create Table SCHEME_MASTER(SCHEME_ID int, SCHEME_NAME nvarchar(100), DEPARTMENT_ID int)
    create Table FILE_MASTER(FILEE_ID int,SCHEME_ID int, DEPARTMENT_ID int)
    Insert into SCHEME_MASTER Values(500,5,3),(500,NULL,3),(600,6,3)
    Insert into FILE_MASTER Values(5000,500,3),(5001,500,3),(6001,600,3)
    Select FILEE_ID,SCHEME_NAME FROM dbo.FILE_MASTER
    INNER JOIN dbo.SCHEME_MASTER A1 ON dbo.FILE_MASTER.SCHEME_ID = A1.SCHEME_ID
    WHERE dbo.FILE_MASTER.DEPARTMENT_ID=3
    AND not exists
    (SELECT 1 FROM dbo.SCHEME_MASTER A WHERE DEPARTMENT_ID=3 AND SCHEME_NAME IS NOT NULL and A.SCHEME_NAME = A1.SCHEME_NAME)
    Drop table SCHEME_MASTER,FILE_MASTER
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped.
     [Blog]

  • (Substitution Variables) not working in "SQL Developer" Environment !!!!!!!

    this photo illustrate how that (Substitution Variables) not working in "SQL Developer" Environment :-
    http://www.imagehosting.com/show.php/1555180_ddddd.PNG.html
    any solve for this problem ?????!!!!!!!!!!

    There is a dedicated forum for SQL Developer related questions
    SQL Developer
    I should admit however, that query you have provided ( with substitution variables) works like a charme in my environment (SQL Developer 1.1.0.23 build 23.64)
    Best regards
    Maxim

  • Delete operation is not working to delete selected row from ADF table

    Hi All,
    We are working on jdev 11.1.1.5.3. We have one ADF table as shown below. My requirement is to delete a selected row from table, but it is deleting the first row only.
    <af:table value="#{bindings.EventCalendarVO.collectionModel}" var="row"
    rows="#{bindings.EventCalendarVO.rangeSize}"
    emptyText="#{bindings.EventCalendarVO.viewable ? applcoreBundle.TABLE_EMPTY_TEXT_NO_ROWS_YET : applcoreBundle.TABLE_EMPTY_TEXT_ACCESS_DENIED}"
    fetchSize="#{bindings.EventCalendarVO.rangeSize}"
    rowBandingInterval="0"
    selectedRowKeys="#{bindings.EventCalendarVO.collectionModel.selectedRow}"
    selectionListener="#{bindings.EventCalendarVO.collectionModel.makeCurrent}"
    rowSelection="single" id="t2" partialTriggers="::ctb1 ::ctb3"
    >
    To perform delete operation i have one delete button.
    <af:commandToolbarButton
    text="Delete"
    disabled="#{!bindings.Delete.enabled}"
    id="ctb3" accessKey="d"
    actionListener="#{AddNewEventBean. *deleteCurrentRow* }"/>
    As normal delete operation is not working i am using programatic approach from bean method. This approach works with jdev 11.1.1.5.0 but fails on ver 11.1.1.5.3
    public void deleteCurrentRow (ActionEvent actionEvent) *{*               DCBindingContainer bindings =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding dcItteratorBindings =
    bindings.findIteratorBinding("EventCalendarVOIterator");
    // Get an object representing the table and what may be selected within it
    ViewObject eventCalVO = dcItteratorBindings.getViewObject();
    // Remove selected row
    eventCalVO.removeCurrentRow();
    it is removing first row from table still. Main problem is not giving the selected row as current row. Any one point out where is the mistake?
    We have tried the below code as well in deleteCurrentRow() method
    RowKeySet rowKeySet = (RowKeySet)this.getT1().getSelectedRowKeys();
    CollectionModel cm = (CollectionModel)this.getT1().ggetValue();
    for (Object facesTreeRowKey : rowKeySet) {
    cm.setRowKey(facesTreeRowKey);
    JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding)cm.getRowData();
    rowData.getRow().remove();
    The same behavior still.
    Thanks in advance.
    Rechin
    Edited by: 900997 on Mar 7, 2012 3:56 AM
    Edited by: 900997 on Mar 7, 2012 4:01 AM
    Edited by: 900997 on Mar 7, 2012 4:03 AM

    JDev 11.1.1.5.3 sounds like you are using oracle apps as this not a normal jdev version.
    as it works in 11.1.1.5.0 you probably hit a bug which you should file with support.oracle.com...
    Somehow you get the first row instead of the current row (i guess). You should debug your code and make sure you get the current selected row in your bean code and not the first row.
    This might be a problem with the bean scope too. Do you have the button (or table) inside a region? Wich scope does the bean have?
    Anyway you can try to remove the iterator row you get
    public void deleteCurrentRow (ActionEvent actionEvent) { DCBindingContainer bindings =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding dcItteratorBindings =
    bindings.findIteratorBinding("EventCalendarVOIterator");
    dcItteratorBindings.removeCurrentRow();Timo

  • Database Mail not working with SQL Server Agent

    I'm running SQL Server 2005 Standard edition 64 bit with SP2 on a 64 bit machine. 
    Database mail does not work with SQL Server Agent.  When I configure SQL Server Agent to use database mail the test email button is greyed out and inactive therefore I cannot send emails using operators or for jub success failure etc. 
    I've read that there was supposed to be a fix for this with SP1 but I have SP2 and still receive the same problem.  Please can somebody help as I do not wish to use SQL Mail as a work around due to this becomming redundant in future versions of SQL Server.
    Kind Regards

    The problems solved
    steps:
    1)we create a mail profile at at Managment->Database Mail ,of SQL Managment
    2)we set this account as "default" at Managment->Database Mail -> Configure Database Mail -> Manage profile security
    3)At tab "Alert System" of SQL Server Agent properties , we check the "Enable mail profile" , Mail System=Database Mail, Mail profile = "the profile we already create"
    4)we create a new operator at "Operators" of sql agent, where at "notification options" -> "Email name" we put the mail where we want to sent the agent the mails at failured job
    5)We go at a specific job, at tab "Notifications" ,we check the "email" check box and then we choose the operator we just create, at the text box next to check box.
    I hope not to forget something
    Thank You all for the help

  • I had a repair done on my MacBook Pro and had to have a new hard drive installed. The Apple Auth Repair Shop then updated the OS from 10.6.8 to 10.7.5. Now my iPhoto v 9.2.3 will not open and it sounds like it will not work with this OS. Can you plea

    I had a repair done on my MacBook Pro and had to have a new hard drive installed. The Apple Auth Repair Shop then updated the OS from 10.6.8 to 10.7.5. Now my iPhoto v 9.2.3 will not open and it sounds like it will not work with this OS. Can you please advise?

    You may need many other updates to retain compatibility with Lion. I suggest you reinstall Snow Leopard. Unfortunately, you will need to erase the drive first. Be sure to backup your data if you haven't done so already.
    Clean Install of Snow Leopard
    Be sure to make a backup first because the following procedure will erase
    the drive and everything on it.
         1. Boot the computer using the Snow Leopard Installer Disc or the Disc 1 that came
             with your computer.  Insert the disc into the optical drive and restart the computer.
             After the chime press and hold down the  "C" key.  Release the key when you see
             a small spinning gear appear below the dark gray Apple logo.
         2. After the installer loads select your language and click on the Continue
             button. When the menu bar appears select Disk Utility from the Utilities menu.
             After DU loads select the hard drive entry from the left side list (mfgr.'s ID and drive
             size.)  Click on the Partition tab in the DU main window.  Set the number of
             partitions to one (1) from the Partitions drop down menu, click on Options button
             and select GUID, click on OK, then set the format type to MacOS Extended
             (Journaled, if supported), then click on the Apply button.
         3. When the formatting has completed quit DU and return to the installer.  Proceed
             with the OS X installation and follow the directions included with the installer.
         4. When the installation has completed your computer will Restart into the Setup
             Assistant. After you finish Setup Assistant will complete the installation after which
             you will be running a fresh install of OS X.  You can now begin the update process
             by opening Software Update and installing all recommended updates to bring your
             installation current.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.

  • Itunes 10 will not load on windows 7 64 bit. Error code 2324. Old Itunes is gone or not working. Cannot play anything although files are still there. What the ??? is error 2324. Seems like alot of people ar ehaving the same problem

    Itunes 10 will not load on windows 7 64 bit. Error code 2324. Old Itunes is gone or not working. Cannot play anything although files are still there. What the ??? is error 2324. Seems like alot of people ar ehaving the same problem

    I have had this problem with Windows 7 and iTunes updates for some time. Each time it takes hours to solve but with the over the air upgrade to IOS6 on my iPhone and iPad, I was determined to solve and remember what I did, So here it is:
    http://www.care4pcs.co.uk/2012/09/pear-shaped-apple-ios-6-for-iphone-ipad.html
    I hope this helps you and any other users.

  • Facebook like button is not working, I have used the muse widget and created code from facebook. Does anyone know how to get this to work?

    Facebook like button is not working, I have used the muse widget and created code from facebook. Does anyone know how to get this to work?

    Hi connally25,
    Below is a link to a video tutorial on how to add a Facebook Log button, please check if you have followed the same steps to add the video.
    http://tv.adobe.com/watch/learn-adobe-muse-cc/adding-a-facebook-like-button/
    If you have followed the steps correctly and the button still does not work; here is a link to a forum thread which might help solving the issue:
    Facebook Follow Widget not working
    Regards
    Sonam

  • EXEC SP_EXECUTESQL not working in sql server 2014

    EXEC SP_EXECUTESQL not working in sql server 2014

    EXEC SP_EXECUTESQL not working in sql server 2014
    Hi Amar,
    What's the error when executing this stored procedure?
    I have tested it on my local environment, we can run this SP without any problems.
    Please provide us more information, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Search options not working in SQL

    Hi,
    I have the Following SQL statement that filters for a Search
    Criteria and it works fine in MySQL 4
    SELECT *,MATCH (presentationID,presentationTitle,
    PresentationName,ProductlineName,
    LevelName,RoleName,presentationDescrip) AGAINST (SearchString IN
    BOOLEAN MODE)
    FROM tbpresentations
    WHERE MATCH (presentationID,presentationTitle,
    PresentationName,ProductlineName,LevelName,RoleName,presentationDescrip)
    AGAINST (SearchString IN BOOLEAN MODE)
    ORDER BY productfamilyName DESC
    The SearchString Variable has the following parameters:
    Name = SearchString
    Type = Text
    Default Value = -1
    Run-time Value = $SearchStringSQL
    updating to SQL 5 returns the error:
    MM_ERROR: MySQL Error#: 1054 Unknown column 'SearchString' in
    'field list'
    Any ideas?
    cheers

    That did not work. I deleted the MM Files and the error still
    returned.
    Again, Functionality is unaffected which is completely
    unusual for a coding environment.
    I have no access to the recordset bindings, so I handcoded
    the references instead, and it works fine.
    I took the issue to our worldwide Web Developement
    Department, as they are responsible for the Organisations Corporate
    and ECommerce Sites and they had a look. (I look after the Training
    Intranet)
    They use Visual Studio for the sites and I gave them all the
    code.
    They ran a debugger and found nothing wrong with the code,
    Which is why it runs fine.
    After a few hours of testing and retesting and checking all
    the lines of code (They get paid the big bucks) they concluded that
    the error is caused by a bug in Dreamweaver CS3 unable to parse or
    recognise changes to either MySQL Syntax or PHP 5.
    Dreamweaver has added the $SearchString variable as a Table
    Column in the Bindings for some daft reason based on the SQL
    Statement, which is causing the error. It also added another Column
    called 'Real', I have no idea where that was coming from. It also
    added a third Table field tothe Recordset bindings called MATCH.
    My Local testing Servers (3 of) all use WAMPserver 2 and
    generate the same eror.
    The live Intranet Server, which is a new Win2003 Dell Server,
    uses IIS6 and also generates the same error when I "test" it
    through CS3.
    So, I dusted off a copy of Dreamweaver 8 installed it, and
    guess what....no errors.
    They said the immortal words that programmers never say: "
    Ignore the error, it wont affect functionality".
    Just thought I'd let you know.
    cheers for the help.

  • File- Print not working from SQL Developer 1.2.1 Build MAIN-32.13

    File->Print not working from SQL Developer 1.2.1 Build MAIN-32.13.
    I downloaded sqldeveloper-1.2.1.3213.ZIP and extract to a local directory. From the extracted directory I ran ..\sqldeveloper\sqldeveloper.exe from Windows XP sp2. The program itself seems to run just fine but File-Print doesn't do anything. In Help-About, Java Platform is reported as 1.5.0_06 and Oracle IDE is 1.2.1.3213. I'm not sure where to look for what is causing the problem.
    Thanks

    I hadn't tried CTRL-P before but I did today. On the first attempt, I saw a small jump in the memory usage for sqldeveloper.exe as reported in Windows Task Manager. Otherwise, there was no change. A second CTRL-P in the same session produced a further bump but subsequent attempts in the same session produced no further change in CPU or Memory Usage.
    Using Task Manager to monitor this further, I tried File->Print again and saw that sqldeveloper would periodically climb to 1 or 2 percent CPU and consume a little more memory. After a minute or so, though, all activity stops again.
    I do not get a print dialog box from SQLDeveloper using either CTRL-P or File->Print

  • HT201407 The shake operation is not working on my iPhone, can anyone help me with it plz

    The shake operation is not working on my iPhone, can anyone help me with it plz

    All depnds what your using it for..  If it's an app, may be a delay in the app doing an update to be compaitible with iOS 6.  If its for an Apple app, then you need to check the settings for that specific app.

Maybe you are looking for