Take the 2-minute tour ×
Server Fault is a question and answer site for professional 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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.