View Single Post

   
  #2 (permalink)  
Old 05-10-2008, 02:04 PM
bret@sybase.com
 
Posts: n/a
Default Re: how to execute a script from within isql?

On May 7, 2:12 am, Helma <helma.vi...@hotmail.com> wrote:
> Hello *,
>
> I just can't find a way to execute a script when i'm in isql. For
> example, in oracle you can use the @ sign for directing to a script.
> Does Sybase 12.5 has such equivalent?
>
> Thanks!
> Helma



You can execute a shell script by using

!! <name of script>

You can import and run a tsql batch file using

vi <filename>
go
Reply With Quote