on 2012 Mar 06 8:17 PM
How do I set the ReadOnly property of a databast to On?
I can only see ways to read the ReadOnly property.
Thanks in advance.
Request clarification before answering.
You can start a database as readonly on the server command line by using the -r server switch or -r database switch, or using the FOR READ ONLY clause on the START DATABASE statement.
Examples:
dbsrv12 -r foo.db bar.db -- start both foo.db and bar.db databases as read only dbsrv12 foo.db bar.db -r -- start database foo.db normally (read/write) and bar.db as read only START DATABASE 'foo.db' FOR READ ONLY -- start database foo.db as read only using a SQL statement
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
33 | |
21 | |
16 | |
8 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.