Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Instream SQL in an NT Batch script

Instream SQL in an NT Batch script

From: Smith, Ron L. <rlsmith_at_kmg.com>
Date: Wed, 21 Jul 2004 16:00:13 -0500
Message-ID: <270A0BDDFDE54E41B78F0F06D82A66B8508D5C@okcexg3.kmg.com>


I am trying to move a couple of Unix scripts to an NT server. I know just about everything needs to change but the scripts use in stream SQL commands and for some reason NT doesn't like the syntax.

The code is simple just like:
sqlplus / <<EOF
select something from somewhere;
EOF It complains and says <<EOF not expected here. =20 Works on Unix and Linux.

What am I missing?

Thanks!
Ron



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Wed Jul 21 2004 - 15:57:34 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US