<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DEEAQno7fyp7ImA9WhRRFE4.&quot;"><id>tag:blogger.com,1999:blog-6252537647455974109</id><updated>2011-11-27T17:30:43.407-06:00</updated><category term="alias" /><category term="tcp" /><category term="service packs" /><category term="rowcounts" /><category term="named instance" /><category term="enterprise software" /><category term="DTS" /><category term="Profiler" /><category term="Image" /><category term="hotfixes" /><category term="sp_msforeachtable" /><category term="default instance" /><category term="legacy" /><category term="log" /><category term="trace" /><category term="Recovery" /><category term="XML" /><category term="Load" /><category term="TempDB" /><category term="Training" /><category term="sql builds" /><title>SQL Kit  Tips and Scripts for T-SQL, BI</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://sqlkit.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://sqlkit.blogspot.com/" /><author><name>Benjamin Lotter</name><uri>http://www.blogger.com/profile/07663783110008841757</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="29" src="http://2.bp.blogspot.com/_kfO50KyyVHQ/SQzXekfl6LI/AAAAAAAAABQ/j014Ea_vLKc/S220/AUTHOR_PHOTO2006131234529012.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/Qtips" /><feedburner:info uri="qtips" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DUEDSXY-fSp7ImA9Wx9WFkk.&quot;"><id>tag:blogger.com,1999:blog-6252537647455974109.post-7883842513624049311</id><published>2011-01-21T16:05:00.003-06:00</published><updated>2011-01-21T16:07:58.855-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-21T16:07:58.855-06:00</app:edited><title>SQL Tidbits http://sqltidbits.com/ or follow @sqltidbits</title><summary type="html">I'm launching a new SQL Server website called SQL Tidbits. Visit http://sqltidbits.com/ or follow @sqltidbits and let me know what you think.


I'm in the process of transferring the content from this site to there as well as uploading some of my best T-SQL scripts.  With some frequency, I'll also be doing short screencasts when it's easier to show you than just tell how to do something.&lt;img src="http://feeds.feedburner.com/~r/Qtips/~4/pc-j9gnYt1Y" height="1" width="1"/&gt;</summary><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/7883842513624049311?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/7883842513624049311?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Qtips/~3/pc-j9gnYt1Y/sql-tidbits-httpsqltidbitscom-or-follow.html" title="SQL Tidbits http://sqltidbits.com/ or follow @sqltidbits" /><author><name>Benjamin Lotter</name><uri>http://www.blogger.com/profile/07663783110008841757</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="29" src="http://2.bp.blogspot.com/_kfO50KyyVHQ/SQzXekfl6LI/AAAAAAAAABQ/j014Ea_vLKc/S220/AUTHOR_PHOTO2006131234529012.jpg" /></author><feedburner:origLink>http://sqlkit.blogspot.com/2011/01/sql-tidbits-httpsqltidbitscom-or-follow.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkEDRHk9eSp7ImA9WxVaEE4.&quot;"><id>tag:blogger.com,1999:blog-6252537647455974109.post-5698969042194310065</id><published>2009-04-06T10:10:00.002-05:00</published><updated>2009-04-06T10:11:15.761-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-06T10:11:15.761-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Training" /><title>Free SQL Training Videos</title><summary type="html">Brent Ozar had a good post listing some free SQL Training resources including a couple I didn't know about.  Find his list on his blog post http://www.brentozar.com/archive/2009/04/free-sql-server-dba-training-videos/.&lt;img src="http://feeds.feedburner.com/~r/Qtips/~4/zqOzsUujEFU" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://sqlkit.blogspot.com/feeds/5698969042194310065/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6252537647455974109&amp;postID=5698969042194310065" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/5698969042194310065?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/5698969042194310065?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Qtips/~3/zqOzsUujEFU/free-sql-training-videos.html" title="Free SQL Training Videos" /><author><name>Benjamin Lotter</name><uri>http://www.blogger.com/profile/07663783110008841757</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="29" src="http://2.bp.blogspot.com/_kfO50KyyVHQ/SQzXekfl6LI/AAAAAAAAABQ/j014Ea_vLKc/S220/AUTHOR_PHOTO2006131234529012.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://sqlkit.blogspot.com/2009/04/free-sql-training-videos.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QNRXcyeyp7ImA9WxJQE0g.&quot;"><id>tag:blogger.com,1999:blog-6252537647455974109.post-3165662258499587273</id><published>2009-02-18T11:54:00.003-06:00</published><updated>2009-05-26T10:23:14.993-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-26T10:23:14.993-05:00</app:edited><title>T-SQL Arrays</title><summary type="html">Here's a good link compiling various methods for processing information in an array-like method.http://www.projectdmx.com/tsql/sqlarrays.aspx&lt;img src="http://feeds.feedburner.com/~r/Qtips/~4/JqyuP0XCZIs" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://sqlkit.blogspot.com/feeds/3165662258499587273/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6252537647455974109&amp;postID=3165662258499587273" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/3165662258499587273?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/3165662258499587273?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Qtips/~3/JqyuP0XCZIs/t-sql-arrays.html" title="T-SQL Arrays" /><author><name>Benjamin Lotter</name><uri>http://www.blogger.com/profile/07663783110008841757</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="29" src="http://2.bp.blogspot.com/_kfO50KyyVHQ/SQzXekfl6LI/AAAAAAAAABQ/j014Ea_vLKc/S220/AUTHOR_PHOTO2006131234529012.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://sqlkit.blogspot.com/2009/02/t-sql-arrays.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YNQXc-cCp7ImA9WxBTFUs.&quot;"><id>tag:blogger.com,1999:blog-6252537647455974109.post-8317028738941496148</id><published>2009-02-18T07:33:00.014-06:00</published><updated>2009-12-11T14:59:50.958-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-11T14:59:50.958-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sql builds" /><category scheme="http://www.blogger.com/atom/ns#" term="service packs" /><category scheme="http://www.blogger.com/atom/ns#" term="hotfixes" /><title>SQL Server Service Packs and Hotfixes</title><summary type="html">UPDATE: Looks like someone else has this idea covered. Check out a list that is updated more frequently. http://www.sqlteam.com/article/sql-server-versionsHere are some links that I reference often. You can find the latest service packs and hotfixes for a particular version of SQL.Version &amp;amp; Service PackHotfix linksLatest buildSQL Sever 2000 SP4http://support.microsoft.com/kb/8949058.00.2249SQL &lt;img src="http://feeds.feedburner.com/~r/Qtips/~4/Hc7v4CyDVB8" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://sqlkit.blogspot.com/feeds/8317028738941496148/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6252537647455974109&amp;postID=8317028738941496148" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/8317028738941496148?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/8317028738941496148?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Qtips/~3/Hc7v4CyDVB8/service-pack-hotfixes.html" title="SQL Server Service Packs and Hotfixes" /><author><name>Benjamin Lotter</name><uri>http://www.blogger.com/profile/07663783110008841757</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="29" src="http://2.bp.blogspot.com/_kfO50KyyVHQ/SQzXekfl6LI/AAAAAAAAABQ/j014Ea_vLKc/S220/AUTHOR_PHOTO2006131234529012.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://sqlkit.blogspot.com/2009/02/service-pack-hotfixes.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0YGSHo4eyp7ImA9WxRVFEQ.&quot;"><id>tag:blogger.com,1999:blog-6252537647455974109.post-3679978838045731392</id><published>2008-11-12T08:07:00.002-06:00</published><updated>2008-11-12T08:12:09.433-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-12T08:12:09.433-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="tcp" /><category scheme="http://www.blogger.com/atom/ns#" term="default instance" /><category scheme="http://www.blogger.com/atom/ns#" term="alias" /><category scheme="http://www.blogger.com/atom/ns#" term="legacy" /><category scheme="http://www.blogger.com/atom/ns#" term="named instance" /><title>Making a SQL Server Instance Listen on Multiple Ports</title><summary type="html">Sometimes when upgrading a SQL Server instance to 2005 or 2008 named instance there is still a need to support a legacy application which can only talk to the default instance on port 1433.  Normally I handle this scenario in the following way.(1) Install a named instance and set it a static TCP port (under IP All).  (for example, 4532)(2) Configure a "default" alias to point to the named &lt;img src="http://feeds.feedburner.com/~r/Qtips/~4/40i9o3bwVoE" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://sqlkit.blogspot.com/feeds/3679978838045731392/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6252537647455974109&amp;postID=3679978838045731392" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/3679978838045731392?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/3679978838045731392?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Qtips/~3/40i9o3bwVoE/making-sql-server-instance-listen-on.html" title="Making a SQL Server Instance Listen on Multiple Ports" /><author><name>Benjamin Lotter</name><uri>http://www.blogger.com/profile/07663783110008841757</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="29" src="http://2.bp.blogspot.com/_kfO50KyyVHQ/SQzXekfl6LI/AAAAAAAAABQ/j014Ea_vLKc/S220/AUTHOR_PHOTO2006131234529012.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://sqlkit.blogspot.com/2008/11/making-sql-server-instance-listen-on.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUHRH85fip7ImA9WxRVFE4.&quot;"><id>tag:blogger.com,1999:blog-6252537647455974109.post-5610252131240398004</id><published>2008-11-11T12:54:00.003-06:00</published><updated>2008-11-11T15:00:35.126-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-11T15:00:35.126-06:00</app:edited><title>Get a List of Unique Servers from a list of SQL Instances</title><summary type="html">Here's an example of pulling just the server name from a list of SQL Server instances.CREATE TABLE [dbo].[Instances]( [QID] [smallint] IDENTITY(1,1) NOT NULL, [Instance] [varchar](128) NOT NULL --additional fields and table options not shown)GO--load the table with dataSELECT DISTINCT --eliminate duplicates CASE  WHEN charindex('\', [instance]) &amp;gt; 0 THEN --if the instance name includes a slash   &lt;img src="http://feeds.feedburner.com/~r/Qtips/~4/0K7kOmb_9P8" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://sqlkit.blogspot.com/feeds/5610252131240398004/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6252537647455974109&amp;postID=5610252131240398004" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/5610252131240398004?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/5610252131240398004?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Qtips/~3/0K7kOmb_9P8/get-list-of-unique-servers-from-list-of.html" title="Get a List of Unique Servers from a list of SQL Instances" /><author><name>Benjamin Lotter</name><uri>http://www.blogger.com/profile/07663783110008841757</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="29" src="http://2.bp.blogspot.com/_kfO50KyyVHQ/SQzXekfl6LI/AAAAAAAAABQ/j014Ea_vLKc/S220/AUTHOR_PHOTO2006131234529012.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://sqlkit.blogspot.com/2008/11/get-list-of-unique-servers-from-list-of.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkANQHc8cCp7ImA9WxVXEUU.&quot;"><id>tag:blogger.com,1999:blog-6252537647455974109.post-8670593901727560894</id><published>2008-11-11T09:37:00.005-06:00</published><updated>2009-02-09T05:59:51.978-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-09T05:59:51.978-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="enterprise software" /><title>Enterprise Software - Scalability, Flexibility and Integration</title><summary type="html">In yesterday's SSWUG newsletter, Stephen Wynkoop posed the following question.(excerpt from the SSWUG newsletter 11/10/2008)What, Exactly, Makes "Enterprise" Software?The next version of SQL Server takes more steps toward supporting enterprise-class installations and BI solutions. Great!What is "enterprise" - what does that mean? I'm curious because since even the 7.0 days, and certainly 2000 and&lt;img src="http://feeds.feedburner.com/~r/Qtips/~4/pMXXY6TVfA8" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://sqlkit.blogspot.com/feeds/8670593901727560894/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6252537647455974109&amp;postID=8670593901727560894" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/8670593901727560894?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/8670593901727560894?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Qtips/~3/pMXXY6TVfA8/enterprise-software-scalability.html" title="Enterprise Software - Scalability, Flexibility and Integration" /><author><name>Benjamin Lotter</name><uri>http://www.blogger.com/profile/07663783110008841757</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="29" src="http://2.bp.blogspot.com/_kfO50KyyVHQ/SQzXekfl6LI/AAAAAAAAABQ/j014Ea_vLKc/S220/AUTHOR_PHOTO2006131234529012.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://sqlkit.blogspot.com/2008/11/enterprise-software-scalability.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A08GSXczeSp7ImA9WxRVFE0.&quot;"><id>tag:blogger.com,1999:blog-6252537647455974109.post-2223569975670004686</id><published>2008-11-11T07:00:00.003-06:00</published><updated>2008-11-11T07:23:48.981-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-11T07:23:48.981-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="trace" /><category scheme="http://www.blogger.com/atom/ns#" term="log" /><title>SQL 2005 Log Reader - Default Trace</title><summary type="html">I just read a great article at SQLServerCentral.com about the Default Trace.  It's a low-impact trace that's running all the time and writes DDL and other events to a file which can be queried in SSMS.  Here's the link.  http://www.sqlservercentral.com/articles/SQL+Server+2005/64547/&lt;img src="http://feeds.feedburner.com/~r/Qtips/~4/Z91acKJImXg" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://sqlkit.blogspot.com/feeds/2223569975670004686/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6252537647455974109&amp;postID=2223569975670004686" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/2223569975670004686?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/2223569975670004686?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Qtips/~3/Z91acKJImXg/sql-2005-log-reader-default-trace.html" title="SQL 2005 Log Reader - Default Trace" /><author><name>Benjamin Lotter</name><uri>http://www.blogger.com/profile/07663783110008841757</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="29" src="http://2.bp.blogspot.com/_kfO50KyyVHQ/SQzXekfl6LI/AAAAAAAAABQ/j014Ea_vLKc/S220/AUTHOR_PHOTO2006131234529012.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://sqlkit.blogspot.com/2008/11/sql-2005-log-reader-default-trace.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8EQHw4fip7ImA9WxRWFEw.&quot;"><id>tag:blogger.com,1999:blog-6252537647455974109.post-2394677695930079055</id><published>2008-10-30T19:53:00.002-05:00</published><updated>2008-10-30T20:00:01.236-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-30T20:00:01.236-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="XML" /><category scheme="http://www.blogger.com/atom/ns#" term="Load" /><title>Load XML data into SQL 2000</title><summary type="html">I recently had the need (read "somebody wanted a big favor") to load XML data into a SQL Server 2000 database.  I came across an easy way for them (being a developer to push the data into SQL) per the article (http://support.microsoft.com/kb/316005).After creating the table on SQL, you have to create a mapping file to tell it which fields go with which columns in the SQL database.  The article &lt;img src="http://feeds.feedburner.com/~r/Qtips/~4/QQdJctSmhiY" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://sqlkit.blogspot.com/feeds/2394677695930079055/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6252537647455974109&amp;postID=2394677695930079055" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/2394677695930079055?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/2394677695930079055?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Qtips/~3/QQdJctSmhiY/load-xml-data-into-sql-2000.html" title="Load XML data into SQL 2000" /><author><name>Benjamin Lotter</name><uri>http://www.blogger.com/profile/07663783110008841757</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="29" src="http://2.bp.blogspot.com/_kfO50KyyVHQ/SQzXekfl6LI/AAAAAAAAABQ/j014Ea_vLKc/S220/AUTHOR_PHOTO2006131234529012.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://sqlkit.blogspot.com/2008/10/load-xml-data-into-sql-2000.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C08DQXc-cCp7ImA9WxRWE0Q.&quot;"><id>tag:blogger.com,1999:blog-6252537647455974109.post-2919299839638119528</id><published>2008-10-30T13:27:00.004-05:00</published><updated>2008-10-30T13:37:50.958-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-30T13:37:50.958-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="rowcounts" /><category scheme="http://www.blogger.com/atom/ns#" term="sp_msforeachtable" /><title>List Table Rowcount and Size</title><summary type="html">Here's a handy way to get a list of table rowcounts and space used. If you've not used the sp_msforeachtable just plug in the question mark (?) as a token for the name of the table.--create a temporary table to hold the resultsCREATE TABLE #TableStats ( [name] varchar(128), [rows] varchar(128), [reserved] varchar(128), [data] varchar(128), [index_size] varchar(128), [unused] varchar(128))GO--loop&lt;img src="http://feeds.feedburner.com/~r/Qtips/~4/sgWkyotH33k" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://sqlkit.blogspot.com/feeds/2919299839638119528/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6252537647455974109&amp;postID=2919299839638119528" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/2919299839638119528?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/2919299839638119528?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Qtips/~3/sgWkyotH33k/heres-handy-way-to-get-list-of-table.html" title="List Table Rowcount and Size" /><author><name>Benjamin Lotter</name><uri>http://www.blogger.com/profile/07663783110008841757</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="29" src="http://2.bp.blogspot.com/_kfO50KyyVHQ/SQzXekfl6LI/AAAAAAAAABQ/j014Ea_vLKc/S220/AUTHOR_PHOTO2006131234529012.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://sqlkit.blogspot.com/2008/10/heres-handy-way-to-get-list-of-table.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYDQHozfip7ImA9WxRWE0U.&quot;"><id>tag:blogger.com,1999:blog-6252537647455974109.post-9117815566990827371</id><published>2008-10-28T10:40:00.000-05:00</published><updated>2008-10-30T11:12:51.486-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-30T11:12:51.486-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="DTS" /><title>List of DTS packages</title><summary type="html">I was recently asked by a fellow DBA if I had "one of my scripts" to give a list of DTS package on a SQL Server 2000 instance. Since the majority of my work is in 2005 and 2008, I just ran the following query.select * from msdb..sysdtspackagesThe results were not helpful because most of the packages had multiple versions stored so instead of listing the 200+ packages, it listed the 7000+ versions&lt;img src="http://feeds.feedburner.com/~r/Qtips/~4/wVR9jeScNs8" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://sqlkit.blogspot.com/feeds/9117815566990827371/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6252537647455974109&amp;postID=9117815566990827371" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/9117815566990827371?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/9117815566990827371?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Qtips/~3/wVR9jeScNs8/list-of-dts-packages.html" title="List of DTS packages" /><author><name>Benjamin Lotter</name><uri>http://www.blogger.com/profile/07663783110008841757</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="29" src="http://2.bp.blogspot.com/_kfO50KyyVHQ/SQzXekfl6LI/AAAAAAAAABQ/j014Ea_vLKc/S220/AUTHOR_PHOTO2006131234529012.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://sqlkit.blogspot.com/2008/10/list-of-dts-packages.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYEQn88cCp7ImA9WxRWE0U.&quot;"><id>tag:blogger.com,1999:blog-6252537647455974109.post-2984328132814846020</id><published>2008-10-21T07:26:00.000-05:00</published><updated>2008-10-30T11:11:43.178-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-30T11:11:43.178-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Profiler" /><title>SQL Server Profiler Tools</title><summary type="html">I learned several things about SQL Profiler by watching this video. I found it especially interesting that you can view the ShowPlan and the Perfmon data right from profiler.You have to setup a free account to view the video but it's worth it. There are dozens of great tutorials like this.http://www.jumpstarttv.com/using-sql-server-2005-profiler_59.aspx&lt;img src="http://feeds.feedburner.com/~r/Qtips/~4/TjYOoDa-qQ8" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://sqlkit.blogspot.com/feeds/2984328132814846020/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6252537647455974109&amp;postID=2984328132814846020" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/2984328132814846020?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/2984328132814846020?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Qtips/~3/TjYOoDa-qQ8/sql-server-profiler-tools.html" title="SQL Server Profiler Tools" /><author><name>Benjamin Lotter</name><uri>http://www.blogger.com/profile/07663783110008841757</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="29" src="http://2.bp.blogspot.com/_kfO50KyyVHQ/SQzXekfl6LI/AAAAAAAAABQ/j014Ea_vLKc/S220/AUTHOR_PHOTO2006131234529012.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://sqlkit.blogspot.com/2008/10/sql-server-profiler-tools.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUcGQ3wzfyp7ImA9WxBbF0o.&quot;"><id>tag:blogger.com,1999:blog-6252537647455974109.post-5171460909560535311</id><published>2008-10-10T10:40:00.001-05:00</published><updated>2010-03-16T17:03:42.287-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-16T17:03:42.287-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="TempDB" /><category scheme="http://www.blogger.com/atom/ns#" term="Recovery" /><title>Move TempDB, Recreate missing TempDB</title><summary type="html">You can move tempdb by running the following script. If tempdb is missing (due a drive failure, for example), you will need to start the SQL Service with -T3608 for the startup option and then run the script./*If tempdb is unavailable, stop and start the SQL service with thestartup option -T3608This allows you to start SQL without tempdb.*/USE masterGOALTER DATABASE tempdbMODIFY FILE (NAME = &lt;img src="http://feeds.feedburner.com/~r/Qtips/~4/y4uValQxVJg" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://sqlkit.blogspot.com/feeds/5171460909560535311/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6252537647455974109&amp;postID=5171460909560535311" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/5171460909560535311?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/5171460909560535311?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Qtips/~3/y4uValQxVJg/move-tempdb-recreate-missing-tempdb.html" title="Move TempDB, Recreate missing TempDB" /><author><name>Benjamin Lotter</name><uri>http://www.blogger.com/profile/07663783110008841757</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="29" src="http://2.bp.blogspot.com/_kfO50KyyVHQ/SQzXekfl6LI/AAAAAAAAABQ/j014Ea_vLKc/S220/AUTHOR_PHOTO2006131234529012.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://sqlkit.blogspot.com/2008/10/move-tempdb-recreate-missing-tempdb.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE4EQn8yeip7ImA9WxRWE0U.&quot;"><id>tag:blogger.com,1999:blog-6252537647455974109.post-5181392667902072083</id><published>2008-10-09T17:40:00.000-05:00</published><updated>2008-10-30T11:08:23.192-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-30T11:08:23.192-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Image" /><title>Insert Picture into Image Field using T-SQL</title><summary type="html">Here's an example of how to quickly load a picture into an image field using T-SQL.INSERT INTO [hr].[NTUsers] ( [userid], [username], [title], [reportsto], [pic])SELECT '00001', 'Chip Porter', 'Technology Services', '00000', BulkColumn FROM OPENROWSET(BULK 'c:\noimage.bmp', SINGLE_BLOB) AS ImageLoadGO&lt;img src="http://feeds.feedburner.com/~r/Qtips/~4/7HujBJvz1yM" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://sqlkit.blogspot.com/feeds/5181392667902072083/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6252537647455974109&amp;postID=5181392667902072083" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/5181392667902072083?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6252537647455974109/posts/default/5181392667902072083?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Qtips/~3/7HujBJvz1yM/insert-picture-into-image-field-using-t.html" title="Insert Picture into Image Field using T-SQL" /><author><name>Benjamin Lotter</name><uri>http://www.blogger.com/profile/07663783110008841757</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="29" src="http://2.bp.blogspot.com/_kfO50KyyVHQ/SQzXekfl6LI/AAAAAAAAABQ/j014Ea_vLKc/S220/AUTHOR_PHOTO2006131234529012.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://sqlkit.blogspot.com/2008/10/insert-picture-into-image-field-using-t.html</feedburner:origLink></entry></feed>

