2

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.

Mark Henderson
  • 68,316
  • 31
  • 175
  • 255
Vivien
  • 21
  • 1

1 Answers1

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.

Graeme Perrow
  • 545
  • 1
  • 4
  • 16