Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Does anyone know in Sql AnyWhere, how can I set the ReadOnly property of any database to On? I can only see the way to access the property, but cannot find the way to set it correctly at the first place.

Thanks in advance.

share|improve this question

1 Answer 1

You can't change the read-only status of a database after it has been started. To start the database in read-only mode, use the -r server switch. If you're using the START DATABASE statement, you can add the FOR READ ONLY clause.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.