Thanks in advance
<Ramez Nabil> 撰寫於郵件新聞:482af33b.42d...@sybase.com...
in batch.bat:
isql -U<sa> -P<password> -S<server_name> -i<script_file>
in script.sql:
shutdown
HTH
"HarryLai" <nospam_...@bigfoot.com> 撰寫於郵件新聞:482af8d7@forums-1-dub...
But i'd also tried another way to start the server by using
the Following command:
sqlsrvr.exe -sServer_Name
And it was perfect ..
For shutdown, i connect to sybase through (isql) then issue
Shutdown command.
Thank you again
> btw, use "net stop <Sybase_Name>" is equal to "shutdown
> with nowait", if you want to shutdown normally, use batch
> and script file to do it;
>
> in batch.bat:
> isql -U<sa> -P<password> -S<server_name> -i<script_file>
>
> in script.sql:
> shutdown
>
> HTH
>
>
> "HarryLai" <nospam_...@bigfoot.com>
> >
¼¶¼g©ó¶l¥ó·s»D:482af8d7@forums-1-dub...
If Windows
> server, simply to use "net start <Service_Name>" and "net
> stop <Service_Name>" to start and stop service for Sybase.
> > >
> > <Ramez Nabil>
>
¼¶¼g©ó¶l¥ó·s»D:482af33b.42d...@sybase.com...
<Ramez Nabil> ???????:482bee49.61c...@sybase.com...
Dear HarryLai
Thanks for your concern, I'd try to use net stop and net
start, But they didn't work and i got the following error:
The service name is invalid.
More help is available by typing NET HELPMSG 2185.
But i'd also tried another way to start the server by using
the Following command:
sqlsrvr.exe -sServer_Name
And it was perfect ..
For shutdown, i connect to sybase through (isql) then issue
Shutdown command.
Thank you again
> btw, use "net stop <Sybase_Name>" is equal to "shutdown
> with nowait", if you want to shutdown normally, use batch
> and script file to do it;
>
> in batch.bat:
> isql -U<sa> -P<password> -S<server_name> -i<script_file>
>
> in script.sql:
> shutdown
>
> HTH
>
>
> "HarryLai" <nospam_...@bigfoot.com>
> >
撰寫於郵件新聞:482af8d7@forums-1-dub...
If Windows
> server, simply to use "net start <Service_Name>" and "net
> stop <Service_Name>" to start and stop service for Sybase.
> > >
> > <Ramez Nabil>
>
撰寫於郵件新聞:482af33b.42d...@sybase.com...
"HarryLai" <nospam_...@bigfoot.com> wrote in message
news:482c4381@forums-1-dub...
Best regards
Ramez Nabil
¼¶¼g©ó¶l¥ó·s»D:482af8d7@forums-1-dub...
> > If Windows
> >> server, simply to use "net start <Service_Name>" and
> "net >> stop <Service_Name>" to start and stop service for
> Sybase. >> > >
> >> > <Ramez Nabil>
> >>
> >
¼¶¼g©ó¶l¥ó·s»D:482af33b.42d...@sybase.com...