Re: HELP: Change user in .SQL script

From: Mike Ressler <mjress_at_ingr.com>
Date: 1995/06/21
Message-ID: <3s9d0v$ce1_at_b10.b10.ingr.com>#1/1


You need to place semicolons at the end of each statement.

When you run it use the following syntax:

_at_junk.sql

Hope this helps

Mike Ressler


morgan.skinner_at_fisons-ls.com (Morgan Skinner) wrote:
>Hopefully this is a no brainer for someone out there. I have a .SQL
>script in which I want to do the following. Anyone got any
>suggestions...
>
>
>CONNECT usera/passworda
>
>... Do some SQL stuff
>
>CONNECT userb/passwordb
>
>... Do some more stuff
>
>
>The problem is that the machine halts after the first command ( I
>assume it is looking for a termination character or something like
>that). I have scripts that will do this from the command line, but I
>want to put all of this in one .SQL file.
>
>TIA.
>
>--------------------------------------------------------
>
>I was the Englishman in PM122 & PM123 with the Questions
>
>email : morgan.skinner_at_fisons-ls.com
>
Received on Wed Jun 21 1995 - 00:00:00 CEST

Original text of this message