Stmt case answers column fx syntax error

Hello

I want to update the 'Project name' column that is of type VARCHAR to "Undefined" If the "Project_date" column has a value of January 1, 1900 12:00 "." I use the stmt case following answers column Fx of 'Project name' but do syntax error.

BOX WHEN "hand-made". "" Project_date "= January 1, 1900 12:00 ' THEN 'Undefined' ELSEWHERE 'hand made '. "' Project name ' END

Thanks for your time and your help.

Hi Ssk,

It should work. Please make sure once again that the underside of things in your query:

(1) 1st January 1900 12:00 - value exists in the column
(2) and remove all spaces between the column name and values.

Without spaces:

BOX WHEN "hand-made". "Project_date" = January 1, 1900 12:00 ' THEN 'Undefined' ELSEWHERE 'hand made' "." " The project name"END;

I would like to know if that works for you or not.

Thank you
-Laurence.

Tags: Business Intelligence

Similar Questions

  • Help! It drives me crazy. Report CASE (missing operator) statement syntax error

    Hello

    Can anyone help with this SQL statement please. It uses a CASE statement but again I get a syntax error (missing operator) error message. The SQL statement runs without the CASE statement, so everything else is fine - it's just when I put the CASE back statement in.

    Here is the SQL statement:-

    SELECT transactions.ourRef, transactions.transDate, CASE WHEN transactions.transTypeID = 2 THEN transactionDetails.goodsVatable *-1 ELSE transactionDetails.goodsVatable END, transactionDetails.goodsNonVat, transactionDetails.VAT, transactionDetails.grandTotal, clients.clientCode, transTypes.transTypeDesc
    Operations, customers, transactionDetails, transTypes
    WHERE transactions.transID = transactionDetails.transID
    AND transactions.clientID = clients.clientID
    AND transactions.transTypeID = transTypes.transTypeID

    TransID = 2 means that it is a credit not instead of a Bill, that's why I want the goods vatable returned as a negative number.

    Thanks in advance.

    Wez

    Quote:
    .. .the customer wish for me to use a MS Access db

    Too bad that you said that in a first time. I think you can consider using IIF() with access.

    Syntax: IIf (expr, truepart, falsepart)

    SELECT transactions.ourRef,
    transactions.transDate,
    IIf (transactions.transTypeID = 2, transactionDetails.goodsVatable *-1, transactionDetails.goodsVatable).
    transactionDetails.goodsNonVat,
    transactionDetails.VAT,
    transactionDetails.grandTotal,
    clients.clientCode,
    transTypes.transTypeDesc
    Operations, customers, transactionDetails, transTypes
    WHERE transactions.transID = transactionDetails.transID
    AND transactions.clientID = clients.clientID
    AND transactions.transTypeID = transTypes.transTypeID

    Phil

  • Syntax errors ARE with freeze/hang up FM

    Hello

    I keep running into cases where a small syntax error causes FM to freeze, as if there is a modal dialog box open except there is no dialog box. For example:

    doc = app. ActiveDoc();

    .. .This is bad due to the bracket, but instead to raise any errors, just FM freezes and I can't do it no frozen, except to kill it with Task Manager. Is there a way to prevent this gel, or at least it defrosts? It is getting boring reboot FM and reset locks, etc., with each small typo.

    Thank you

    Russ

    Hi Russ,

    I think that this will not help you, but I can reproduce this with app. ActiveDoc() and app. ActiveBook().

    With other properties, I get a correct runtime error 'app. AutoBackup() is not a function ".

    So, generally, it works as expected, but not in both cases.

    I think that it is a script engine problem in these two cases. There may be an invisible (private) method defined, which is used internally, I don't know.

    Good bye

    Markus

  • need to create a stmt case in SPR

    Hello

    Using obiee 10g,.
    I'm trying to create a SPR collar logic, using a case stmt.

    It's like
    sum (case when a! = 0, then another end b).

    and the problem is a and b columns I get 2 different tables.

    I can't do it in my report as do sum will give erroneous results at level so must be done at the level of the RPD only.

    So first I created a logical neck and expression edit I tried this stmt case but since diff taking 2 table since gives me error no mapping physical collar.
    Then I tried as with existing collar like source-case stmt is not ok no problem, but when I put the SUM his me gives error as using the obsolete?

    Is there a way I can do this in RPD?

    Thank you

    Hello

    In your RPD:

    (1) add TLM (source measurement logic mulptile) as below the screen short.then are you add column to table mulitple you are business condition

    See my screen,
    http://ImageShare.Web.ID/images/n7jxv3qkx87w62xy1kz.jpg

    (2) make a double column of a., b. and apply sum to this double column and
    (3) case now set you are in double column

    as below
    (1) provable:
    -case when table1.column_a! = 0 then other end table2.measure table1.measure

    (2) provable
    -case when 'GPC_DataMart '. "" "" GPC_DataMart '. "" """dbo"."" "" "IW_POSITION '." " Product_Type"NoT IN ('Bond', 'Links',"Redeemable bonds")
    then "GPC_DataMart". "" "" GPC_DataMart '. "" """dbo"."" "" "IW_POSITION '." " ' Nominal_AMT' another' GPC_DataMart '. "" "" GPC_DataMart '. "" """dbo"."" "" "MX_SPOT '." " END OF NON_DISC_SPOT ".

    Thank you

    Deva

  • Parse error: syntax error, unexpected $end

    I have the following code in a file to reformat the date.

    <?php do { 
    $timeDate = $row_rsIndex['timeDate'];
    $date = date("M j, Y",strtotime("$timeDate"));
    ?>
    

    When I use this code in another file to reformat the date, I get this error. "Parse error: syntax error, unexpected $end in /home/content/e/v/e/everfoundmusic/html/test/tour_main.php on line 148"

    Is that what the problem of ideas? I tried Googling it but has not found an answer.

    Here is the php.

    <?php require_once('Connections/everfoundapp.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
    {
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      }
    
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
    
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;    
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      }
      return $theValue;
    }
    }
    
    mysql_select_db($database_everfoundapp, $everfoundapp);
    $query_rsIndex = "SELECT * FROM tour WHERE timeDate >= CURDATE() ORDER BY timeDate DESC";
    $rsIndex = mysql_query($query_rsIndex, $everfoundapp) or die(mysql_error());
    $row_rsIndex = mysql_fetch_assoc($rsIndex);
    $totalRows_rsIndex = mysql_num_rows($rsIndex);
    
    $colname_rsDetails = "-1";
    if (isset($_GET['id'])) {
      $colname_rsDetails = $_GET['id'];
    }
    mysql_select_db($database_everfoundapp, $everfoundapp);
    $query_rsDetails = sprintf("SELECT * FROM tour WHERE id = %s", GetSQLValueString($colname_rsDetails, "int"));
    $rsDetails = mysql_query($query_rsDetails, $everfoundapp) or die(mysql_error());
    $row_rsDetails = mysql_fetch_assoc($rsDetails);
    $totalRows_rsDetails = mysql_num_rows($rsDetails);
    ?>
    
    
    <?php do { 
    $timeDate = $row_rsIndex['timeDate'];
    $date = date("M j, Y",strtotime("$timeDate"));
    ?>
              
    
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Tour Schedule</title>
    <link href="style_tour_main.css" rel="stylesheet" type="text/css" />
    </head>
    
    <body>
    <?php
    // Show IF id not sent
    if (@$_GET['id'] == "") {
    ?>
    
    <table width="608" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <th width="60" align="left" valign="top" scope="row"><strong>Date</strong></th>
        <td width="150" align="left" valign="top"><strong>City | State</strong></td>
        <td width="247" height="30" align="left" valign="top"><strong>Venue</strong></td>
        <td width="161" align="left" valign="top"><strong>Info</strong></td>
      </tr>
    </table>
    <!-- START index -->
        
         <table width="608" border="0" cellpadding="0" cellspacing="0">
             
          <?php do { ?>
          <tr>
                <td width="60" height="19" align="left" valign="top"><a href="tour_main.php?id=<?php echo $row_rsIndex['id']; ?>"><?php echo $row_rsIndex['timeDate']; ?><br />
                </a></td>
    <td width="150" align="left" valign="top"><a href="tour.php?id=<?php echo $row_rsIndex['id']; ?>"> </a><a href="tour_main.php?id=<?php echo $row_rsIndex['id']; ?>"><?php echo $row_rsIndex['addrCity']; ?>, </a><a href="tour_main.php?id=<?php echo $row_rsIndex['id']; ?>"><?php echo $row_rsIndex['addrState']; ?></a></td>
            <td width="247" align="left" valign="top"><a href="tour_main.php?id=<?php echo $row_rsIndex['id']; ?>"><?php echo $row_rsIndex['venue']; ?></a></td>
            <td width="161" align="left" valign="top"><a href="tour_main.php?id=<?php echo $row_rsIndex['id']; ?>"><em>MORE INFO</em></a></td>
          </tr>
          <tr>
            <td colspan="4" align="left" valign="top" class="space">  </td>
          </tr>
          <?php } while ($row_rsIndex = mysql_fetch_assoc($rsIndex)); ?>
    </table>
    <!-- END index -->
    
    
    <!-- START details -->
    <? } else { ?>
    
    
    <h6><a href="tour_main.php">&laquo; Back to Tour Schedule</a></h6>
    <h1><?php echo $row_rsDetails['timeDate']; ?> - <?php echo $row_rsDetails['addrCity']; ?>, <?php echo $row_rsDetails['addrState']; ?></h1>
    
    <table cellspacing="4">
      <tr>
             <td width="61"><b>Time:</b></td>
            <td width="207" class="dtext"><?php echo $row_rsDetails['timeTime']; ?></td>
        </tr>
        
        <tr>
             <td><b>Venue:</b></td>
            <td class="dtext"><?php echo $row_rsDetails['venue']; ?></td>
        </tr>
        
        <tr>
             <td valign="top"><b>Location:</b></td>
            <td class="dtext"><?php echo $row_rsDetails['addrAddress']; ?><br />
                   <?php echo $row_rsDetails['addrCity']; ?>, <?php echo $row_rsDetails['addrState']; ?> <?php echo $row_rsDetails['addrZip']; ?><br />
           <?php echo $row_rsDetails['addrCountry']; ?></td>
        </tr>
        
        <tr>
             <td><b>Cost:</b></td>
            <td class="dtext">$<?php echo $row_rsDetails['cost']; ?></td>
        </tr>
        
        <tr>
             <td valign="top"><b>Details:</b></td>
            <td class="dtext"><?php echo $row_rsDetails['description']; ?></td>
        </tr>
    </table>
    
    
    <?php }
    // endif id is sent
    ?>
    <!-- END details -->
    </body>
    </html>
    <?php
    mysql_free_result($rsIndex);
    
    mysql_free_result($rsDetails);
    ?>
    

    Hello.. You should change it

    
    
         

    for this

    
    
         
    ">
    $timeDate = $row_rsIndex['timeDate']; $date = date("M j, Y",strtotime("$timeDate")); ?>
  • Downgrade from Windows 7 to XP. "Syntax error in the .sif file.

    Every afternoon.

    I wasn't totally sure what forum to put this in.

    My boss bought a new laptop of A11 - 11: my my line manager and asked that he be demoted to XP and put it on our network. (usually, it didn't network.)

    It's Windows 7, so I know that's not easy to downgrade.

    I changed the SATA setting in bios compatibility (IDE) and that allowed me to start running the installation CD.

    Then, I got this error;

    "There is a syntax error in the." SIF file used by Setup Online: 8971.

    Setup cannot continue. Stop or restart your computer. »

    I have this with 3 different original discs

    Looking around without decommissioning is to get rid of all the recovery partitions. So, I have that one hidden and now I have a large main drive to NTFS.

    I still get the same error. No recovery disk. Original discs and now I'm totally stumped.

    Are there any other settings in the Bios maybe I need to change?

    Anyone has an idea what I might try?

    See you soon
    Stu

    You should try to install Windows XP Home (SP2 or SP3) using SATA driver to start loading. In this case do not use the compatibility mode but AHCI mode.

    Without load the driver (F6 option at startup to install of WXP) SATA disk HARD will be not visible to Windows XP Home edition.
    Option of job search on this forum and you will find so many threads on the installation of Windows XP Home on the latest portable Win7 supported.

  • MathScript syntax error

    Can someone let me know what the syntax error in the present

    If ((A > = 1,70) & (a)<>
    A = 1
    If ((A > = 1.34) & (a)<>
    A = 1
    If ((A > = 0,925) & (a)<>
    B = 1
    If ((A > = 1.305) & (a)<>
    B = 1
    If ((A > = 1,935) & (a)<>
    C = 1
    If ((A > = 1,72) & (a)<>
    D = 1
    If ((A > = 1,70) & (a)<>
    E = 1
    If ((A > = 1,65) & (a)<>
    F = 1
    If ((A > = 1,29) & (a)<>
    G = 1
    If ((A > = 1.0) & (a)<>
    H = 1
    on the other
    I have = 1
    end

    Thank you chris

    I suppose you want all these s if (except the first) to be an elseif.  If this isn't the case, then you want to terminate after each individual case.

    In addition, it is not a bad idea to start one; at the end of each statement.  (Not the lines containing if, elseif or end)

    In addition, you probably want to use & instead of &.  I don't know if mathscript makes a distinction between the two, but I know some languages.  The help file for use mathscript &, then I'd go with that.  Someone at - it care to confirm if there is a difference?

  • IAM trying to get a pdf file to open, but it keeps telling me that I have a sql syntax error, how can I solve this

    Hello I have an email in outlook express I need to open a pdf file to, whenever I try to open the pdf file, told me that I have a SQL syntax error, how can I fix this problem

    Hello

    I suggest you to follow the steps in this link and check if it helps:

    http://answers.Microsoft.com/en-us/Office/Forum/office_2010-Outlook/cannot-open-preview-of-PDF-attachment-in-Outlook/a68e5aa4-F730-4b5d-b1ca-b8670d679240?page=3

    It will be useful.

  • I install windows xp on a sony laptop. I created a new formatted partition but I get a fatal error message: "syntax error:"D:\I386\asms\10\MSFT\WINDOWS\GDIPLUS\GDIPLUS. " MAN. "

    I install windows xp on a sony laptop. I created a new formatted partition but I get a fatal error message.  one of the components that windows needs to continue Setup could not be installed. Manifest Parse Error: an invalid character was found in text content. Connect the system configuration error: SXS. DLL:syntax error in manifest or policy file "D:\I386\asms\10\MSFT\WINDOWS\GDIPLUS\GDIPLUS. MAN 'at line 0. I bought the oem software installation disc. I bought the computer used and did not get any disk with it. Help, please

    1 person got this response
    Shawn thought it was bad media so I'm a new disc and received the same error does anyone have an idea what might cause this error?

    original title: install windows xp

    Hi sptusch,

    Thanks for posting. Is it a burned disc? If this is you please redownload the image. Also, try the following.

    1. place your Windows XP installation CD and start to her...
    2. Press any button to start the Windows installation (don't worry... we do not actually use the installer at this point)
    3. wait a few moments for the installation program starts, when you see repair an installation of Windows XP using the Recovery Console, and then press the R key
    4. wait until you see this screen, enter the number of your master installation. (Typically 1 to C:\Windows)
    5. press ENTER.
    6. If you are prompted to do so, enter your administrator password. If you don't have one, leave the field blank and press to enter.
    7. from the command prompt, type: chkdsk/r (note the space between chkdsk and / r)
    Allow it to complete undisturbed.
    8. remove the disc, then restart.

    I hope this helps!
    Shawn - Support Engineer - MCP, MCDST
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Error: sxs.dll: syntax error in manifest or policy file.

    I want to reinstall Windows XP.  Installing boot CD, I did a quick format NTFS, then proceed installation.  Then I encountered the error:

    Windows XP.  Error: sxs.dll: syntax error in manifest or policy file "D:\I386\asms\6000\MSFT\VCRTL\VCRTL. MAN' on line 11.  Installation failed: D:\I386\asms.  Error message: incorrect function.

    This CD has rebuilt successfully another PC - we have an enterprise license.

    This indicates a hardware problem of CD?

    Hi SRD75,

    Try the methods below:

    Method 1:

    Try if you are able to replace the CD Rom drive or you can arrange for an external CD-ROM and proceed with the installation.

    Method 2:

    Run the memory diagnostic tool and check the results. Link, please refer to: Windows Memory Diagnostic:http://oca.microsoft.com/en/windiag.asp#top

    Method 3:

    I would recommend that you perform a full format of the drive to dismiss the possibility of a bad sector or physical damage on the hard disk

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • dbms_scheduler.create_window fails with ORA-27418: syntax error in the interval of recurrence or calendar

    I tried to create a window to test the activation of plans of RM. But I get this error.

    SQL > EXECUTE dbms_scheduler.create_window.

    > (-)

    > window_name = > 'day ', -.

    > resource_plan = > 'my_plan ', -.

    > start_date = > systimestamp + 1 /(24*60).

    > repeat_interval = > ' freq = > daily '.

    > time = > ' 0 01:00:00 '.

    > Comments = > ' C know if it works without a job "-"

    >);

    BEGIN dbms_scheduler.create_window (window_name = > 'day', resource_p)

    LAN = > 'my_plan', start_date = > systimestamp + 1 /(24*60), repeat_interv

    Al = > ' freq = > daily ', duration = > ' 0 01:00:00 ', comments = > ' C so she

    works without employment '); END;

    *

    ERROR on line 1:

    ORA-27481: 'SYS '. "' DAY ' has an invalid schedule

    ORA-27418: syntax error in the interval of recurrence or calendar

    ORA-06512: at "SYS." DBMS_ISCHED", line 486

    ORA-06512: at "SYS." DBMS_SCHEDULER', line 1295

    ORA-06512: at line 1

    I have tried many tips found on the web, nothing works.

    Any help would be greatly appreciated.

    Also, can you pls tell me if this command run once automatically activates the my_plan after 1 minute, 1 minute, after which, it will disable the my_plan? So, you do not need to create a JOB for this. If you create a window, that is, as a job creation to enable an RM plan?

    2734369 wrote:

    Wow, discovered the issue: the repeat interval is broken (I use a database of 12.1 in Windows 7). It must be uppercase. Very surprising in the windows to be case-sensitive.

    SQL >

    SQL > EXECUTE dbms_scheduler.create_window.

    >  (-

    > window_name-online 'day ', -.

    > resource_plan-online 'my_plan ', -.

    > start_date-online systimestamp + 1 /(24*60).

    > repeat_interval-online ' FREQ = DAILY; BYHOUR = 10; BYMINUTE = 30', -.

    > time-online ' 0 01:00:00 '.

    > Comments => ' C know if it works without a job "-"

    >  );

    PL/SQL procedure successfully completed.

    Problem is, after 1 minute, always that the plan is not activated?

    SQL > SEE THE RESOURCE_MANAGER_PLAN PARAMETER

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ----------------------

    resource_manager_plan chain

    Why the Plan is not activated after 1 minute. Have we not create a job (I don't think).

    I think you misunderstand the meaning of "start_date".  Please see the documentation on what this means exactly.

    This attribute specifies the first date and time where it is scheduled to open in this window. If the value start_date specified is in the past or is not specified, the window opens, from its inception.

    To repeat windows using an expression of the calendar to specify the repetition interval, the value of start_date is a reference date. The first time the window opens depends on the specified repeat interval and the value of start_date .

    (From Types and Oracle® packages of PL/SQL Database 11g Release 2 (11.2) reference E40758-03); dbms_scheduler, create_window.  DBMS_SCHEDULER

    Once you have done this, you will see that it is pretty useless to specify that you have.

    Your repeat_interval said "every day at 10:30.

  • Free ghettoVCB.sh u3 ESXi 4.1: line 836: syntax error: bad substitution

    I can't ghettoVCB.sh to run on free ESXi v4.1.

    Copied the .sh and .conf files in/ghettoVCB-master.  When I get home. /ghettoVCB.sh I get:

    ghettoVCB.sh: line 836: syntax error: bad substitution

    If I try/bin/ash ghettoVCB.sh I get exactly the same thing.

    The execute bit is set:

    / ghettoVCB-Master # ls-l

    -rw - 1 root root 1140 15:37 README.md Nov 6

    -rwx - x - x 1 root root 17555 6 Nov 15:37 ghettoVCB - restore.sh

    -rw - 1 root root 747 6 Nov 15:43 ghettoVCB.conf

    -rwx - x - x 1 root root 64593 6 Nov 16:23 ghettoVCB.sh

    -rw - r - r - 1 root root 11 Nov 6 15:39 vms_to_backup

    I do not see a log ghettoVCB file in / tmp.

    How can I solve this please?

    In case someone else gets the same problem - I finally worked it out.  ESXi 4.1 update 3 do not have the latest version of ghettoVCB.sh.  I guess the version of bash in the console busybox is old and does not support the syntax of some of the improvements made to the script.

    I managed to get an older version of the MKSbackup script and it works fine.

  • 1084: syntax error: expected rightparen

    Hi people

    I am a real novice here. I've just updated from CS3 to CS6 and had change a *.fla file in Flash CC. I have it saved and exported as a *.swf I now have about 40 of the compiler errors all the same format "1084: syntax error: expected before rightparen and»

    This is typical of the scenario

    Location

    Scene 1, layer 'buttons', frame 1, line 1. Column 17

    1 if (> 202 and _ymouse502 _ymouse) { }

    He expects his end of the front supports and IE if(_ymouse>202)

    Another example:

    1 if (_xmouse > 7 and _xmouse, _ymouse < 235 and text1.y < 113 and < 24

    2 text1.y_y += 4 {}

    3 If _xmouse > 33 and _xmouse50 and _ymouse < 235 and text1.y > 30)

    4     text1.y_y=4 {}

    In this group, related to the symbol on a page labeled services-page definitions, it is the error of syntax for line 1, column 17 rightparen waiting before and, as well as for line 3 to column 16, just before the and.

    Surely adding support in this group of conditions before a will "and" ruin the condition 'if '...

    Any help will be appreciated graetfully!  (I can do screen grabs if it helps!)

    There is no keyword 'and '.  Use the double ampersand:

    if(Whatever && whateverelse)

    p.s. it no 'or' either.  use a double pipe (backslash uppercase) |

  • Why I'm getting a syntax error on the &lt; / head &gt; line in DW CC?

    I get a syntax error in DW CC.  Other threads have indicated it was a bug in CS6, but was set in CC.  This leads me to believe it's my fault, but I can't understand it.  Can anyone help based on the information that I've pasted below?  Thank you!

    <! doctype html >

    <!-[if lt IE 7] > < class = "oldie ie6" html > <! [endif]-->

    <!-[if IE 7] > < class = "ie7 oldie" html > <! [endif]-->

    <!-[if IE 8] > < class = "ie8 oldie" html > <! [endif]-->

    <!-[if gt IE 8] > <!-->

    < class html = "" >

    <!-<! [endif]-->

    < head >

    < meta charset = "utf-8" >

    < meta name = "viewport" content = "width = device-width, original scale = 1" >

    < title > Untitled Document < /title >

    < link href = "boilerplate.css" rel = "stylesheet" type = "text/css" > "

    < link href = "style.css" rel = "stylesheet" type = "text/css" > "

    "< link href="jQueryAssets/jquery.ui.core.min.css "rel ="stylesheet"type =" text/css">

    "< link href="jQueryAssets/jquery.ui.theme.min.css "rel ="stylesheet"type =" text/css">

    "< link href="jQueryAssets/jquery.ui.accordion.min.css "rel ="stylesheet"type =" text/css">

    "< link href="jQueryAssets/jquery.ui.tabs.min.css "rel ="stylesheet"type =" text/css">

    <!--

    To learn more about the conditional comments around the HTML at the top of the file:

    paulirish.com/2008/conditional-stylesheets-vs-CSS-hacks-answer-neither/

    Follow these steps if you are using your customized version of modernizr (http://www.modernizr.com/):

    * Insert the link to your js here

    * remove the link below for the html5shiv

    * Add the class "No. - js' to the above html tags

    * You can also remove the link to respond.min.js if you included in your version of modernizr Polyfill MQ

    ->

    <!-[if lt IE 9] >

    "< script src="//html5shiv.googlecode.com/svn/trunk/html5.js "> < / script >

    <! [endif]-->

    < script src = "respond.min.js" > < / script >

    "< script src="jQueryAssets/jquery-1.8.3.min.js "type =" text/javascript"> < / script >

    "< script src="jQueryAssets/jquery-ui-1.9.2.accordion.custom.min.js "type =" text/javascript"> < / script >

    "< script src="jQueryAssets/jquery-ui-1.9.2.tabs.custom.min.js "type =" text/javascript"> < / script >

    <!-the following script tag downloads a font of Adobe Edge Web server fonts to use in the web page. "We recommend that you do not modify it.--> < script > var __adobewebfontsappname__ = 'dreamweaver' < /script > < script src ="http://use.edgefonts.net/adamina:n4:default.js"type =" text/javascript"> < / script > "

    < / head >

    < body >

    < div class = "gridContainer clearfix" >

    < div id = "div1" class 'fluid' = >

    < header id = "header" class 'fluid' = >

    "< p > < img src="Images/Logos/insidejoplinlogo.png "alt =" "/ > < / p >

    "< nav id 'mainnav' class = 'fluid' = > < ul class = 'fluid fluidList mainnavlist' > < class li = 'fluid mainnavitem zeroMargin_desktop' > < a href =" Index2.html"title ="inside Joplin Home"target ="_self"> home < /a > < /li > < li = class 'fluid mainnavitem' > < a href =" news.html "> news < /a > < /li > < li = class 'fluid mainnavitem' > < a href ="entertainment.html"> entertainment < /a > < /li > < class Li = 'fluid mainnavitem' > < a href = "announcements.html" > ads < /a > < /li > < li = class 'fluid mainnavitem hide_mobile' > < a href = "galleries.html" > galleries < /a > < /li > < li = class 'fluid mainnavitem hide_mobile' > < a href = "aboutcontact.html" > contact < /a > < /li > < /ul > < / nav > ""

    < / header >

    < section id = "indexguts" class = "fluid" > < article id = "indexarticle" class 'fluid' = >

    < h4 class = "articleH4 fluid zeroMargin_mobile" > news < / h4 >

    < p > < / p >

    < div id = "Accordion1" >

    < h3 > < a href = "#" > Section 1 < /a > < / h3 >

    < div >

    < p > content 1 < /p >

    < / div >

    < h3 > < a href = "#" > Section 2 < /a > < / h3 >

    < div >

    < p > content 2 < /p >

    < / div >

    < h3 > < a href = "#" > Section 3 < /a > < / h3 >

    < div >

    < p > content 3 < /p >

    < / div >

    < / div >

    < / section > < section id = "1" class article 'fluid' = >

    < h4 class = "articleH4 fluid zeroMargin_mobile" > last entertainment < / h4 >

    < p > < / p >

    < div id = "Accordion2" >

    < h3 > < a href = "#" > Section 1 < /a > < / h3 >

    < div >

    < p > content 1 < /p >

    < / div >

    < h3 > < a href = "#" > Section 2 < /a > < / h3 >

    < div >

    < p > content 2 < /p >

    < / div >

    < h3 > < a href = "#" > Section 3 < /a > < / h3 >

    < div >

    < p > content 3 < /p >

    < / div >

    < / div >

    < / section > < article id = "2" class 'fluid' = > < h4 class = "articleH4 fluid zeroMargin_mobile" > latest ads < / h4 >

    < p > < / p >

    < div id = "Tabs1" >

    < ul >

    < li > < a href = "#tabs - 1" > obituaries < /a > < /li >

    < li > < a href = "#tabs - 2" > weddings < /a > < /li >

    < li > < a href = "#tabs - 3" > more < /a > < /li >

    < /ul >

    < div id = "tabs-1" >

    < p > content 1 < /p >

    < / div >

    < div id = "tabs-2" >

    < p > content 2 < /p >

    < / div >

    < div id = "tabs-3" >

    < p > content 3 < /p >

    < / div >

    < / div >

    < / article > < article id = "indexbotleft" class 'fluid' = > This is the content of Article layout tag "indexbotleft" < / article > < article id = 'article 3' class = 'fluid' > This is layout Article content tag "indexbotleft" < / article > < / article > < id side = "mainsidebar" class 'fluid' = > This is the content for Tag Layout side "mainsidebar" < / side > < id side = "mainsidebar2" class 'fluid' = > This is the content for Tag Layout side "mainsidebar2" < / side > < article id = "indexbotrot" class 'fluid' = > This is the content of Article layout tag "indexbotrot" < / section >

    < footer id = "footer" class 'fluid' = >

    < nav id = "footernav' class 'fluid' = >

    < ul id = "footernavlist" class = 'fluid fluidList' > < class li = 'fluid footernavlistitem zeroMargin_mobile' > < a href = "Index2.html" > home < /a > < /li > < li = class "fluid footernavlistitem hide_mobile" > < a href = "news.html" > News < /a > < /li > "

    < class li = "fluid footernavlistitem hide_mobile" > < a href = "entertainment.html" > entertainment < /a > < /li > ""

    < class li = "fluid footernavlistitem hide_mobile" > < a href = "announcements.html" > ads < /a > < /li > ""

    < class li = "fluid footernavlistitem zeroMargin_desktop zeroMargin_mobile" > < a href = "galleries.html" > galleries < /a > < /li > ""

    < class li = "fluid footernavlistitem zeroMargin_mobile" > < a href = "aboutcontact.html" > About Us < /a > < /li > ""

    < class li = "fluid footernavlistitem zeroMargin_mobile" > < a href = "mailto: " [email protected] "> email < /a > < /li > < class li = 'fluid footernavlistitem zeroMargin_mobile' > < a href ="www.facebook.com/insidejoplin"target ="new"> < /a > < /li > < /ul > Facebook .

    < / nav >

    "< article id ="footerarticle"class ="fluid"> < img src="Images/Logos/insidejoplinlogo.png "alt =" "/ > < / section >

    < / footer >

    < / div >

    < / div >

    +

    < script type = "text/javascript" >

    {$(function()}

    . $(«#Accordion1») accordion();

    });

    {$(function()}

    . $(«#Accordion2») accordion();

    });

    {$(function()}

    . Tabs() $(«#Tabs1»);

    });

    < /script >

    < / body >

    < / html >

    Hmm, nothing does highlight for me, but I'm on an older version of DW, maybe it's less picky.

    What happens if you ad a semicolon immediately before the tag in this line...

  • Syntax error when you use 'let '.

    HI gentlemen,

    I have a small XQuery file that works A1 if I do not use leash $p... However, the scheme is deeply nested and I tried to do for the sake of readability. Now I always get a syntax error - it will put in place with 'let' and 'element' together. Here is a test for a single line. By removing $p and re - his replacement by its content, it's OK.
    <?xml version="1.0" encoding='windows-1252'?>
    <!--<?xml-stylesheet type="text/xsl" href="icd.xsl"?>-->
    <page xmlns:xsql="urn:oracle-xsql"  connection="gksconnection">
    <xsql:include-xml xmlns:xsql="urn:oracle-xsql">
    SELECT XMLSerialize(DOCUMENT
    XMLQuery(
      'xquery version "1.0"; (: :)
       declare namespace n1="urn:ehd/001"; (: :)
       declare namespace n2="urn:ehd/icd/001"; (: :)
    
    let $p := /n1:ehd/n1:body/n2:icd_stammdaten/n2:kapitel_liste/n2:kapitel
    
       element h 
       {  
         /n1:ehd/n1:header/n1:provider/n1:organization/n1:id/@EX,
         element kap 
         {
           $p[n2:gruppen_liste/n2:gruppe/n2:diagnosen_liste/descendant::n2:diagnose/n2:icd_code/@V="{@icd_code}"]/n2:nummer,
           /n1:ehd/n1:body/n2:icd_stammdaten/n2:kapitel_liste/n2:kapitel[n2:gruppen_liste/n2:gruppe/n2:diagnosen_liste/descendant::n2:diagnose/n2:icd_code/@V="{@icd_code}"]/n2:bezeichnung,
           /n1:ehd/n1:body/n2:icd_stammdaten/n2:kapitel_liste/n2:kapitel[n2:gruppen_liste/n2:gruppe/n2:diagnosen_liste/descendant::n2:diagnose/n2:icd_code/@V="{@icd_code}"]/n2:von_icd_code,
           /n1:ehd/n1:body/n2:icd_stammdaten/n2:kapitel_liste/n2:kapitel[n2:gruppen_liste/n2:gruppe/n2:diagnosen_liste/descendant::n2:diagnose/n2:icd_code/@V="{@icd_code}"]/n2:bis_icd_code,
           element group 
           {
              /n1:ehd/n1:body/n2:icd_stammdaten/n2:kapitel_liste/n2:kapitel/n2:gruppen_liste/n2:gruppe[n2:diagnosen_liste/descendant::n2:diagnose/n2:icd_code/@V="{@icd_code}"]/n2:bezeichnung,
              /n1:ehd/n1:body/n2:icd_stammdaten/n2:kapitel_liste/n2:kapitel/n2:gruppen_liste/n2:gruppe[n2:diagnosen_liste/descendant::n2:diagnose/n2:icd_code/@V="{@icd_code}"]/n2:von_icd_code, 
              /n1:ehd/n1:body/n2:icd_stammdaten/n2:kapitel_liste/n2:kapitel/n2:gruppen_liste/n2:gruppe[n2:diagnosen_liste/descendant::n2:diagnose/n2:icd_code/@V="{@icd_code}"]/n2:bis_icd_code, 
              element diag
              {
                 /n1:ehd/n1:body/n2:icd_stammdaten/n2:kapitel_liste/n2:kapitel/n2:gruppen_liste/n2:gruppe/n2:diagnosen_liste/descendant::n2:diagnose[n2:icd_code/@V="{@icd_code}"]
              }
           }
         }
       }'
      PASSING xml_document
      RETURNING CONTENT
    )
    AS CLOB INDENT SIZE = 2
    ) as result
    FROM icd
    where id = {@idno} 
    </xsql:include-xml>
    </page>
    Can someone help me find the cause of the error? Unfortunately, I need some 'header' < chapter > and < group > data too, which lies over the "core" of the query: < diagnose > node. That's why I chose the technique of qualification.

    Thank you, best regards

    Miklós HERBOLY
     RESULT
     --------------------------------------------------------------------------------
     
       
         
       
                                                                                                                         
    

    OK, you get the empty elements on 11.2.0.2, so there is certainly a problem on this version.
    The fact that the NO_XML_QUERY_REWRITE indicator work means that there is a problem with the optimizer tries to use the internal binary XML structure to deal with the XQuery.

    I can't say much more than that, but since the test case is simple enough, you probably connect a SR with Oracle Support on that one.

  • Maybe you are looking for

    ">$date; ?>