![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
* * Dear Experts, I inherited a script written long ago and the first line is to check is the Sybase server in the single user mode or not. I personally never make this test, but may be I am wrong. Question: Is it a good practice for the Sybase server to check what mode is it running? |
#3
| |||
| |||
|
|
On Jun 20, 2:20*pm, Serguei <Serguei.Goumeni... (AT) cibc (DOT) ca> wrote: * * Dear Experts, I inherited a script written long ago and the first line is to check is the Sybase server in the single user mode or not. I personally never make this test, but may be I am wrong. Question: Is it a good practice for the Sybase server to check what mode is it running? Some things an administrator has to do, he has to do without any risk that some other user might log on and mess things up. E.g., you might need to re-work the syslogins and sysusers tables because those have a habit of getting out of sync. *You don't want to do that sort of thing while somebody else is logged in, and you don't want somebody to log in while you're in the middle of doing that. An administrator might want to put some of those kinds of things into a script to make his life easier. *Why wouldn't such a script check for single-user mode first thing? \:-\ |
#4
| |||
| |||
|
|
Thank you for your reply, but you do not answer my question. I like to know - is it a good (recommended) practice for a Sybase user to test which mode the server is running? |
![]() |
| Thread Tools | |
| Display Modes | |
| |