 




<?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/"
	>

<channel>
	<title>The Multifunctioning DBA &#187; MSSQL</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/dba/tag/mssql/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/dba</link>
	<description></description>
	<lastBuildDate>Wed, 06 Feb 2013 01:01:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Table Partitioning in MS SQL Server</title>
		<link>http://itknowledgeexchange.techtarget.com/dba/table-partitioning-in-ms-sql-server/</link>
		<comments>http://itknowledgeexchange.techtarget.com/dba/table-partitioning-in-ms-sql-server/#comments</comments>
		<pubDate>Fri, 08 Jun 2012 10:00:25 +0000</pubDate>
		<dc:creator>Colin Smith</dc:creator>
				<category><![CDATA[MS SQL Server]]></category>
		<category><![CDATA[MSSQL]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/dba/table-partitioning-in-ms-sql-server/</guid>
		<description><![CDATA[How to create a partitioned table in SQL Server. This example is based on weekly partitions by date but it could be anything you need. 1.    Create the filegroup(s) that the partition table will reside on. a.    ALTER DATABASE databasename ADD filegroup [filegroupname] 2.    Create the file(s) that the partitioned table will reside on on [...]]]></description>
				<content:encoded><![CDATA[<p>How to create a partitioned table in SQL Server. This example is based on weekly partitions by date but it could be anything you need.</p>
<p>1.    Create the filegroup(s) that the partition table will reside on.<br />
a.    ALTER DATABASE databasename ADD filegroup [filegroupname]</p>
<p>2.    Create the file(s) that the partitioned table will reside on on the filegroup(s)<br />
a.    ALTER DATABASE databasename ADD FILE (name = N&#8217;filename&#8217;, filename = N’Path to file.ndf’, SIZE = initiailsize, maxsize = maxsize, FILEGROWTH = autogrow size) TO filegroup filegroupname.</p>
<p>3.    Create the Partition Function.<br />
a.    CREATE PARTITION FUNCTION<br />
weekly52(DATETIME)<br />
AS<br />
RANGE RIGHT FOR VALUES<br />
(&#8217;20120521&#8242;, &#8211;week 1<br />
&#8217;20120528&#8242;, &#8211;week 2<br />
&#8217;20120604&#8242;, &#8211;week 3<br />
&#8217;20120611&#8242;, &#8211;week 4<br />
&#8217;20120618&#8242;, &#8211;week 5 etc…<br />
&#8217;20130610&#8242; &#8211;week 52<br />
)</p>
<p>4.    Create the Partition Scheme<br />
a.    CREATE PARTITION SCHEME [weekly52_scheme]<br />
AS PARTITION weekly52 TO<br />
( [PRIMARY],<br />
[parttable1],<br />
[parttable1], &#8211;etc<br />
[parttable1])</p>
<p>5.    Create a heap table on the Primary Filegroup to load the initial data set into.<br />
a.    CREATE TABLE [dbo].[tablename](<br />
[DATE] [smalldatetime] NOT NULL,<br />
[SomeValue] [varchar](16) NOT NULL,<br />
[SomeValue1] [varchar](16) NOT NULL,<br />
[SomeValue2] [decimal](8, 2) NOT NULL,<br />
[SomeValue3] [decimal](8, 2) NOT NULL,<br />
[SomeValue4] [int] NOT NULL,<br />
[SomeValue5] [decimal](8, 2) NOT NULL,<br />
[SomeValue6] [int] NOT NULL)</p>
<p>6.    Load Data (This can be by any process. Verify that the date ranges are correct for the partition function. If not – then drop and recreate the partition function with the correct dates.)<br />
7.    Create the clustered index on the heap table and put the clustered index on the new partition scheme that you created for the partitioned table.<br />
a.    ALTER TABLE TableName<br />
ADD CONSTRAINT Index_Constraint_Name<br />
PRIMARY KEY CLUSTERED(DATE] ASC)<br />
On filegroupname</p>
<p>8.    Verify that the data is in the correct partitions.<br />
a.    SELECT $partition.PartitionFunctionName(o.date) AS [PARTITION#],<br />
MIN(o.date) AS [MIN DATE],<br />
MAX(o.date) AS [MAX DATE],<br />
COUNT(*) AS [ROWS IN Part]<br />
FROM parttest AS o<br />
GROUP BY $partition.PartitionFunctionName(o.date)<br />
ORDER BY [PARTITION#]</p>
<p>9.    If the data looks correct in the partitions then the table is set up and the data has been distributed to the correct partitions. You can double check in SSMS by right clicking on the TableName and going to the storage tab. You should see that table partitioned = true and you should see the number of partitions that the table spans.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/dba/table-partitioning-in-ms-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Training Contest</title>
		<link>http://itknowledgeexchange.techtarget.com/dba/free-training-contest/</link>
		<comments>http://itknowledgeexchange.techtarget.com/dba/free-training-contest/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 18:02:00 +0000</pubDate>
		<dc:creator>Colin Smith</dc:creator>
				<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[Training]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/dba/free-training-contest/</guid>
		<description><![CDATA[Who wants some free training? I know I do and that is why my last post was what it was. Here is a link to the competition. Get in and get your post done today for your chance to win some Awesome Training. http://www.sqlskills.com/BLOGS/PAUL/post/Master_Immersion_Event_Competition.aspx I think all should enter but I really do hope that [...]]]></description>
				<content:encoded><![CDATA[<p>Who wants some free training? I know I do and that is why my last post was what it was. Here is a link to the competition. Get in and get your post done today for your chance to win some Awesome Training. <a href="http://www.sqlskills.com/BLOGS/PAUL/post/Master_Immersion_Event_Competition.aspx">http://www.sqlskills.com/BLOGS/PAUL/post/Master_Immersion_Event_Competition.aspx</a></p>
<p>I think all should enter but I really do hope that I win. Good luck though and thanks again to the <a href="http://www.sqlskills.com">SQLSkills</a> group for doing this for the community.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/dba/free-training-contest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DBA Roles</title>
		<link>http://itknowledgeexchange.techtarget.com/dba/dba-roles/</link>
		<comments>http://itknowledgeexchange.techtarget.com/dba/dba-roles/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 17:46:05 +0000</pubDate>
		<dc:creator>Colin Smith</dc:creator>
				<category><![CDATA[Developer DBA]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[Roles]]></category>
		<category><![CDATA[Seperation of Roles]]></category>
		<category><![CDATA[Systems DBA]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/dba/dba-roles/</guid>
		<description><![CDATA[I have a scenario that I would like to talk to you all about and get your take on what should be done. I am a Systems DBA. I am not a Developer. Lets say that in the not so distant past my team of System DBA&#8217;s got a phone call from a developer in [...]]]></description>
				<content:encoded><![CDATA[<p>I have a scenario that I would like to talk to you all about and get your take on what should be done. I am a Systems DBA. I am not a Developer. Lets say that in the not so distant past my team of System DBA&#8217;s got a phone call from a developer in a panic. They needed a restore and needed it now. Something happened to a production Database and a site that is mission critical was down. Of course nobody had any idea what happened or who did it. I looked into doing a restore and guess what. No backup had ever been done on this Database. All of the other Databases on the instance were being backed up but not this one. What could have been going on here?<br />
Well let me give you a bit more of the back story. In my company the DBA group, my group, is responsible for Backups, Restores, Indexing, etc. We are also in charge of migrating any database object into production. This is meant to keep developers from developing in production. They all have test instances and they are all sysadmin role in those instances so that they can do what ever it is that they need in order to develop. Well, we have one group who has convinced the right people that they, the developers, need full access in production as well. They are too important to the business to be slowed down by process and that will cost us money.<br />
Now that you know that, let me explain why the database was not backed up. The backup job was put in place before this database was created. Now, creating a database is usually up to my team, but since they all have sysadmin role they created it and did not tell us. They also did not set up backups to run against this database. They also were developing in production on the day that it all went down. Millions of rows were lost, database using simple recovery, and no backups. Then they blamed my team for not making sure that the database was backed up.<br />
This brings me to my question. Since I am not a developer I would love to hear from System DBA&#8217;s as well as Development DBA&#8217;s on this. What should the seperation of roles be here? Am I crazy to think that the System DBA&#8217;s should not allow development and creation of databases and database objects in a production database by the developers?<br />
I would like to tell them that either we lock it down and the System DBA&#8217;s will migrate all Database Objects and do all Database creation in the future and at that point we will be responsible for all that a Systems DBA should be responsible for. Or, We can give them all SysAdmin role and we will do nothing. If they want to muck around in it then they deal with the fallout and not us. Does that sound right to all of you? Please let me know what you think.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/dba/dba-roles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Health Check into SQL Server</title>
		<link>http://itknowledgeexchange.techtarget.com/dba/health-check-into-sql-server/</link>
		<comments>http://itknowledgeexchange.techtarget.com/dba/health-check-into-sql-server/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 13:12:48 +0000</pubDate>
		<dc:creator>Colin Smith</dc:creator>
				<category><![CDATA[Audit]]></category>
		<category><![CDATA[Baselining]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[MSSQL Administration]]></category>
		<category><![CDATA[Trending]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/dba/health-check-into-sql-server/</guid>
		<description><![CDATA[I have recently posted about my new job and how I am walking into the unknown. Like I have said in the past, I did get a list of Host Names that are running SQL Server. I have written a script to go out and look at each of those hosts and get me all [...]]]></description>
				<content:encoded><![CDATA[<p>I have recently posted about my new job and how I am walking into the unknown. Like I have said in the past, I did get a list of Host Names that are running SQL Server. I have written a script to go out and look at each of those hosts and get me all instances. I have put together a list of about 150 SQL Servers that are running but I still no very little about. I have also posted about a Powershell script that I have written that goes out and gathers information about the SQL Server instances in question. I ran this and I was shocked. After glancing at the output I see things that just should not be. I see many DB&#8217;s that have logs larger than the Database. I see many that are running from the system drive, I see some that are far behind on patching, I even see one with only system databases on it. Like I said I have about 150 identified running instances and just over 1000 databases. You read that correctly over 1000. I just really do not even know where to start.</p>
<p>Because I have so many servers and so many databases, I thought that a simple Excel Spreadsheet is just not going to do it for me this time. I need more than just a simple report. I want to put all this data in a database so that I can slice and dice the data more easily, when I finally figure out how to prioritize what needs to be done. So here is what I have so far. I will use the same Powershell script to go get all the data that I am after and then I will have it insert the data into the database. This is just the beginning for this database as I have some bigger plans brewing in my head now. For now though, I just need something quick and basic to get the data into so I can prioritize and identify the largest problem areas.</p>
<p>I have two tables consisting of the following:</p>
<table style="width: 235pt" border="0" cellspacing="0" cellpadding="0" width="313">
<col style="width: 114pt" span="1" width="152"></col>
<col style="width: 121pt" span="1" width="161"></col>
<tbody>
<tr style="height: 16.5pt">
<td class="xl69" style="width: 114pt;height: 16.5pt" width="152" height="22"><span style="font-size: small;font-family: Calibri">Instance Table</span></td>
<td class="xl70" style="width: 121pt" width="161"><span style="font-size: small;font-family: Calibri">Database Table</span></td>
</tr>
<tr style="height: 15.75pt">
<td class="xl67" style="height: 15.75pt" height="21"><span style="font-size: small;font-family: Calibri">ID<span>          </span>PK</span></td>
<td class="xl68"><span style="font-size: small;font-family: Calibri">I_ID<span>               </span>FK to I.ID</span></td>
</tr>
<tr style="height: 15pt">
<td class="xl63" style="height: 15pt" height="20"><span style="font-size: small;font-family: Calibri">Host_Name</span></td>
<td class="xl64"><span style="font-size: small;font-family: Calibri">DB_Name</span></td>
</tr>
<tr style="height: 15pt">
<td class="xl63" style="height: 15pt" height="20"><span style="font-size: small;font-family: Calibri">Instance_Name</span></td>
<td class="xl64"><span style="font-size: small;font-family: Calibri">Recovery_Model</span></td>
</tr>
<tr style="height: 15pt">
<td class="xl63" style="height: 15pt" height="20"><span style="font-size: small;font-family: Calibri">SQL_Version</span></td>
<td class="xl64"><span style="font-size: small;font-family: Calibri">Data_Disk</span></td>
</tr>
<tr style="height: 15pt">
<td class="xl63" style="height: 15pt" height="20"><span style="font-size: small;font-family: Calibri">SQL_SP</span></td>
<td class="xl64"><span style="font-size: small;font-family: Calibri">Log_Disk</span></td>
</tr>
<tr style="height: 15pt">
<td class="xl63" style="height: 15pt" height="20"><span style="font-size: small;font-family: Calibri">OS_Version</span></td>
<td class="xl64"><span style="font-size: small;font-family: Calibri">Database _Size</span></td>
</tr>
<tr style="height: 15pt">
<td class="xl63" style="height: 15pt" height="20"><span style="font-size: small;font-family: Calibri"> </span></td>
<td class="xl64"><span style="font-size: small;font-family: Calibri">Log_Size</span></td>
</tr>
<tr style="height: 15pt">
<td class="xl63" style="height: 15pt" height="20"><span style="font-size: small;font-family: Calibri"> </span></td>
<td class="xl64"><span style="font-size: small;font-family: Calibri">Type (Test or Prod)</span></td>
</tr>
<tr style="height: 15pt">
<td class="xl63" style="height: 15pt" height="20"><span style="font-size: small;font-family: Calibri"> </span></td>
<td class="xl64"><span style="font-size: small;font-family: Calibri">Dbspace_Available</span></td>
</tr>
<tr style="height: 15.75pt">
<td class="xl65" style="height: 15.75pt" height="21"><span style="font-size: small;font-family: Calibri"> </span></td>
<td class="xl66"><span style="font-size: small;font-family: Calibri">Logspace_Available</span></td>
</tr>
</tbody>
</table>
<p>I think that this will give me the ability to look at the basics and identify major problems. As I get things taken care of I will then start to add more to this Database so that I can do some more tunning, baselining, trending, and so forth.</p>
<p> </p>
<p>Got any thoughts on what I should add to this initially. I am all ears.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/dba/health-check-into-sql-server/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Active, Active, Active</title>
		<link>http://itknowledgeexchange.techtarget.com/dba/active-active-active/</link>
		<comments>http://itknowledgeexchange.techtarget.com/dba/active-active-active/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 03:30:39 +0000</pubDate>
		<dc:creator>Colin Smith</dc:creator>
				<category><![CDATA[Cluster]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[MSSQL Administration]]></category>
		<category><![CDATA[MSSQL Install]]></category>
		<category><![CDATA[MSSQL Server]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/dba/active-active-active/</guid>
		<description><![CDATA[Last week I got the chance to work on an Active, Active, Active SQL Server 2008 Cluster install. This was new to me and very fun. We have three physical hosts all using SQL Server 2008 Enterprise Edition. The Servers are also running Windows Server 2008 Enterprise Edition. I worked with one of our windows [...]]]></description>
				<content:encoded><![CDATA[<p>Last week I got the chance to work on an Active, Active, Active SQL Server 2008 Cluster install. This was new to me and very fun. We have three physical hosts all using SQL Server 2008 Enterprise Edition. The Servers are also running Windows Server 2008 Enterprise Edition. I worked with one of our windows admins to do the install. First the windows admin set up the windows cluster and assigned all of the storage to the cluster but did not assign it to an application or service. Once that was done we had to set up the Distributed Transaction Coordinator and give it its storage. Now we started the install of SQL Server 2008. Since all of the storage was owned by one server we installed all three instances, one for each node, of SQL Server on that server and that created the different cluster applications for us. Then on each of the other servers we added a node three times, again once for each instance. Now that is complete we can fail over the resources for any instance to any of the physical nodes. Very cool. </p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/dba/active-active-active/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MCTS Exam</title>
		<link>http://itknowledgeexchange.techtarget.com/dba/mcts-exam/</link>
		<comments>http://itknowledgeexchange.techtarget.com/dba/mcts-exam/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 10:00:27 +0000</pubDate>
		<dc:creator>Colin Smith</dc:creator>
				<category><![CDATA[Certification]]></category>
		<category><![CDATA[MS SQL Server]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[Study]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/dba/mcts-exam/</guid>
		<description><![CDATA[So Like I said before I did take the MCTS Exam and I did pass. I can not go into any detail about the test as you have to agree to an NDA before you take it. The test was, in my opinion, not as hard as the study material. I think that MS did [...]]]></description>
				<content:encoded><![CDATA[<p>So Like I said before I did take the MCTS Exam and I did pass. I can not go into any detail about the test as you have to agree to an NDA before you take it. The test was, in my opinion, not as hard as the study material. I think that MS did a great job with the study material for this test. I was not sure if I was really ready for the test but it turns out I was more than ready.<br />
I finished the test very early. I had about 40 minutes left when I completed the question portion and still over 1 hour left when I completed the simulation portion of the Exam. To study I purchased the following kit and I am about to start on the second book to prepare for the second of the three tests required for the MCITP:DBA certification. Think I will start hitting that hard when I return from Hawaii.</p>
<p>http://www.amazon.com/gp/product/0735623775</p>
<p>Read the book and spend time doing the practices and questions in the book and definitely take the practice tests. You will do well if you do all that.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/dba/mcts-exam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing SQL Server 2008</title>
		<link>http://itknowledgeexchange.techtarget.com/dba/installing-sql-server-2008/</link>
		<comments>http://itknowledgeexchange.techtarget.com/dba/installing-sql-server-2008/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 15:23:09 +0000</pubDate>
		<dc:creator>Colin Smith</dc:creator>
				<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[MSSQL Administration]]></category>
		<category><![CDATA[MSSQL Install]]></category>
		<category><![CDATA[MSSQL Server]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/dba/installing-sql-server-2008/</guid>
		<description><![CDATA[Yesterday I had to install SQL Server 2008 for the first time. I went through it on a development server first before installing on a production server. As I went through the setup process I noticed one thing that I think is long overdue. The Database Configuration step is a great addition to the install [...]]]></description>
				<content:encoded><![CDATA[<p>Yesterday I had to install SQL Server 2008 for the first time. I went through it on a development server first before installing on a production server. As I went through the setup process I noticed one thing that I think is long overdue. The Database Configuration step is a great addition to the install process. It is about time that MS allowed us to seperate out where all the Database and Log files will be before we actually do the install. This makes it easy to break out tempdb from the other databases and also to separate your data and log files. Make sure that you take advantage of this and plan out where you want all of the data files and log files to be on the file system. This will save some headache in the future when you have to move all of your databases as well as the system databases.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/dba/installing-sql-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating SQL 2005 Reporting Services</title>
		<link>http://itknowledgeexchange.techtarget.com/dba/migrating-sql-2005-reporting-services/</link>
		<comments>http://itknowledgeexchange.techtarget.com/dba/migrating-sql-2005-reporting-services/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 22:18:46 +0000</pubDate>
		<dc:creator>Colin Smith</dc:creator>
				<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[MSSQL Administration]]></category>
		<category><![CDATA[MSSQL Server]]></category>
		<category><![CDATA[Reporting Services]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/dba/migrating-sql-2005-reporting-services/</guid>
		<description><![CDATA[I have been asked to help with Migrating a SQL Server 2005 Reporting Services server from one host to another. I set up a couple VM&#8217;s and away I went. I found that it is pretty straight forward though. I did run into a couple little hickups along the way but nothing to dificult. I [...]]]></description>
				<content:encoded><![CDATA[<p>I have been asked to help with Migrating a SQL Server 2005 Reporting Services server from one host to another. I set up a couple VM&#8217;s and away I went. I found that it is pretty straight forward though. I did run into a couple little hickups along the way but nothing to dificult. I did have a problem though, after I attached the database on the new server and brought up the reporting services configuration manager. I could not get the server to initialize. To resolve the issue I had t delete the encryption keys. Then I was able to initialize the server but I could not get any of my reports to run. Kept getting error about connection string not being initialized. I then changed the encryption keys in the configuration manager and all started working again. One other thing is to make sure that you have the RSExecRole setup. Here is a link on migrating a reporting services server.</p>
<p>http://msdn.microsoft.com/en-us/library/ms156421.aspx</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/dba/migrating-sql-2005-reporting-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Job</title>
		<link>http://itknowledgeexchange.techtarget.com/dba/new-job/</link>
		<comments>http://itknowledgeexchange.techtarget.com/dba/new-job/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 15:53:02 +0000</pubDate>
		<dc:creator>Colin Smith</dc:creator>
				<category><![CDATA[Job]]></category>
		<category><![CDATA[Job Market]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[MSSQL Administration]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/dba/new-job/</guid>
		<description><![CDATA[Last Thursday my company did some layoffs and re-orginization. I survived the layoffs but my job has changed. I am no longer a Database Administrator for a major media company in Phoenix Arizona, but now I am a Database Analyst for a nation wide media company. I am still based in the Phoenix area and [...]]]></description>
				<content:encoded><![CDATA[<p>Last Thursday my company did some layoffs and re-orginization. I survived the layoffs but my job has changed. I am no longer a Database Administrator for a major media company in Phoenix Arizona, but now I am a Database Analyst for a nation wide media company. I am still based in the Phoenix area and still use my same desk, computer and all that. I will still be doing Database Administration for the company in Phoenix as well, but my role is expanding. This company is a big MS Shop and I will be essentailly the only Administrator for all instances that this large enterprise has. I am very excited about this opportunity and look forward to the challenges ahead of me. I know that this will put my learning on the fast track and I am hoping to have my first test done in a month or two at the most. Well wish me luck and I am sure that I will have many new stories and experiances to share as I move forward on this new adventure.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/dba/new-job/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MSSQL Server Renaming Physical Host</title>
		<link>http://itknowledgeexchange.techtarget.com/dba/mssql-server-renaming-physical-host/</link>
		<comments>http://itknowledgeexchange.techtarget.com/dba/mssql-server-renaming-physical-host/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 17:31:12 +0000</pubDate>
		<dc:creator>Colin Smith</dc:creator>
				<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[MS SQL]]></category>
		<category><![CDATA[MS SQL Server]]></category>
		<category><![CDATA[MSSQL]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/dba/mssql-server-renaming-physical-host/</guid>
		<description><![CDATA[Recently I had a server that hosts a MSSQL 2005 SQL Server named instance and the Windows group decided that the name of the server had to be changed. I thought that this may cuase an issue since the MSSQL Server name is &#8216;hostname\instancename&#8217;. I did a bit of research and found that a solution [...]]]></description>
				<content:encoded><![CDATA[<p>Recently I had a server that hosts a MSSQL 2005 SQL Server named instance and the Windows group decided that the name of the server had to be changed. I thought that this may cuase an issue since the MSSQL Server name is &#8216;hostname\instancename&#8217;. I did a bit of research and found that a solution is available for this problem. At first I thought that I may have to reinstall a new instance of SQL Server in order to get the name correct. I did not want to go thru all of that though.</p>
<p>I found that MS has a couple of Stored Procs that will help with this problem.</p>
<p>sp_dropserver &#8216;hostname\instancename&#8217; &#8211;of the old server\instancename</p>
<p>sp_addserver &#8216;hostname\instancename&#8217;, &#8216;local&#8217; &#8211;of the new server\instancename</p>
<p>I found that when I did a select @@servername I still got the old server name returned. I also found that when I did a sp_helpserver I got the new name. I decided I would restart the server to see if that would update the @@servername variable. I right clicked on the server and said restart. After it cam back up I got a &#8216;NULL&#8217; from select @@servername. I did not understand why and really still do not. I was able to resolve the issue by going to the services.msc and restarting the SQL Server Service from there. Now I see the new server name from select @@servername as well as sp_helpserver.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/dba/mssql-server-renaming-physical-host/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
