Re: sys as sysdba within a script?

Rauf Sarwar wrote:
> "sys/password as sysdba" won't work. " must be escaped by a \ as> \"sys/password as sysdba\". This works on *nix and Win* besides what> Dave suggested in his post to surround ' with ".> > Regards> /Rauf

Rauf: I realise the original post was about export, and as such your
advice is sound... but there's no mention of export or import in your
reply, which could lead to unfortunate conclusions being drawn by the
unwary. You also used the "m" word: 'Double quotes MUST be escaped" -and
that again makes no distinction on *when* they must.

That is: the escaping works on Windows *provided* you are talking ONLY
about export/import -but for SQL*Plus, the escaping causes an error, at
least on Windows, and is therefore definitely NOT a "must".