<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Real World DBA</title>
	<atom:link href="http://realworlddba.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://realworlddba.wordpress.com</link>
	<description>Making Life Easier for SQL Server DBAs</description>
	<lastBuildDate>Fri, 27 Mar 2009 17:01:21 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='realworlddba.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/f266aff07a1044749013fe24600784d2?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Real World DBA</title>
		<link>http://realworlddba.wordpress.com</link>
	</image>
			<item>
		<title>SQL Server 2008 &#8211; Problem saving a table change that results in that table being recreated</title>
		<link>http://realworlddba.wordpress.com/2009/03/27/sql-server-2008-problem-saving-a-table-change-that-results-in-that-table-being-recreated/</link>
		<comments>http://realworlddba.wordpress.com/2009/03/27/sql-server-2008-problem-saving-a-table-change-that-results-in-that-table-being-recreated/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 17:01:21 +0000</pubDate>
		<dc:creator>mxhxrdba</dc:creator>
				<category><![CDATA[2008]]></category>
		<category><![CDATA[Administration]]></category>
		<category><![CDATA[saving table changes 2008 manangement studio]]></category>

		<guid isPermaLink="false">http://realworlddba.wordpress.com/?p=50</guid>
		<description><![CDATA[Some changes in SQL Server require that the table in question be dropped and recreated behind the scenes.  It&#8217;s possible that this might cause a problem for some users, so it seems that in the SQL Server 2008 Management Studio, Microsoft has disabled this by default.
You will receive the message:
Saving changes is not permitted. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=50&subd=realworlddba&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Some changes in SQL Server require that the table in question be dropped and recreated behind the scenes.  It&#8217;s possible that this might cause a problem for some users, so it seems that in the SQL Server 2008 Management Studio, Microsoft has disabled this by default.</p>
<p>You will receive the message:</p>
<blockquote><p><em>Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can&#8217;t be re-created or enabled the option Prevent saving changes that require the table to be re-created.</em></p></blockquote>
<p><img class="alignnone size-full wp-image-51" title="saveerror" src="http://realworlddba.files.wordpress.com/2009/03/saveerror.jpg?w=457&#038;h=376" alt="saveerror" width="457" height="376" /></p>
<p> </p>
<p>Anyway, to allow these changes to occur, go to Tools &#8211;&gt; Options, and under Designers, uncheck &#8220;Prevent saving changes that require table re-creation&#8221;.  That&#8217;s it!</p>
<p><img class="alignnone size-full wp-image-54" title="saveerror12" src="http://realworlddba.files.wordpress.com/2009/03/saveerror12.jpg?w=644&#038;h=382" alt="saveerror12" width="644" height="382" /></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/realworlddba.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/realworlddba.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/realworlddba.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/realworlddba.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/realworlddba.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/realworlddba.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/realworlddba.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/realworlddba.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/realworlddba.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/realworlddba.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=50&subd=realworlddba&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://realworlddba.wordpress.com/2009/03/27/sql-server-2008-problem-saving-a-table-change-that-results-in-that-table-being-recreated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/657397304abb8bd8000f3d5d7ca9f4a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mxhxrdba</media:title>
		</media:content>

		<media:content url="http://realworlddba.files.wordpress.com/2009/03/saveerror.jpg" medium="image">
			<media:title type="html">saveerror</media:title>
		</media:content>

		<media:content url="http://realworlddba.files.wordpress.com/2009/03/saveerror12.jpg" medium="image">
			<media:title type="html">saveerror12</media:title>
		</media:content>
	</item>
		<item>
		<title>Recovering a database with a missing ldf files and no backups</title>
		<link>http://realworlddba.wordpress.com/2008/11/14/recovering-a-database-with-a-missing-ldf-files-and-no-backups/</link>
		<comments>http://realworlddba.wordpress.com/2008/11/14/recovering-a-database-with-a-missing-ldf-files-and-no-backups/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 22:16:52 +0000</pubDate>
		<dc:creator>mxhxrdba</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://realworlddba.wordpress.com/?p=42</guid>
		<description><![CDATA[Hopefully, you would never find yourself in this position to begin with.  But if so, here are the steps to get a working database back with a viable log:
1. Detach database and move your mdf to save location.
2. Create new databse of same name, same files, same file location and same file size.
3. Stop SQL [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=42&subd=realworlddba&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hopefully, you would never find yourself in this position to begin with.  But if so, here are the steps to get a working database back with a viable log:<br />
1. Detach database and move your mdf to save location.<br />
2. Create new databse of same name, same files, same file location and same file size.<br />
3. Stop SQL server.<br />
4. Swap mdf file of just created DB to your save one.<br />
5. Start SQL. DB will go suspect.<br />
6. ALTER DATABASE &lt;your db&gt; SET EMERGENCY<br />
ALTER DATABASE &lt;your db&gt; SET SINGLE_USER<br />
7. DBCC CHECKDB (&lt;your db&gt;, REPAIR_ALLOW_DATA_LOSS)<br />
8. ALTER DATABASE &lt;your db&gt; SET MULTI_USER<br />
ALTER DATABASE &lt;your db&gt; SET ONLINE</p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;">In SQL 2000, this could be accomplished using the DBCC REBUILD_LOG command, but that is unsupported in SQL 2005.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/realworlddba.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/realworlddba.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/realworlddba.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/realworlddba.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/realworlddba.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/realworlddba.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/realworlddba.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/realworlddba.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/realworlddba.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/realworlddba.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=42&subd=realworlddba&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://realworlddba.wordpress.com/2008/11/14/recovering-a-database-with-a-missing-ldf-files-and-no-backups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/657397304abb8bd8000f3d5d7ca9f4a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mxhxrdba</media:title>
		</media:content>
	</item>
		<item>
		<title>Enabling AWE on SQL Server 2005 for servers with &gt; 4GB RAM</title>
		<link>http://realworlddba.wordpress.com/2008/10/15/enabling-awe-on-sql-server-2005-for-servers-with-4gb-ram/</link>
		<comments>http://realworlddba.wordpress.com/2008/10/15/enabling-awe-on-sql-server-2005-for-servers-with-4gb-ram/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 13:51:26 +0000</pubDate>
		<dc:creator>mxhxrdba</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[SQL Server 2005 AWE PAE sp_configure memory ram 4gb 32]]></category>

		<guid isPermaLink="false">http://realworlddba.wordpress.com/?p=40</guid>
		<description><![CDATA[
Here are the steps to enable AWE so that Sql Server 2005 can use additional memory, if your physical memory is more than 4 GB on 32-bit Windows 2003 box.
1. Add /pae at the end of last line inside c:\boot.ini
2. Run gpedit.msc. On the left hand pane, expand Computer Configuration, expand Windows Settings, expand Security [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=40&subd=realworlddba&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div class="postentry">
<p>Here are the steps to enable AWE so that Sql Server 2005 can use additional memory, if your physical memory is more than 4 GB on 32-bit Windows 2003 box.</p>
<p>1. Add /pae at the end of last line inside c:\boot.ini<br />
2. Run gpedit.msc. On the left hand pane, expand Computer Configuration, expand Windows Settings, expand Security Settings, expand Local Policies, select User Rights Assignment<br />
3. On the right hand pane, find Lock pages in memory and double click, then add your Sql Server startup account into Local Security Policy Setting tab;<br />
4. In Sql Server Management Studio, run:<br />
sp_configure ’show advanced’, 1<br />
reconfigure<br />
sp_configure ‘awe enabled’, 1<br />
reconfigure<br />
Ignore the error message below, if you have it.<br />
Msg 5845, Level 16, State 1, Line 1<br />
Address Windowing Extensions (AWE) requires the ‘lock pages in memory’ privilege which is not currently present in the access token of the process.<br />
5. Reboot.</p></div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/realworlddba.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/realworlddba.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/realworlddba.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/realworlddba.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/realworlddba.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/realworlddba.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/realworlddba.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/realworlddba.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/realworlddba.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/realworlddba.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=40&subd=realworlddba&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://realworlddba.wordpress.com/2008/10/15/enabling-awe-on-sql-server-2005-for-servers-with-4gb-ram/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/657397304abb8bd8000f3d5d7ca9f4a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mxhxrdba</media:title>
		</media:content>
	</item>
		<item>
		<title>What version and service pack am I running?</title>
		<link>http://realworlddba.wordpress.com/2008/07/31/what-version-and-service-pack-am-i-running/</link>
		<comments>http://realworlddba.wordpress.com/2008/07/31/what-version-and-service-pack-am-i-running/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 14:02:16 +0000</pubDate>
		<dc:creator>mxhxrdba</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[2005]]></category>
		<category><![CDATA[finding]]></category>
		<category><![CDATA[service pack]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://realworlddba.wordpress.com/?p=36</guid>
		<description><![CDATA[A quick tip- how to find out what version and service pack of SQL Server a server is running:
SELECT SERVERPROPERTY(&#8216;ProductVersion&#8217;) AS SqlServerVersion, SERVERPROPERTY( &#8216;ProductLevel&#8217;) AS ServicePack
Here are the versions and their corresponding build numbers for 2000 and 2005.



RTM
2000.80.194.0


SQL Server 2000 SP1
2000.80.384.0


SQL Server 2000 SP2
2000.80.534.0


SQL Server 2000 SP3
2000.80.760.0


SQL Server 2000 SP3a
2000.80.760.0


SQL Server 2000 SP4
2000.8.00.2039






RTM
2005.90.1399


SQL Server 2005 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=36&subd=realworlddba&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="color:#000000;">A quick tip- how to find out what version and service pack of SQL Server a server is running:</span></p>
<p><strong><span style="color:#000000;">SELECT</span><span style="color:#000000;"> </span><span style="color:#000000;">SERVERPROPERTY</span><span style="color:#000000;">(</span><span style="color:#000000;">&#8216;ProductVersion&#8217;</span><span style="color:#000000;">)</span><span style="color:#000000;"> </span><span style="color:#000000;">AS</span><span style="color:#000000;"> SqlServerVersion, </span><span style="color:#000000;">SERVERPROPERTY</span><span style="color:#000000;">(</span><span style="color:#000000;"> </span><span style="color:#000000;">&#8216;ProductLevel&#8217;</span><span style="color:#000000;">)</span><span style="color:#000000;"> </span><span style="color:#000000;">AS</span></strong> <strong>ServicePack</strong></p>
<p><span style="color:#000000;">Here are the versions and their corresponding build numbers for 2000 and </span><span style="color:#000000;">2005</span><span style="color:#000000;">.</span></p>
<table class="table" style="height:105px;" border="0" cellspacing="1" width="320">
<tbody>
<tr>
<td><span style="color:#000000;">RTM</span></td>
<td><span style="color:#000000;">2000.80.194.0</span></td>
</tr>
<tr>
<td><span style="color:#000000;">SQL Server 2000 SP1</span></td>
<td><span style="color:#000000;">2000.80.384.0</span></td>
</tr>
<tr>
<td><span style="color:#000000;">SQL Server 2000 SP2</span></td>
<td><span style="color:#000000;">2000.80.534.0</span></td>
</tr>
<tr>
<td><span style="color:#000000;">SQL Server 2000 SP3</span></td>
<td><span style="color:#000000;">2000.80.760.0</span></td>
</tr>
<tr>
<td><span style="color:#000000;">SQL Server 2000 SP3a</span></td>
<td><span style="color:#000000;">2000.80.760.0</span></td>
</tr>
<tr>
<td><span style="color:#000000;">SQL Server 2000 SP4</span></td>
<td><span style="color:#000000;">2000.8.00.2039</span></td>
</tr>
</tbody>
</table>
<table class="table" border="0" cellspacing="1">
<tbody>
<tr>
<td><span style="color:#000000;">RTM</span></td>
<td><span style="color:#000000;">2005.90.1399</span></td>
</tr>
<tr>
<td><span style="color:#000000;">SQL Server 2005 Service Pack 1</span></td>
<td><span style="color:#000000;">2005.90.2047</span></td>
</tr>
<tr>
<td><span style="color:#000000;">SQL Server 2005 Service Pack 2</span></td>
<td><span style="color:#000000;">2005.90.3042</span></td>
</tr>
</tbody>
</table>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/realworlddba.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/realworlddba.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/realworlddba.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/realworlddba.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/realworlddba.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/realworlddba.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/realworlddba.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/realworlddba.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/realworlddba.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/realworlddba.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/realworlddba.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/realworlddba.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=36&subd=realworlddba&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://realworlddba.wordpress.com/2008/07/31/what-version-and-service-pack-am-i-running/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/657397304abb8bd8000f3d5d7ca9f4a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mxhxrdba</media:title>
		</media:content>
	</item>
		<item>
		<title>Find all tables without triggers</title>
		<link>http://realworlddba.wordpress.com/2008/07/29/find-all-tables-without-triggers/</link>
		<comments>http://realworlddba.wordpress.com/2008/07/29/find-all-tables-without-triggers/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 14:17:53 +0000</pubDate>
		<dc:creator>mxhxrdba</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://realworlddba.wordpress.com/?p=34</guid>
		<description><![CDATA[
In our production environment, every user table has an auto-generated trigger that facilitates auditing.  Since trigger generation is an automated process, it occasionally fails to run for a plethora a reasons; this it is a good practice to periodically scan for tables that are missing triggers.  The following query will return tables that fit this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=34&subd=realworlddba&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img class="alignnone" src="http://www.resolverhacks.net/images/trigger.jpg" alt="" width="178" height="136" /></p>
<p>In our production environment, every user table has an auto-generated trigger that facilitates auditing.  Since trigger generation is an automated process, it occasionally fails to run for a plethora a reasons; this it is a good practice to periodically scan for tables that are missing triggers.  The following query will return tables that fit this condition by using a LEFT JOIN between sysobjects and itself.</p>
<p>SELECT   sys1.name<br />
FROM     sysobjects sys1<br />
LEFT JOIN sysobjects sys2<br />
ON sys1.id = sys2.parent_obj<br />
AND sys2.xtype = &#8216;TR&#8217;<br />
WHERE    sys2.name IS NULL<br />
AND sys1.xtype = &#8216;U&#8217;<br />
ORDER BY sys1.name</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/realworlddba.wordpress.com/34/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/realworlddba.wordpress.com/34/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/realworlddba.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/realworlddba.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/realworlddba.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/realworlddba.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/realworlddba.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/realworlddba.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/realworlddba.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/realworlddba.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/realworlddba.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/realworlddba.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=34&subd=realworlddba&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://realworlddba.wordpress.com/2008/07/29/find-all-tables-without-triggers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/657397304abb8bd8000f3d5d7ca9f4a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mxhxrdba</media:title>
		</media:content>

		<media:content url="http://www.resolverhacks.net/images/trigger.jpg" medium="image" />
	</item>
		<item>
		<title>max worker threads Options</title>
		<link>http://realworlddba.wordpress.com/2008/07/28/max-worker-threads-options/</link>
		<comments>http://realworlddba.wordpress.com/2008/07/28/max-worker-threads-options/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 15:18:08 +0000</pubDate>
		<dc:creator>mxhxrdba</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[max worker threads]]></category>
		<category><![CDATA[pooling]]></category>
		<category><![CDATA[reconfigure]]></category>
		<category><![CDATA[sp_configure]]></category>
		<category><![CDATA[sql server 2005]]></category>

		<guid isPermaLink="false">http://realworlddba.wordpress.com/?p=26</guid>
		<description><![CDATA[What does it do?
The max worker threads option controls the number of worker threads available to SQL Server.  One thread typically handles one connection, and it used to handle a batch of SQL statements as the arrive from the client.
Viewing current settings:
Run EXEC sp_configure, and look at the &#8216;max worker threads&#8217; option.  If you only [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=26&subd=realworlddba&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><em>What does it do?</em></p>
<p>The max worker threads option controls the number of worker threads available to SQL Server.  One thread typically handles one connection, and it used to handle a batch of SQL statements as the arrive from the client.</p>
<p><em>Viewing current settings:</em></p>
<p>Run <strong>EXEC sp_configure</strong>, and look at the &#8216;max worker threads&#8217; option.  If you only see a limited list of options, you need to enable the &#8217;show advanced option&#8217; setting, followed by RECONFIGURE.</p>
<p><strong>EXEC sp_configure &#8217;show advanced option&#8217;, &#8216;1&#8242;;<br />
RECONFIGURE;<br />
EXEC sp_configure; </strong></p>
<p>As long as the number of connections is less than or equal to the number of threads available, each connection will get a single thread.  After that,  SQL Server will create a pool of worker threads to handle a larger number of clients.</p>
<p><em>Suggested settings:</em></p>
<p>For a 32 bit system, Microsoft recommends:</p>
<p>&lt;= 4 processors = 256 max worker threads<br />
8 processors = 288 max worker threads<br />
16 processors = 352 max worker threads<br />
32 processors = 480 max worker threads</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/realworlddba.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/realworlddba.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/realworlddba.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/realworlddba.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/realworlddba.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/realworlddba.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/realworlddba.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/realworlddba.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/realworlddba.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/realworlddba.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/realworlddba.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/realworlddba.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=26&subd=realworlddba&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://realworlddba.wordpress.com/2008/07/28/max-worker-threads-options/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/657397304abb8bd8000f3d5d7ca9f4a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mxhxrdba</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Server Interview Questions</title>
		<link>http://realworlddba.wordpress.com/2008/07/08/sql-server-interview-questions/</link>
		<comments>http://realworlddba.wordpress.com/2008/07/08/sql-server-interview-questions/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 22:33:21 +0000</pubDate>
		<dc:creator>mxhxrdba</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[sql server interview questions 2005 200 2008]]></category>

		<guid isPermaLink="false">http://realworlddba.wordpress.com/?p=21</guid>
		<description><![CDATA[
In case you&#8217;re looking for some quick questions to screen a prospective candidate working with SQL Server, here is a link to some SQL Server Interview Questions (from SQLAuthority.com).
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=21&subd=realworlddba&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img class="alignnone" src="http://www.acetheinterview.com/images/parttime.gif" alt="" width="317" height="204" /></p>
<p>In case you&#8217;re looking for some quick questions to screen a prospective candidate working with SQL Server, here is a link to some <strong><a href="http://blog.sqlauthority.com/2007/04/21/sql-server-interview-questions-and-answers-complete-list-download/" target="_blank">SQL Server Interview Questions</a> </strong>(from SQLAuthority.com).</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/realworlddba.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/realworlddba.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/realworlddba.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/realworlddba.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/realworlddba.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/realworlddba.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/realworlddba.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/realworlddba.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/realworlddba.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/realworlddba.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/realworlddba.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/realworlddba.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=21&subd=realworlddba&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://realworlddba.wordpress.com/2008/07/08/sql-server-interview-questions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/657397304abb8bd8000f3d5d7ca9f4a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mxhxrdba</media:title>
		</media:content>

		<media:content url="http://www.acetheinterview.com/images/parttime.gif" medium="image" />
	</item>
		<item>
		<title>Finding the space used by a particular table</title>
		<link>http://realworlddba.wordpress.com/2008/07/08/finding-the-space-used-by-a-particular-table/</link>
		<comments>http://realworlddba.wordpress.com/2008/07/08/finding-the-space-used-by-a-particular-table/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 22:18:31 +0000</pubDate>
		<dc:creator>mxhxrdba</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[space used sql server 2005]]></category>

		<guid isPermaLink="false">http://realworlddba.wordpress.com/?p=19</guid>
		<description><![CDATA[A quick tip today: how to find the space used by a particular table:
EXEC sp_spaceused 'tCompany'
GO


       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=19&subd=realworlddba&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A quick tip today: how to find the space used by a particular table:</p>
<pre><code style="font-size:12px;"><span style="color:blue;">EXEC </span><span style="color:darkred;">sp_spaceused </span><span style="color:red;">'tCompany'</span><span style="color:gray;">
</span><span style="color:black;">GO</span></code>
<code style="font-size:12px;"><span style="color:blue;">
</span></code></pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/realworlddba.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/realworlddba.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/realworlddba.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/realworlddba.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/realworlddba.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/realworlddba.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/realworlddba.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/realworlddba.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/realworlddba.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/realworlddba.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/realworlddba.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/realworlddba.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=19&subd=realworlddba&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://realworlddba.wordpress.com/2008/07/08/finding-the-space-used-by-a-particular-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/657397304abb8bd8000f3d5d7ca9f4a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mxhxrdba</media:title>
		</media:content>
	</item>
		<item>
		<title>Deferred Name Resolution, or &#8220;Why does my proc allow invalid table names?&#8221;</title>
		<link>http://realworlddba.wordpress.com/2008/06/04/deferred-name-resolution-or-why-does-my-proc-allow-invalid-table-names/</link>
		<comments>http://realworlddba.wordpress.com/2008/06/04/deferred-name-resolution-or-why-does-my-proc-allow-invalid-table-names/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 14:34:18 +0000</pubDate>
		<dc:creator>mxhxrdba</dc:creator>
				<category><![CDATA[2008]]></category>
		<category><![CDATA[Administration]]></category>
		<category><![CDATA[columns]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[deferred]]></category>
		<category><![CDATA[missing]]></category>
		<category><![CDATA[name]]></category>
		<category><![CDATA[proc]]></category>
		<category><![CDATA[procedure]]></category>
		<category><![CDATA[resolution]]></category>
		<category><![CDATA[save]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[stored]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://realworlddba.wordpress.com/?p=17</guid>
		<description><![CDATA[A developer came to me a few days ago, wondering why when he specifies an invalid table name in a stored procedure, the proc saves to the database, but when he specifies an invalid column name it fails.
Looks like the deferred name resolution only works w/ missing tables&#8230;not w/ missing columns: http://msdn.microsoft.com/en-us/library/ms190686.aspx
For instance, this succeeds [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=17&subd=realworlddba&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A developer came to me a few days ago, wondering why when he specifies an invalid table name in a stored procedure, the proc saves to the database, but when he specifies an invalid column name it fails.</p>
<p>Looks like the deferred name resolution only works w/ missing tables&#8230;not w/ missing columns: http://msdn.microsoft.com/en-us/library/ms190686.aspx</p>
<p>For instance, this succeeds on an DB:</p>
<p>create proc cp_test<br />
as<br />
select somecolumn from tFakeTable  &#8211;fake column, fake table</p>
<p>This fails on an DB:</p>
<p>create proc cp_test2<br />
as<br />
select somecolumn from tActualTable&#8211;fake column, real table</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/realworlddba.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/realworlddba.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/realworlddba.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/realworlddba.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/realworlddba.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/realworlddba.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/realworlddba.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/realworlddba.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/realworlddba.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/realworlddba.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/realworlddba.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/realworlddba.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=17&subd=realworlddba&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://realworlddba.wordpress.com/2008/06/04/deferred-name-resolution-or-why-does-my-proc-allow-invalid-table-names/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/657397304abb8bd8000f3d5d7ca9f4a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mxhxrdba</media:title>
		</media:content>
	</item>
		<item>
		<title>Text to Binary Translator</title>
		<link>http://realworlddba.wordpress.com/2008/03/20/text-to-binary-translator/</link>
		<comments>http://realworlddba.wordpress.com/2008/03/20/text-to-binary-translator/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 18:48:07 +0000</pubDate>
		<dc:creator>mxhxrdba</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://realworlddba.wordpress.com/2008/03/20/text-to-binary-translator/</guid>
		<description><![CDATA[&#8230;because you never know when you&#8217;ll need one.
Link
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=16&subd=realworlddba&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>&#8230;because you never know when you&#8217;ll need one.</p>
<p><a href="http://www.geek-notes.com/tools/17/text-to-binary-translator/">Link</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/realworlddba.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/realworlddba.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/realworlddba.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/realworlddba.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/realworlddba.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/realworlddba.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/realworlddba.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/realworlddba.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/realworlddba.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/realworlddba.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/realworlddba.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/realworlddba.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=realworlddba.wordpress.com&blog=2632065&post=16&subd=realworlddba&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://realworlddba.wordpress.com/2008/03/20/text-to-binary-translator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/657397304abb8bd8000f3d5d7ca9f4a8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mxhxrdba</media:title>
		</media:content>
	</item>
	</channel>
</rss>