[Info-ingres] report writer question - query fails in RW but OK in sql

Allan Biggs Allan.Biggs at GBR.dupont.com
Thu Feb 18 12:50:18 UTC 2016


oops this was the error 


Reading report specifications and preparing query . . .
E_US09C6 line 1, Syntax error on 'create'.  The correct syntax is:
    CREATE TABLE tablename
       [(columnname {, ... })]
   AS subselect
   [with_clause]
    (Thu Feb 18 13:30:13 2016)

E_RW13EE Error in setup or cleanup section found
    Statement in error was:
  ''

E_RW100A 1 error(s) have occurred in setting up the report. No report will
    be written.  Correct errors and rerun.






From:   Allan Biggs <Allan.Biggs at GBR.dupont.com>
To:     info-ingres at lists.planetingres.org, 
info-ingres-bounces at lists.planetingres.org
Date:   18/02/2016 12:38
Subject:        [Info-ingres] report writer question - query fails in RW 
but OK in       sql
Sent by:        info-ingres-bounces at lists.planetingres.org



the following query works in SQL (isql) but fails when run in report 
writer - does report writer use older version of sql? 


 create table numreelsresults_w_rrp 
 as select nreels = count (distinct roll_number), 
   n_tests = count(test_res ) 
   from 
  rxrpy_w_rrp; 


thanks 
Allan

This communication is for use by the intended recipient and contains
information that may be Privileged, confidential or copyrighted under
applicable law. If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited. Please notify the sender by
return e-mail and delete this e-mail from your system. Unless explicitly
and conspicuously designated as "E-Contract Intended", this e-mail does
not constitute a contract offer, a contract amendment, or an acceptance
of a contract offer. This e-mail does not constitute a consent to the
use of sender's contact information for direct marketing purposes or for
transfers of data to third parties.
Francais Deutsch Italiano  Espanol  Portugues  Japanese  Chinese  Korean
          http://www.DuPont.com/corp/email_disclaimer.html
_______________________________________________
Info-ingres mailing list
Info-ingres at lists.planetingres.org
http://lists.planetingres.org/mailman/listinfo/info-ingres


This communication is for use by the intended recipient and contains
information that may be Privileged, confidential or copyrighted under
applicable law. If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited. Please notify the sender by
return e-mail and delete this e-mail from your system. Unless explicitly
and conspicuously designated as "E-Contract Intended", this e-mail does
not constitute a contract offer, a contract amendment, or an acceptance
of a contract offer. This e-mail does not constitute a consent to the
use of sender's contact information for direct marketing purposes or for
transfers of data to third parties.

Francais Deutsch Italiano  Espanol  Portugues  Japanese  Chinese  Korean

          http://www.DuPont.com/corp/email_disclaimer.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.planetingres.org/pipermail/info-ingres/attachments/20160218/c050dc9f/attachment.html>


More information about the Info-ingres mailing list