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.
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.
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.