Instream SQL in an NT Batch script

  • From: "Smith, Ron L." <rlsmith@xxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 21 Jul 2004 16:00:13 -0500

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@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: