Rem 
Rem Name    : d2kcnct.sql 
Rem Purpose : This script prompts for the Password for username SYSTEM, & 
Rem           Database Connection string required to manipulate the  
Rem           Developer/2000 database objects
Rem Owner   : Installation and Release Group
Rem
Rem Date     Modified by      Reason
Rem ----     -----------      ------
Rem 08/09/95 rbansal          Created 
Rem 

PROMPT
PROMPT  Logging on as SYSTEM...
PROMPT
accept INPASS prompt 'Enter password for SYSTEM : ' hide
accept Connect_Str prompt  'Enter database connection (e.g. t:node:SID) [LOCAL] : '
PROMPT

REM Attempt the connection...
connect SYSTEM/&INPASS@&Connect_Str

REM If we are not connected this will fail and exit
whenever sqlerror exit

