<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://www.sqle.ru/index.php?action=history&amp;feed=atom&amp;title=SQL_Server%2FT-SQL_Tutorial%2FSystem_Functions%2Fsp_dboption</id>
		<title>SQL Server/T-SQL Tutorial/System Functions/sp dboption - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://www.sqle.ru/index.php?action=history&amp;feed=atom&amp;title=SQL_Server%2FT-SQL_Tutorial%2FSystem_Functions%2Fsp_dboption"/>
		<link rel="alternate" type="text/html" href="http://www.sqle.ru/index.php?title=SQL_Server/T-SQL_Tutorial/System_Functions/sp_dboption&amp;action=history"/>
		<updated>2026-05-25T01:22:26Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.sqle.ru/index.php?title=SQL_Server/T-SQL_Tutorial/System_Functions/sp_dboption&amp;diff=6758&amp;oldid=prev</id>
		<title> в 13:46, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://www.sqle.ru/index.php?title=SQL_Server/T-SQL_Tutorial/System_Functions/sp_dboption&amp;diff=6758&amp;oldid=prev"/>
				<updated>2010-05-26T13:46:16Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 13:46, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://www.sqle.ru/index.php?title=SQL_Server/T-SQL_Tutorial/System_Functions/sp_dboption&amp;diff=6759&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://www.sqle.ru/index.php?title=SQL_Server/T-SQL_Tutorial/System_Functions/sp_dboption&amp;diff=6759&amp;oldid=prev"/>
				<updated>2010-05-26T10:24:04Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== ANSI null default==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
When set to True, SQL Server follows the SQL 92 rules to see if a column can allow NULL values.&lt;br /&gt;
&lt;br /&gt;
EXEC sp_dboption &amp;quot;YourDatabaseName&amp;quot;, &amp;quot;ANSI null default&amp;quot;, &amp;quot;False&amp;quot;&lt;br /&gt;
GO&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== autoclose - ensures that the database is cleaned up.==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
EXEC sp_dboption &amp;quot;YourDatabaseName&amp;quot;, &amp;quot;autoclose&amp;quot;, &amp;quot;True&amp;quot;&lt;br /&gt;
GO&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== autoshrink - A setting of True indicates that that this database can be shrunk in size safely.==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
EXEC sp_dboption &amp;quot;YourDatabaseName&amp;quot;, &amp;quot;autoshrink&amp;quot;, &amp;quot;False&amp;quot;&lt;br /&gt;
GO&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== dbo use - If set to True means that only the user ID that created the database has access and can use the database.==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
EXEC sp_dboption &amp;quot;YourDatabaseName&amp;quot;, &amp;quot;dbo use&amp;quot;, &amp;quot;False&amp;quot;&lt;br /&gt;
GO&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== quoted identifier==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
By setting this to OFF, you can delimit a string by either a single quote or a double quote. &lt;br /&gt;
when set to ON, you cannot use double quotes around string variables as double quotes will be signifying a SQL Server identifier.&lt;br /&gt;
&lt;br /&gt;
EXEC sp_dboption &amp;quot;YourDatabaseName&amp;quot;, &amp;quot;quoted identifier&amp;quot;, &amp;quot;True&amp;quot;&lt;br /&gt;
GO&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== read only - If set to True, no modifications to the data can be made.==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
EXEC sp_dboption &amp;quot;YourDatabaseName&amp;quot;, &amp;quot;read only&amp;quot;, &amp;quot;False&amp;quot;&lt;br /&gt;
GO&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== single - When set to True, only one user has access to the database at a time.==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
EXEC sp_dboption &amp;quot;YourDatabaseName&amp;quot;, &amp;quot;single&amp;quot;, &amp;quot;False&amp;quot;&lt;br /&gt;
GO&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== sp_dboption [databasename,option,{TRUE�FALSE}]==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
sp_dboption sales,&amp;quot;offline&amp;quot;,FALSE&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== sp_dboption is a system function that allows a specific database option to be set.==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
EXEC sp_dboption &amp;quot;YourDatabaseName&amp;quot;, &amp;quot;autoclose&amp;quot;, &amp;quot;True&amp;quot;&lt;br /&gt;
GO&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>