Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Execute sql from file
vertigo wrote:
> Hello
> I use Oracl 9.2i and windows xp.
> I have file named mysql.sql and sql commands there.
> How can i execute this file from SQLPlus ?
>
> Thanx
> Michal
>
You need a @ preceding your script name.
For example:
@mysql.sql
or
@[path to your SQL script]mysql.sql
Regards
-- Fabrizio Magni fabrizio.magni_at_mycontinent.com replace mycontinent with europeReceived on Sat Oct 23 2004 - 06:46:06 CDT