<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>SQL Server Citation - SQL Blog by Hemantgiri S. Goswami, SQL MVP</title><link>http://www.sql-server-citation.com/</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SqlServerCitation" /><description>SQL Server Citation is a SQL Server blog by Hemantgiri S. Goswami, Surat,India. He is a SQL Server Specialist and SQL Server MVP,Author, President and Leader of Surat SQL Server User Group. You will find various popular articles, tips, tricks, scripts related to SQL Server.</description><language>en</language><managingEditor>noreply@blogger.com (Hemantgiri S. Goswami)</managingEditor><lastBuildDate>Tue, 21 May 2013 05:47:39 PDT</lastBuildDate><generator>Blogger</generator><atom:id xmlns:atom="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-8332641</atom:id><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">153</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SqlServerCitation" /><feedburner:info uri="sqlservercitation" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/</creativeCommons:license><image><link>http://www.sql-server-citation.com/</link><url>http://surat-user-group.org/sqlservercitation/images/logo.gif</url><title>Subscribe SQL Server Citation</title></image><feedburner:emailServiceId>SqlServerCitation</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><title>How to collect cluster Information using TSQL</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/iscAwqG8Gvo/collecting-host-machine-information.html</link><category>Administration</category><category>sql server 2000</category><category>sql server 2005</category><category>Sql server 2008</category><category>sql server 2012</category><category>sql server 2008 r2</category><category>script</category><author>noreply@blogger.com (Hemantgiri S. Goswami)</author><pubDate>Mon, 29 Apr 2013 18:37:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-3373222047946497885</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-d-wLevLKxnw/UY3DJqqL0QI/AAAAAAAAFDA/sPUCjmsdYzM/s1600/ClusterDetails.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-d-wLevLKxnw/UY3DJqqL0QI/AAAAAAAAFDA/sPUCjmsdYzM/s1600/ClusterDetails.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;
Sometime back I was involved in a project which was to collect information for the servers we are supporting – creating inventory of servers. Logging into each server and collecting information is bit tedious when you have hundreds of server in your environment.&amp;nbsp; I have spent sometime and created a script that does this work for me, however, I still need to connect to the server – but using SSMS/Query Window and execute the script. And then the script will provide me the details I needed.&lt;br /&gt;
This inventory should have details like below for cluster and stand alone instances:&lt;br /&gt;
Server Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
OS Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
OS Edition&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
OS Patch Level&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
SQL Server IP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
Is Clustered&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
Node1_Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
Node1_IP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
Node2_Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
Node2_IP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
SQL Server Edition&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
SQL Server Patch Level&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
Server Time Zone&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
SQL Server Version&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
SQL Server Platform&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
Processor Core&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
Physical Memory&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
Service Account Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
Domain&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
Looks good ? Below is the version 1 of this script.&lt;/div&gt;
&lt;pre class="sql" name="code"&gt;/*
IP address portion using : http://www.sqlservercentral.com/Forums/Topic150196-8-1.aspx
REMOVE sp_configure parameters if you are executing this script on SQL Server 2000

Created By : Hemantgiri S. Goswami | http://www.sql-server-citation.com
Date  : 24th March 2013
Version  : 1.0

Tested ON:
Windows Server  &amp;gt;&amp;gt; 2003, 2008, 2008 R2 
SQL Server  &amp;gt;&amp;gt; 2000, 2005, 2008, 2008 R2, 2012 

*/
sp_configure 'show advanced options',1
RECONFIGURE WITH OVERRIDE
GO
sp_configure 'xp_cmdshell',1
RECONFIGURE WITH OVERRIDE
GO
DECLARE @TimeZone   NVARCHAR(100)
  ,@ProductVersion SYSNAME
  ,@PlatForm  SYSNAME
  ,@Windows_Version SYSNAME
  ,@Processors  SYSNAME
  ,@PhysicalMemory SYSNAME
  ,@ServiceAccount SYSNAME
  ,@IPAddress  SYSNAME
  ,@DOMAIN  SYSNAME
  ,@MachineType  SYSNAME
  ,@SQLServerIP  VARCHAR(255)
  ,@CMD   VARCHAR(100)
  ,@Node1   VARCHAR(100)
  ,@Node2   VARCHAR(100)
  ,@Node1IP  VARCHAR(100)
  ,@Node2IP  VARCHAR(100)
  ,@OSEdition  VARCHAR(100)
  ,@OSVersion  VARCHAR(100)
  ,@OSName  VARCHAR(100)
  ,@OSPatchLevel  VARCHAR(100)
   
CREATE TABLE #TempTable
 (
  [Index] VARCHAR(2000),
  [Name] VARCHAR(2000),
  [Internal_Value] VARCHAR(2000),
  [Character_Value] VARCHAR(2000)
 ) ;

INSERT INTO #TempTable
EXEC xp_msver;

-- Replace @Value_Name to N'TimeZoneKeyName' when running on Windows 2008 
EXEC   master.dbo.xp_regread
       @rootkey      = N'HKEY_LOCAL_MACHINE',
       @key          = N'SYSTEM\CurrentControlSet\Control\TimeZoneInformation',
       @value_name   = N'StandardName', 
       @value        = @TimeZone output

EXEC   master.dbo.xp_regread
       @rootkey      = N'HKEY_LOCAL_MACHINE',
       @key          = N'SYSTEM\CurrentControlSet\Services\MSSQLServer',
       @value_name   = N'ObjectName', 
       @value        = @ServiceAccount output

EXEC   master.dbo.xp_regread
       @rootkey      = N'HKEY_LOCAL_MACHINE',
       @key          = N'SYSTEM\CurrentControlSet\Control\ProductOptions',
       @value_name   = N'ProductType', 
       @value        = @MachineType output

EXEC   master.dbo.xp_regread
       @rootkey      = N'HKEY_LOCAL_MACHINE',
       @key          = N'SYSTEM\CurrentControlSet\Services\Tcpip\Parameters',
       @value_name   = N'Domain', 
       @value        = @DOMAIN output
       
EXEC   master.dbo.xp_regread
       @rootkey      = N'HKEY_LOCAL_MACHINE',
       @key          = N'CLUSTER\NODES\1',
       @value_name   = N'NodeName', 
       @value        = @Node1 output
       
EXEC   master.dbo.xp_regread
       @rootkey      = N'HKEY_LOCAL_MACHINE',
       @key          = N'CLUSTER\NODES\2',
       @value_name   = N'NodeName', 
       @value        = @Node2 output              

EXEC   master.dbo.xp_regread
       @rootkey      = N'HKEY_LOCAL_MACHINE',
       @key          = N'SOFTWARE\Microsoft\Windows NT\CurrentVersion',
       @value_name   = N'ProductName', 
       @value        = @OSName output              
       
create table #OSEdition (VALUe varchar(255),OSEdition varchar(255), data varchar(100)) 
insert into #OSEdition 
EXEC   master.dbo.xp_regread
       @rootkey      = N'HKEY_LOCAL_MACHINE',
       @key          = N'SYSTEM\CurrentControlSet\Control\ProductOptions',
       @value_name   = N'ProductSuite'  
SET @OSEdition = (SELECT TOP 1 OSedition  FROM #OsEdition)       
               
EXEC   master.dbo.xp_regread
       @rootkey      = N'HKEY_LOCAL_MACHINE',
       @key          = N'SOFTWARE\Microsoft\Windows NT\CurrentVersion',
       @value_name   = N'CSDVersion', 
       @value        = @OSPatchLevel output  

set @cmd = 'ping ' + @Node1 
create table #Node1IP (grabfield varchar(255)) 
insert into #Node1IP exec master.dbo.xp_cmdshell @cmd 


set @cmd = 'ping ' + @Node2
create table #Node2IP (grabfield varchar(255)) 
insert into #Node2IP exec master.dbo.xp_cmdshell @cmd 
 
set @cmd = 'ping ' + @@servername
create table #SQLServerIP (grabfield varchar(255)) 
insert into #SQLServerIP exec master.dbo.xp_cmdshell @cmd 

SET  @SQLServerIP=( 
      SELECT substring(grabfield,  charindex('[',grabfield)+1, charindex(']',grabfield)-charindex('[',grabfield)-1) 
      from #SQLServerIP  where left(grabfield,7) = 'Pinging' 
    )
SET  @Node1IP    =(
       SELECT substring(grabfield,  charindex('[',grabfield)+1, charindex(']',grabfield)-charindex('[',grabfield)-1) 
       from #Node1IP  where left(grabfield,7) = 'Pinging' 
     )
       
SET  @Node2IP  =( 
       SELECT substring(grabfield,  charindex('[',grabfield)+1, charindex(']',grabfield)-charindex('[',grabfield)-1) 
       from #Node2IP  where left(grabfield,7) = 'Pinging' 
    )
       
SET  @ProductVersion = (SELECT Character_Value from #TempTable where [INDEX]=2)
SET  @Platform  = (SELECT Character_Value from #TempTable where [INDEX]=4)
SET  @Windows_Version= (SELECT Character_Value from #TempTable where [INDEX]=15)
SET  @Processors  = (SELECT Character_Value from #TempTable where [INDEX]=16)
SET  @PhysicalMemory = (SELECT Character_Value from #TempTable where [INDEX]=19)


SELECT 
  ServerName   = @@SERVERNAME  
 ,OSName    = @OSName
 ,OSEdition   = @OSEdition
 ,OSPatchLevel          = @OSPatchLevel
 ,SQLServerIP          = @SQLServerIP
 ,IsClustered          = SERVERPROPERTY('IsClustered')
 ,Node1_Name   = @Node1
 ,Node1_IP   = @Node1IP 
 ,Node2_Name   = @Node2
 ,Node2_IP   = @Node2IP 
 ,SQLServerEdition         = SERVERPROPERTY('Edition')
 ,SQLServerLevel          = SERVERPROPERTY('ProductLevel')  
 ,ServerTimeZone          = @TimeZone 
 ,SQLServerVersion         = @ProductVersion
 ,SQLServerPlatform         = @PlatForm
 ,ProcessorCore          = @Processors
 ,PhysicalMemory          = @PhysicalMemory 
 ,ServiceAccountName         = @ServiceAccount 
 ,WKS_Server   = @MachineType
 ,Domain    = @DOMAIN
 
GO 
DROP TABLE #Node1IP
DROP TABLE #NODE2IP
DROP TABLE #SQLServerIP
DROP TABLE #TempTable
DROP TABLE #OSEdition 
GO


sp_configure 'xp_cmdshell',0
RECONFIGURE WITH OVERRIDE
GO
sp_configure 'show advanced options',0
RECONFIGURE WITH OVERRIDE
GO
&lt;/pre&gt;
Please do post back your feed back for this script, I will try my best to update and post back new version for this script.&lt;br /&gt;
- Hemantgiri S. Goswami (http://www.sql-server-citation.com )&lt;/div&gt;
photo credit: &lt;a href="http://www.flickr.com/photos/skimaniac/100490646/"&gt;Skimaniac&lt;/a&gt; via &lt;a href="http://photopin.com/"&gt;photopin&lt;/a&gt; &lt;a href="http://creativecommons.org/licenses/by-nc/2.0/"&gt;cc&lt;/a&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=iscAwqG8Gvo:j9NmJerDBVs:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=iscAwqG8Gvo:j9NmJerDBVs:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=iscAwqG8Gvo:j9NmJerDBVs:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=iscAwqG8Gvo:j9NmJerDBVs:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=iscAwqG8Gvo:j9NmJerDBVs:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=iscAwqG8Gvo:j9NmJerDBVs:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=iscAwqG8Gvo:j9NmJerDBVs:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=iscAwqG8Gvo:j9NmJerDBVs:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=iscAwqG8Gvo:j9NmJerDBVs:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=iscAwqG8Gvo:j9NmJerDBVs:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=iscAwqG8Gvo:j9NmJerDBVs:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=iscAwqG8Gvo:j9NmJerDBVs:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=iscAwqG8Gvo:j9NmJerDBVs:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=iscAwqG8Gvo:j9NmJerDBVs:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/iscAwqG8Gvo" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2013-05-11T09:34:45.324+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-d-wLevLKxnw/UY3DJqqL0QI/AAAAAAAAFDA/sPUCjmsdYzM/s72-c/ClusterDetails.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Surat, Gujarat, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">21.195 72.81944399999998</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">20.958082 72.49672049999998 21.431918 73.14216749999997</georss:box><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2013/04/collecting-host-machine-information.html</feedburner:origLink></item><item><title>SQL Server – Generate Calendar using TSQL</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/AXmfkeN0Rio/sql-server-generate-calendar-using-tsql.html</link><category>sql 2012 r2</category><category>sql 2008 r2</category><category>sql 2008</category><category>sql 2012</category><category>script</category><category>sql 2005</category><author>noreply@blogger.com (vinay pugalia)</author><pubDate>Tue, 09 Apr 2013 08:35:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-3979321421010634955</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;strong&gt;&lt;u&gt;Introduction&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
Recently, I was asked to develop a &lt;strong&gt;SSRS&lt;/strong&gt; based report for the Event Management module in MS Dynamics CRM 2011. The idea was to show a &lt;strong&gt;Calendar &lt;/strong&gt;for the selected month and each cell of the calendar should display the scheduled events of that day. &lt;br /&gt;
Showing the events in the required format in each cell was not a big issue. The main challenge was to generate a dynamic grid of Calendar. Luckily, the CRM was deployed on-premises and I got a chance to use TSQL to generate the Calendar.&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;Implementation&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
Below is the TSQL which I came up with to generate the Calendar -&lt;br /&gt;

&lt;pre class="sql" name="code"&gt;
DECLARE @Month AS INT = 4 --Set the MONTH for which you want to generate the Calendar.
DECLARE @Year AS INT = 2013 --Set the YEAR for which you want to generate the Calendar.
--Find and set the Start &amp; End Date of the said Month-Year
DECLARE @StartDate AS DATETIME = CONVERT(VARCHAR, @Year) + RIGHT('0' + CONVERT(VARCHAR, @Month), 2) + '01'
DECLARE @EndDate AS DATETIME = DATEADD(DAY, - 1, DATEADD(MONTH, 1, @StartDate));

WITH Dates
AS (
 SELECT @StartDate Dt
 
 UNION ALL
 
 SELECT DATEADD(DAY, 1, Dt)
 FROM Dates
 WHERE DATEADD(DAY, 1, Dt) &lt;= @EndDate
 ),
Details
AS (
 SELECT DAY(Dt) CDay,
  DATEPART(WK, Dt) CWeek,
  MONTH(Dt) CMonth,
  YEAR(Dt) CYear,
  DATENAME(WEEKDAY, Dt) DOW,
  Dt
 FROM Dates
 )
--Selecting the Final Calendar
SELECT Sunday,
 Monday,
 Tuesday,
 Wednesday,
 Thursday,
 Friday,
 Saturday
FROM (
 SELECT CWeek,
  DOW,
  CDay
 FROM Details
 ) D
PIVOT(MIN(CDay) FOR DOW IN (
   Sunday,
   Monday,
   Tuesday,
   Wednesday,
   Thursday,
   Friday,
   Saturday
   )) AS PVT
ORDER BY CWeek

&lt;/pre&gt;
Output:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://lh5.ggpht.com/-nNVxdTaUmOA/UWOnB-juVDI/AAAAAAAAAO0/3b9Q9K0ATic/s1600-h/Calendar3.jpg"&gt;&lt;img alt="Calendar" border="0" height="162" src="http://lh6.ggpht.com/-yPYwnYqHd80/UWOnCUi5YVI/AAAAAAAAAO8/hi449Oi2m6Q/Calendar_thumb1.jpg?imgmax=800" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline;" title="Calendar" width="397" /&gt;&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hope, this will help!&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=AXmfkeN0Rio:cgvKVhEmMPI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=AXmfkeN0Rio:cgvKVhEmMPI:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=AXmfkeN0Rio:cgvKVhEmMPI:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=AXmfkeN0Rio:cgvKVhEmMPI:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=AXmfkeN0Rio:cgvKVhEmMPI:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=AXmfkeN0Rio:cgvKVhEmMPI:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=AXmfkeN0Rio:cgvKVhEmMPI:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=AXmfkeN0Rio:cgvKVhEmMPI:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=AXmfkeN0Rio:cgvKVhEmMPI:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=AXmfkeN0Rio:cgvKVhEmMPI:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=AXmfkeN0Rio:cgvKVhEmMPI:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=AXmfkeN0Rio:cgvKVhEmMPI:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=AXmfkeN0Rio:cgvKVhEmMPI:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=AXmfkeN0Rio:cgvKVhEmMPI:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/AXmfkeN0Rio" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2013-04-29T13:20:09.019+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh6.ggpht.com/-yPYwnYqHd80/UWOnCUi5YVI/AAAAAAAAAO8/hi449Oi2m6Q/s72-c/Calendar_thumb1.jpg?imgmax=800" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2013/04/sql-server-generate-calendar-using-tsql.html</feedburner:origLink></item><item><title>SQL Server – Generating PERMUTATIONS using T-Sql</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/ZZJ7AvzEuWs/sql-server-generating-permutations.html</link><category>sql</category><category>sql 2012 r2</category><category>sql 2008 r2</category><category>sql 2008</category><category>sql 2012</category><category>script</category><category>sql 2005</category><author>noreply@blogger.com (vinay pugalia)</author><pubDate>Mon, 11 Mar 2013 03:10:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-8834211805573872515</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Were you ever asked to generate string &lt;strong&gt;Permutations &lt;/strong&gt;using TSql? I was recently asked to do so, and the logic which I could manage to come up at that point is shared in the below script.&lt;br /&gt;
&lt;pre name="code" class="sql"&gt;
DECLARE @Value AS VARCHAR(20) = 'ABCC' --Mention the text which is to be permuted
DECLARE @NoOfChars AS INT = LEN(@Value)
DECLARE @Permutations TABLE (Value VARCHAR(20)) --Make sure the size of this Value is equal to your input  string length (@Value)
 ;

WITH NumTally
AS (
 --Prepare the Tally Table to separate each character of the Value.
 SELECT 1 Num
 
 UNION ALL
 
 SELECT Num + 1
 FROM NumTally
 WHERE Num &lt; @NoOfChars
 ),
Chars
AS (
 --Separate the Characters
 SELECT Num,
  SUBSTRING(@Value, Num, 1) Chr
 FROM NumTally
 )
--Persist the Separated characters.
INSERT INTO @Permutations
SELECT Chr
FROM Chars

--Prepare Permutations
DECLARE @i AS INT = 1

WHILE (@i &lt; @NoOfChars)
BEGIN
 --Store the Permutations
 INSERT INTO @Permutations
 SELECT DISTINCT --Add DISTINCT if required else duplicate Permutations will be generated for Repeated  Chars.
  P1.Value + P2.Value
 FROM (
  SELECT Value
  FROM @Permutations
  WHERE LEN(Value) = @i
  ) P1
 CROSS JOIN (
  SELECT Value
  FROM @Permutations
  WHERE LEN(Value) = 1
  ) P2

 --Increment the Counter.      
 SET @i += 1

 --Delete the Incorrect Lengthed Permutations to keep the table size under control.
 DELETE
 FROM @Permutations
 WHERE LEN(Value) NOT IN (
   1,
   @i
   )
END

--Delete InCorrect Permutations.
SET @i = 1

WHILE (@i &lt;= @NoOfChars)
BEGIN
 --Deleting Permutations which has not used "All the Chars of the given Value".
 DELETE
 FROM @Permutations
 WHERE Value NOT LIKE '%' + SUBSTRING(@Value, @i, 1) + '%'

 --Deleting Permutations which have repeated incorrect character.  
 DELETE
 FROM @Permutations
 WHERE LEN(Value) - LEN(REPLACE(Value, SUBSTRING(@Value, @i, 1), '')) != LEN(@Value) - LEN(REPLACE(@Value, SUBSTRING(@Value, @i, 1), ''))

 SET @i += 1
END

--Selecting the generated Permutations. 
SELECT Value
FROM @Permutations

&lt;/pre&gt;
Hope, this script helps!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please share your suggestions if you have any to improve this logic.&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=ZZJ7AvzEuWs:eZmQBYEMJUM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=ZZJ7AvzEuWs:eZmQBYEMJUM:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=ZZJ7AvzEuWs:eZmQBYEMJUM:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=ZZJ7AvzEuWs:eZmQBYEMJUM:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=ZZJ7AvzEuWs:eZmQBYEMJUM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=ZZJ7AvzEuWs:eZmQBYEMJUM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=ZZJ7AvzEuWs:eZmQBYEMJUM:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=ZZJ7AvzEuWs:eZmQBYEMJUM:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=ZZJ7AvzEuWs:eZmQBYEMJUM:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=ZZJ7AvzEuWs:eZmQBYEMJUM:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=ZZJ7AvzEuWs:eZmQBYEMJUM:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=ZZJ7AvzEuWs:eZmQBYEMJUM:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=ZZJ7AvzEuWs:eZmQBYEMJUM:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=ZZJ7AvzEuWs:eZmQBYEMJUM:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/ZZJ7AvzEuWs" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2013-03-12T10:03:35.632+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2013/03/sql-server-generating-permutations.html</feedburner:origLink></item><item><title>SQL Server – TSql to find Records matching certain criteria in all the tables of a DB.</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/IeKzL0GeWQ8/sql-server-tsql-to-find-records.html</link><category>sql</category><category>sql 2012 r2</category><category>sql 2008 r2</category><category>sql 2008</category><category>sql 2012</category><category>sql 2005</category><author>noreply@blogger.com (vinay pugalia)</author><pubDate>Wed, 06 Mar 2013 20:46:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-8539285066433918801</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Generally, we try to find out records matching a certain criteria from a single or few tables. However, there are times when we need to find out records matching a criteria from all the tables of a SQL Database and today I will explain you a simple way to retrieve those records.&lt;br /&gt;
Recently, I was asked by my colleague, who was working on a &lt;strong&gt;MS Dynamics CRM&lt;/strong&gt; migration project, to let him know the records which were created after a particular date in the source. So that, he could analyze only those records and strategize the Migration process.&lt;br /&gt;
I quickly opened up the SSMS and came up with the below script - &lt;br /&gt;
&lt;pre name="code" class="sql"&gt;
USE &lt; DBName &gt; --Replace this with the actual DBName
GO

DECLARE @ColumnName AS VARCHAR(50) = 'CreatedOn' --The name of the column on which you need to put the criteria
DECLARE @Criteria AS VARCHAR(50) = 'CONVERT(DATE,' + @ColumnName + ') &gt;= ''20130225''' -- The Actual criteria/WHERE Clause of the query

--The below will list the TSQL Statements which could be copied &amp; executed in a separate query window.
SELECT 'IF EXISTS(SELECT 1 FROM ' + T.NAME + ' WHERE ' + @Criteria + ') ' + 'SELECT ''' + T.NAME + ''' TableName, * FROM ' + T.NAME + ' WHERE ' + @Criteria
FROM sys.columns C
INNER JOIN sys.tables T
 ON T.object_id = C.object_id
WHERE C.NAME = @ColumnName
&lt;/pre&gt;
The above script will list down the SELECT statements which could be copied and executed in a separate query window connecting to the same Database. On execution, you will get the list of records from each table base on the specified criteria.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hope, this helps!&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=IeKzL0GeWQ8:zmf7xLFz2m4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=IeKzL0GeWQ8:zmf7xLFz2m4:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=IeKzL0GeWQ8:zmf7xLFz2m4:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=IeKzL0GeWQ8:zmf7xLFz2m4:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=IeKzL0GeWQ8:zmf7xLFz2m4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=IeKzL0GeWQ8:zmf7xLFz2m4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=IeKzL0GeWQ8:zmf7xLFz2m4:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=IeKzL0GeWQ8:zmf7xLFz2m4:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=IeKzL0GeWQ8:zmf7xLFz2m4:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=IeKzL0GeWQ8:zmf7xLFz2m4:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=IeKzL0GeWQ8:zmf7xLFz2m4:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=IeKzL0GeWQ8:zmf7xLFz2m4:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=IeKzL0GeWQ8:zmf7xLFz2m4:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=IeKzL0GeWQ8:zmf7xLFz2m4:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/IeKzL0GeWQ8" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2013-03-12T10:06:33.668+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2013/03/sql-server-tsql-to-find-records.html</feedburner:origLink></item><item><title>SQL Server # Moving MASTER database in cluster environment</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/Ib_j96_DTOE/sql-server-moving-master-database-in.html</link><category>sql 2000</category><category>Administration</category><category>High Availability</category><category>sql 2008 r2</category><category>sql 2008</category><category>sql 2012</category><category>sql server administration</category><category>sql 2005</category><author>noreply@blogger.com (Hemantgiri S. Goswami)</author><pubDate>Mon, 24 Dec 2012 19:33:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-2602084844888490545</guid><description>&lt;p&gt;&lt;font face="Trebuchet MS"&gt;Few months back I have wrote post about moving &lt;a href="http://www.sql-server-citation.com/2012/03/moving-master-database.html" target="_blank"&gt;MASTER&lt;/a&gt; and &lt;a href="http://www.sql-server-citation.com/2012/03/moving-msdb-to-new-location.html" target="_blank"&gt;MSDB&lt;/a&gt; database to new location in stand alone machine. &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Trebuchet MS"&gt;In recent past we had a situation where customer asked us to move MASTER database to new location, below are the steps I have taken:&lt;/font&gt;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;&amp;#160;&amp;#160;&amp;#160; Connect to the Server &lt;/li&gt;    &lt;li&gt;&amp;#160;&amp;#160;&amp;#160; Open Configuration Manager -&amp;gt; SQL Server Service &lt;/li&gt;    &lt;li&gt;&amp;#160;&amp;#160;&amp;#160; Right Click and say Properties &lt;/li&gt;    &lt;li&gt;&amp;#160;&amp;#160;&amp;#160; Click on the Start-up Parameter &lt;/li&gt;    &lt;li&gt;&amp;#160;&amp;#160;&amp;#160; Remove start-up parameter (the highlighted one) &lt;/li&gt; &lt;/ol&gt;  &lt;blockquote style="background-color: beige"&gt;   &lt;pre style="white-space: pre-wrap"&gt;	 -dOLDLocation\master.mdf&lt;br /&gt;	 -eOLDLocation\ErrorLog&lt;br /&gt;	 -lOLDLocation\mastlog.ldf&lt;/pre&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 6.&amp;#160;&amp;#160;&amp;#160;&amp;#160; Add new start-up parameters with new values (per your configuration) &lt;br /&gt;  &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="background-color: beige"&gt;&lt;br /&gt;  &lt;pre style="white-space: pre-wrap"&gt;	 -dNewLocation\master.mdf&lt;br /&gt;	 -eNewLocation\ErrorLog&lt;br /&gt;	 -lNewLocation\mastlog.ldf&lt;/pre&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 7.&amp;#160;&amp;#160;&amp;#160; Check and confirm which node is active &lt;br /&gt;  &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 8.&amp;#160;&amp;#160;&amp;#160; PAUSE current PASSIVE Node&amp;#160; to avoid fail-over &lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 9.&amp;#160;&amp;#160;&amp;#160; Take SQL Server resources offline, i.e. SQL Server, SQL Agent, MSDTC, SQLCLUSTER Name (do not take SQL Cluster IP Offline) &lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 10.&amp;#160;&amp;#160;&amp;#160; Copy MASTER.MDF and MASTLOG.LDF to NEW Location ( S:\SQLDATA, yours could be different) &lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 11.&amp;#160;&amp;#160;&amp;#160; Log into Cluster Administrator and bring SQL Server Resources online &lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; 12.&amp;#160;&amp;#160;&amp;#160; Resume current PASSIVE Node&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;That's all, you should be able to see your master database on new location now!!!&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;-- Regards,&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Hemantgiri S. Goswami (&lt;a href="http://www.sql-server-citation.com"&gt;http://www.sql-server-citation.com&lt;/a&gt; )&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Cross posting: &lt;a title="http://www.pythian.com/news/35829/moving-master-database-to-new-location-in-sql-cluster/" href="http://www.pythian.com/news/35829/moving-master-database-to-new-location-in-sql-cluster/"&gt;http://www.pythian.com/news/35829/moving-master-database-to-new-location-in-sql-cluster/&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Ib_j96_DTOE:rwwcTBN0ong:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Ib_j96_DTOE:rwwcTBN0ong:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Ib_j96_DTOE:rwwcTBN0ong:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Ib_j96_DTOE:rwwcTBN0ong:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Ib_j96_DTOE:rwwcTBN0ong:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=Ib_j96_DTOE:rwwcTBN0ong:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Ib_j96_DTOE:rwwcTBN0ong:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Ib_j96_DTOE:rwwcTBN0ong:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=Ib_j96_DTOE:rwwcTBN0ong:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Ib_j96_DTOE:rwwcTBN0ong:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Ib_j96_DTOE:rwwcTBN0ong:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=Ib_j96_DTOE:rwwcTBN0ong:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Ib_j96_DTOE:rwwcTBN0ong:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Ib_j96_DTOE:rwwcTBN0ong:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/Ib_j96_DTOE" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2012-12-25T09:03:43.952+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2012/12/sql-server-moving-master-database-in.html</feedburner:origLink></item><item><title>SQL Server Database Backup Report using T-SQL</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/Zytng1eitKc/sql-server-database-backup-report-using.html</link><category>sql</category><category>sql server</category><category>sql server 2005</category><category>sql 2012 r2</category><category>Sql server 2008</category><category>sql 2005</category><category>sql 2000</category><category>sql server 2000</category><category>sql server 2008 ctp</category><category>sql 2008 r2</category><category>sql 2008</category><category>sql 2012</category><category>script</category><author>noreply@blogger.com (vinay pugalia)</author><pubDate>Wed, 17 Oct 2012 23:04:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-8698656607191182496</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Today, I am going to share few very useful scripts which will report us on Database Backup from different view points.

To get the List/History/Log of all the Successful Backups
&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT 

  b.machine_name,

  b.server_name,

  b.database_name as DBName,

  b.backup_start_date,

  b.backup_finish_date,

  CASE 

    WHEN b.[type] = 'D' THEN 'Database'

    WHEN b.[type] = 'I' THEN 'Differential database'

    WHEN b.[type] = 'L' THEN 'Log'

    WHEN b.[type] = 'F' THEN 'File or filegroup'

    WHEN b.[type] = 'G' THEN 'Differential file'

    WHEN b.[type] = 'P' THEN 'Partial'

    WHEN b.[type] = 'Q' THEN 'Differential partial'

    ELSE b.[type]

  END Backup_Type,    

  b.expiration_date,

  b.[user_name],

  DATEDIFF(MINUTE,b.backup_start_date ,b.backup_finish_date) as Total_Time_in_Minute,

  b.recovery_model,

  b.backup_size/(1024 * 1024 * 1024) as Total_Size_GB,

  bf.physical_device_name as Location

FROM 

  msdb.dbo.backupset AS b

INNER JOIN msdb.dbo.backupmediafamily AS bf

  ON b.media_set_id=bf.media_set_id

ORDER BY 

  b.backup_start_date DESC

GO
&lt;/pre&gt;
To get a list of all successful Backups taken till date for a particular Database

&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;DECLARE @DBName AS VARCHAR(100) = 'Your Database Name'
SELECT 

  b.machine_name,

  b.server_name,

  b.database_name as DBName,

  b.backup_start_date,

  b.backup_finish_date,

  CASE 

    WHEN b.[type] = 'D' THEN 'Database'

    WHEN b.[type] = 'I' THEN 'Differential database'

    WHEN b.[type] = 'L' THEN 'Log'

    WHEN b.[type] = 'F' THEN 'File or filegroup'

    WHEN b.[type] = 'G' THEN 'Differential file'

    WHEN b.[type] = 'P' THEN 'Partial'

    WHEN b.[type] = 'Q' THEN 'Differential partial'

    ELSE b.[type]

  END Backup_Type,

  b.expiration_date,

  b.[user_name],

  DATEDIFF(MINUTE,b.backup_start_date ,b.backup_finish_date) as Total_Time_in_Minute,

  b.recovery_model,

  b.backup_size/(1024 * 1024 * 1024) as Total_Size_GB,

  bf.physical_device_name as Location

FROM 

  msdb.dbo.backupset AS b

INNER JOIN msdb.dbo.backupmediafamily AS bf

  ON b.media_set_id=bf.media_set_id

WHERE

  b.database_name = @DBName  

ORDER BY 

  b.backup_start_date DESC

GO
&lt;/pre&gt;
To get the List of all Databases which are not backed up till date
&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT

  d.name [DB_Name]

FROM

  master.sys.databases d

LEFT JOIN msdb.dbo.backupset b

  ON b.database_name = d.name

WHERE

  d.database_id IS NULL
&lt;/pre&gt;
To get the List of all Databases which are not backed up since last X days
&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;DECLARE @LastXDays AS INT = 1

;WITH LatestBackupSet AS (

SELECT 

  b.database_name as DBName,

  b.backup_start_date LastBackedUpOn,

  b.[user_name],

  ROW_NUMBER() OVER(PARTITION BY b.database_name ORDER BY b.backup_start_date DESC) Rnk

FROM 

  msdb.dbo.backupset AS b

)

SELECT 

  lbs.DBName,

  lbs.LastBackedUpOn,

  lbs.[user_name]

FROM 

  LatestBackupSet AS lbs

WHERE

  DATEDIFF(DAY,lbs.LastBackedUpOn ,CURRENT_TIMESTAMP) = @LastXDays  

  AND lbs.Rnk = 1

ORDER BY 

  lbs.DBName DESC

GO
&lt;/pre&gt;
To get a list of the Latest successful backups of all Databases
&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;;WITH LatestBackupSet AS (

SELECT 

  b.machine_name,

  b.server_name,

  b.database_name as DBName,

  b.backup_start_date,

  b.backup_finish_date,

  CASE 

    WHEN b.[type] = 'D' THEN 'Database'

    WHEN b.[type] = 'I' THEN 'Differential database'

    WHEN b.[type] = 'L' THEN 'Log'

    WHEN b.[type] = 'F' THEN 'File or filegroup'

    WHEN b.[type] = 'G' THEN 'Differential file'

    WHEN b.[type] = 'P' THEN 'Partial'

    WHEN b.[type] = 'Q' THEN 'Differential partial'

    ELSE b.[type]

  END Backup_Type,

  b.expiration_date,

  b.[user_name],

  DATEDIFF(MINUTE,b.backup_start_date ,b.backup_finish_date) as Total_Time_in_Minute,

  b.recovery_model,

  b.backup_size/(1024 * 1024 * 1024) as Total_Size_GB,

  bf.physical_device_name as Location,

  ROW_NUMBER() OVER(PARTITION BY b.database_name ORDER BY b.backup_start_date DESC) Rnk

FROM 

  msdb.dbo.backupset AS b

INNER JOIN msdb.dbo.backupmediafamily AS bf

  ON b.media_set_id=bf.media_set_id

)

SELECT 

  machine_name,

  server_name,

  DBName,

  backup_start_date,

  backup_finish_date,

  Backup_Type,

  expiration_date,

  [user_name],

  Total_Time_in_Minute,

  recovery_model,

  Total_Size_GB,

  Location

FROM 

  LatestBackupSet AS lbs

WHERE

  lbs.Rnk = 1

ORDER BY 

  lbs.DBName DESC

GO
&lt;/pre&gt;
To get the Latest successful backup of a particular Database
&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;DECLARE @DBName AS VARCHAR(100) = 'Your Database Name'

 

;WITH LatestBackupSet AS (

SELECT 

  b.machine_name,

  b.server_name,

  b.database_name as DBName,

  b.backup_start_date,

  b.backup_finish_date,

  CASE 

    WHEN b.[type] = 'D' THEN 'Database'

    WHEN b.[type] = 'I' THEN 'Differential database'

    WHEN b.[type] = 'L' THEN 'Log'

    WHEN b.[type] = 'F' THEN 'File or filegroup'

    WHEN b.[type] = 'G' THEN 'Differential file'

    WHEN b.[type] = 'P' THEN 'Partial'

    WHEN b.[type] = 'Q' THEN 'Differential partial'

    ELSE b.[type]

  END Backup_Type,

  b.expiration_date,

  b.[user_name],

  DATEDIFF(MINUTE,b.backup_start_date ,b.backup_finish_date) as Total_Time_in_Minute,

  b.recovery_model,

  b.backup_size/(1024 * 1024 * 1024) as Total_Size_GB,

  bf.physical_device_name as Location,

  ROW_NUMBER() OVER(PARTITION BY b.database_name ORDER BY b.backup_start_date DESC) Rnk

FROM 

  msdb.dbo.backupset AS b

INNER JOIN msdb.dbo.backupmediafamily AS bf

  ON b.media_set_id=bf.media_set_id

WHERE

  b.database_name = @DBName  

)

SELECT 

  machine_name,

  server_name,

  DBName,

  backup_start_date,

  backup_finish_date,

  Backup_Type,

  expiration_date,

  [user_name],

  Total_Time_in_Minute,

  recovery_model,

  Total_Size_GB,

  Location

FROM 

  LatestBackupSet AS lbs

WHERE

  lbs.Rnk = 1

ORDER BY 

  lbs.DBName DESC

GO
&lt;/pre&gt;
To get a list of Databases that were backed-up and do not currently exist
&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT

  DISTINCT b.database_name

FROM

  msdb.dbo.backupset b

WHERE

  DB_ID(b.database_name) IS NULL
&lt;/pre&gt;
Hope, the above given script will be of help to you. Also, I would like to request you to please add any relevant script which you feel would be useful as a comment.&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zytng1eitKc:QQ7WsoDe3jA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zytng1eitKc:QQ7WsoDe3jA:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zytng1eitKc:QQ7WsoDe3jA:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zytng1eitKc:QQ7WsoDe3jA:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zytng1eitKc:QQ7WsoDe3jA:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=Zytng1eitKc:QQ7WsoDe3jA:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zytng1eitKc:QQ7WsoDe3jA:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zytng1eitKc:QQ7WsoDe3jA:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=Zytng1eitKc:QQ7WsoDe3jA:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zytng1eitKc:QQ7WsoDe3jA:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zytng1eitKc:QQ7WsoDe3jA:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=Zytng1eitKc:QQ7WsoDe3jA:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zytng1eitKc:QQ7WsoDe3jA:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zytng1eitKc:QQ7WsoDe3jA:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/Zytng1eitKc" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2012-12-04T10:43:14.397+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2012/10/sql-server-database-backup-report-using.html</feedburner:origLink></item><item><title>SQL Server # TSQL to Convert STRING in PROPER format</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/pl3RaJ9EWGI/sql-server-tsql-to-convert-string-in.html</link><category>sql 2000</category><category>sql 2012 r2</category><category>sql 2008 r2</category><category>sql 2008</category><category>sql 2012</category><category>sql 2005</category><author>noreply@blogger.com (vinay pugalia)</author><pubDate>Sun, 14 Oct 2012 23:14:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-831625598881748512</guid><description>&lt;p&gt;&lt;strong&gt;&lt;u&gt;Problem Statement&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;SQL Server has got in-built functions to convert the given string into LOWER() or UPPER() format but it does not provides any direct way to convert it to PROPER format. A string/text is said to be in a PROPER format if all the words in that string/text starts with a CAPITAL letter.&lt;/p&gt;  &lt;p&gt;E.g. If a string is - “Hello, how are you?”,&lt;/p&gt;  &lt;p&gt;String in Lower format = “hello, how are you?”&lt;/p&gt;  &lt;p&gt;String in Upper format = “HELLO, HOW ARE YOU?”&lt;/p&gt;  &lt;p&gt;and String in Proper format = “Hello, How Are You?”&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Implementation&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Ideally, SQL Server is not the right place to implement this kind of logic, as string operations are costlier in SQL from performance perspective. it should be either implemented in the Front-End language or the Reporting Tool as this more related to the formatting. However, if this is to be implemented in SQL, the more preferred way is to use SQL-CLR function. It does not mean that we can not achieve this with T-SQL.&lt;/p&gt;  &lt;p&gt;Today, I will share a simple T-SQL function, which could be used to convert any given string in PROPER format. Below is the script -&lt;/p&gt;  &lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;   &lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;     &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;CREATE&lt;/span&gt; &lt;span style="color: #0000ff"&gt;FUNCTION&lt;/span&gt; [dbo].[PROPER]&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;(&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;  @StrToConvertToProper &lt;span style="color: #0000ff"&gt;AS&lt;/span&gt; &lt;span style="color: #0000ff"&gt;VARCHAR&lt;/span&gt;(&lt;span style="color: #0000ff"&gt;MAX&lt;/span&gt;)&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;) &lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;RETURNS&lt;/span&gt; &lt;span style="color: #0000ff"&gt;VARCHAR&lt;/span&gt;(&lt;span style="color: #0000ff"&gt;MAX&lt;/span&gt;) &lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;AS&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;BEGIN&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;  --&lt;span style="color: #0000ff"&gt;Trim&lt;/span&gt; the Text&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;  &lt;span style="color: #0000ff"&gt;SET&lt;/span&gt; @StrToConvertToProper = LTRIM(RTRIM(@StrToConvertToProper))&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&amp;#160;&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;  --Find the &lt;span style="color: #0000ff"&gt;No&lt;/span&gt;. &lt;span style="color: #0000ff"&gt;of&lt;/span&gt; Words &lt;span style="color: #0000ff"&gt;in&lt;/span&gt; the Text&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;  &lt;span style="color: #0000ff"&gt;DECLARE&lt;/span&gt; @WordCount &lt;span style="color: #0000ff"&gt;AS&lt;/span&gt; &lt;span style="color: #0000ff"&gt;INT&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;  &lt;span style="color: #0000ff"&gt;SET&lt;/span&gt; @WordCount = LEN(@StrToConvertToProper) - LEN(REPLACE(@StrToConvertToProper,&lt;span style="color: #006080"&gt;' '&lt;/span&gt;,&lt;span style="color: #006080"&gt;''&lt;/span&gt;)) + 1&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&amp;#160;&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;  --&lt;span style="color: #0000ff"&gt;Variable&lt;/span&gt; &lt;span style="color: #0000ff"&gt;to&lt;/span&gt; track the &lt;span style="color: #0000ff"&gt;space&lt;/span&gt; &lt;span style="color: #0000ff"&gt;position&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;  &lt;span style="color: #0000ff"&gt;DECLARE&lt;/span&gt; @LastSpacePosition &lt;span style="color: #0000ff"&gt;AS&lt;/span&gt; &lt;span style="color: #0000ff"&gt;INT&lt;/span&gt; = 0&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&amp;#160;&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;  --Loop through &lt;span style="color: #0000ff"&gt;all&lt;/span&gt; the words&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;  &lt;span style="color: #0000ff"&gt;WHILE&lt;/span&gt;(@WordCount &amp;gt; 0)&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;BEGIN&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;      --&lt;span style="color: #0000ff"&gt;Set&lt;/span&gt; the &lt;span style="color: #0000ff"&gt;Space&lt;/span&gt; &lt;span style="color: #0000ff"&gt;Position&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;      &lt;span style="color: #0000ff"&gt;SET&lt;/span&gt; @LastSpacePosition = CHARINDEX(&lt;span style="color: #006080"&gt;' '&lt;/span&gt;,@StrToConvertToProper,@LastSpacePosition + 1)&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;      &lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;      --Replace the &lt;span style="color: #0000ff"&gt;Character&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;      &lt;span style="color: #0000ff"&gt;SET&lt;/span&gt; @StrToConvertToProper = STUFF(@StrToConvertToProper,&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;                                        @LastSpacePosition + 1,&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;                                        1,&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;                                        &lt;span style="color: #0000ff"&gt;UPPER&lt;/span&gt;(&lt;span style="color: #0000ff"&gt;SUBSTRING&lt;/span&gt;(@StrToConvertToProper, @LastSpacePosition + 1, 1)))&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;      --Decrement the Loop counter                                      &lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;      &lt;span style="color: #0000ff"&gt;SET&lt;/span&gt; @WordCount = @WordCount - 1&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;END&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    &lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;  &lt;span style="color: #0000ff"&gt;RETURN&lt;/span&gt; @StrToConvertToProper&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;br /&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;END&lt;/span&gt;  &lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;When the above script is used as – &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;&lt;br /&gt;  &lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;br /&gt;    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;SELECT&lt;/span&gt; dbo.PROPER(&lt;span style="color: #006080"&gt;'hello, how are you?'&lt;/span&gt;)&lt;/pre&gt;&lt;br /&gt;&lt;!--CRLF--&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;we get the following result - &lt;strong&gt;Hello, How Are You?&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;&lt;u&gt;Conclusion&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The given script could be used to convert any string in PROPER format using T-SQL. However, I would personally prefer converting the string at the Front-End or in the Reporting tool to display the string in this format.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=pl3RaJ9EWGI:1GxhYWKpxdY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=pl3RaJ9EWGI:1GxhYWKpxdY:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=pl3RaJ9EWGI:1GxhYWKpxdY:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=pl3RaJ9EWGI:1GxhYWKpxdY:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=pl3RaJ9EWGI:1GxhYWKpxdY:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=pl3RaJ9EWGI:1GxhYWKpxdY:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=pl3RaJ9EWGI:1GxhYWKpxdY:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=pl3RaJ9EWGI:1GxhYWKpxdY:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=pl3RaJ9EWGI:1GxhYWKpxdY:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=pl3RaJ9EWGI:1GxhYWKpxdY:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=pl3RaJ9EWGI:1GxhYWKpxdY:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=pl3RaJ9EWGI:1GxhYWKpxdY:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=pl3RaJ9EWGI:1GxhYWKpxdY:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=pl3RaJ9EWGI:1GxhYWKpxdY:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/pl3RaJ9EWGI" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2012-10-15T12:02:05.187+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2012/10/sql-server-tsql-to-convert-string-in.html</feedburner:origLink></item><item><title>Troubleshooting Oracle Link Server - Part2</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/HyA2h7A7uc8/extending-troubleshooting-oracle-link.html</link><category>troubleshooting</category><category>sql server 2000</category><category>sql server 2005</category><category>Sql server 2008</category><category>sql server 2012</category><category>oracle</category><category>link server</category><author>noreply@blogger.com (Hemantgiri S. Goswami)</author><pubDate>Sat, 01 Sep 2012 23:03:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-5304468737416300730</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;div align="justify"&gt;
&lt;span style="font-family: Trebuchet MS;"&gt;It's my bad that I did not made a post since long lately. I would not make an excuse like I was busy, rather, I would say I am little lazy DBA, but I now onward I will try to post blog more frequently. &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="font-family: Trebuchet MS;"&gt;Well, if you remember, earlier I have posted some tips about &lt;a href="http://www.sql-server-citation.com/2011/09/troubleshooting-oracle-link-server.html" target="_blank" title="Troubleshooting Oracle Link Server"&gt;troubleshooting Link Server issue for Oracle&lt;/a&gt;, today I will be posting one more tip to the list aka extending Troubleshooting Oracle Link Server.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="font-family: Trebuchet MS;"&gt;Few weeks back one of the developer reached out to me needing an assistance with Oracle Link Server. The issue with him was, whenever he execute T-SQL against Oracle Link Server, SQL Server was throwing an error at him which reads like &lt;strong&gt;OLE DB provider "OraOLEDB.Oracle" for linked server "XXXXXX" returned message "Cannot start more transactions on this session."&lt;/strong&gt; I'd connected to the server using SSMS and have checked permissions, Link Server and Provider configuration - &lt;strong&gt;nothing was changed&lt;/strong&gt;. Then what could have cause this error? well, I will need to RDP to the box then to find an answer.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: Trebuchet MS; font-size: x-small;"&gt;&amp;nbsp; &lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div align="justify"&gt;
&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;But before that, as usual, upon questionnaire session, I came to know that developers doesn't have direct access to box and they all were using Citrix to connect to the SQL Server box hence they would not have any idea on what's going on with the physical box. As a DBA I had a privileges to RDP to the development box (obviously ), as soon as I logged in I'd notice that the box is running out of space. The drive which was running out of space was hosting: &lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;User Profiles &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;TempDB &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&amp;amp; UserDB which they were using for ETL purpose for Oracle &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div align="justify"&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;And, as expected, once I'd reclaim some space everything was back to normal.&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div align="justify"&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;Regards &lt;/span&gt;&lt;/div&gt;
&lt;div align="justify"&gt;
&lt;span style="font-family: Trebuchet MS, sans-serif;"&gt;Hemantgiri S. Goswami (&lt;a href="http://www.sql-server-citation.com/"&gt;http://www.sql-server-citation.com&lt;/a&gt; )&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=HyA2h7A7uc8:_EohW5HJnBU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=HyA2h7A7uc8:_EohW5HJnBU:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=HyA2h7A7uc8:_EohW5HJnBU:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=HyA2h7A7uc8:_EohW5HJnBU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=HyA2h7A7uc8:_EohW5HJnBU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=HyA2h7A7uc8:_EohW5HJnBU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=HyA2h7A7uc8:_EohW5HJnBU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=HyA2h7A7uc8:_EohW5HJnBU:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=HyA2h7A7uc8:_EohW5HJnBU:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=HyA2h7A7uc8:_EohW5HJnBU:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=HyA2h7A7uc8:_EohW5HJnBU:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=HyA2h7A7uc8:_EohW5HJnBU:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=HyA2h7A7uc8:_EohW5HJnBU:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=HyA2h7A7uc8:_EohW5HJnBU:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/HyA2h7A7uc8" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2012-09-02T11:38:51.725+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2012/09/extending-troubleshooting-oracle-link.html</feedburner:origLink></item><item><title>SQL Server # Storing Hierarchical Data – Parent Child n’th level # TSQL</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/lwmrvyvGv6A/sql-server-storing-hierarchical-data.html</link><category>MS Sql server</category><author>noreply@blogger.com (vinay pugalia)</author><pubDate>Tue, 27 Mar 2012 23:04:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-903401432340386022</guid><description>&lt;p&gt;&lt;strong&gt;&lt;u&gt;Introduction&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Today, I would like to explain one way in which we can store the HIERARCHICAL data in SQL tables. A general table structure which people come up to store this kind of data is -&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-9SNEIhd_tQw/T3Ky2xf9KEI/AAAAAAAAAKo/u7FSLM6tw80/s1600-h/1%25255B2%25255D.jpg"&gt;&lt;img title="1" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="62" alt="1" src="http://lh5.ggpht.com/-3jrFJMZ58pY/T3Ky3x7zn8I/AAAAAAAAAKw/l5rB8UFN3w8/1_thumb.jpg?imgmax=800" width="244" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Where, EmployeeID id the UniqueID alloted to every new employee record inserted into the table and ManagerID is the &lt;em&gt;EmployeeID &lt;/em&gt;of the immediate manager of the employee. Keeping in mind that Manager is also an employee.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;Problem Statement&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;This table structure very well serves the purpose as long as we have &lt;strong&gt;1-Level &lt;/strong&gt;hierarchy. However, if the hierarchy is of n'th level, the SELECT statement to fetch the records becomes more complex with this kind of table structure. Suppose, we want to fetch the complete TREE of a particular employee, i.e. list of all the employees who are directly or indirectly managed by a particular employee. How to do it……..?&lt;/p&gt; &lt;p&gt;Thanks to CTE’s for making the life a bit easier – as using them in a recursive manner, we can get the work done. Please follow &lt;a href="http://msdn.microsoft.com/en-us/library/ms186243.aspx" target="_blank"&gt;this&lt;/a&gt; msdn link to see an implementation using recursive CTE.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;Suggested Table Structure&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-q4L4Y_bvGkY/T3Ky5LoQF9I/AAAAAAAAAK4/wz42fWjJViQ/s1600-h/2%25255B2%25255D.jpg"&gt;&lt;img title="2" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="75" alt="2" src="http://lh4.ggpht.com/-PyQmtU2VF_0/T3Ky7GQR0lI/AAAAAAAAALA/FLMUPQqyHog/2_thumb.jpg?imgmax=800" width="244" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Here, I have just included a new column &lt;strong&gt;[PATH]. &lt;/strong&gt;It is of VARCHAR(MAX) type. I have taken it as VARCHAR(MAX) just to make sure the field is long enough to store the complete path. But one can assign appropriate size as per their system’s requirement.&lt;/p&gt; &lt;p&gt;The basic idea of the [path] column is to store the complete hierarchical path of any employee separated by a delimiter as under - &lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-x46CUmzNSsc/T3Ky8EM1amI/AAAAAAAAALI/tRVoDE8GLV4/s1600-h/3%25255B2%25255D.jpg"&gt;&lt;img title="3" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="120" alt="3" src="http://lh6.ggpht.com/-u0gQpdZmaZY/T3Ky9a_eI6I/AAAAAAAAALQ/9brmxpUipeo/3_thumb.jpg?imgmax=800" width="244" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;Calculating the new path is very simple. It’s just, {New Path} = {Parent Path} + {Self ID} + {Delimiter}&lt;/p&gt; &lt;p&gt;Now, suppose if I want to fetch all the employees who are directly or indirectly working under EmployeeID = 2, I can use the below tsql - &lt;/p&gt; &lt;div id="codeSnippetWrapper" style="border-right: silver 1px solid; padding-right: 4px; border-top: silver 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: silver 1px solid; width: 97.5%; cursor: text; direction: ltr; line-height: 12pt; padding-top: 4px; border-bottom: silver 1px solid; font-family: 'Courier New', courier, monospace; background-color: #f4f4f4; text-align: left; max-height: 200px"&gt; &lt;div id="codeSnippet" style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"&gt;;&lt;span style="color: #0000ff"&gt;WITH&lt;/span&gt; CTE &lt;span style="color: #0000ff"&gt;AS&lt;/span&gt; (&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;SELECT&lt;/span&gt; 1 EmployeeID,&lt;span style="color: #0000ff"&gt;NULL&lt;/span&gt; ManagerID, &lt;span style="color: #006080"&gt;'\1\'&lt;/span&gt; [&lt;span style="color: #0000ff"&gt;Path&lt;/span&gt;]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;UNION&lt;/span&gt; &lt;span style="color: #0000ff"&gt;ALL&lt;/span&gt;    &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;SELECT&lt;/span&gt; 2 EmployeeID,1 ManagerID, &lt;span style="color: #006080"&gt;'\1\2\'&lt;/span&gt; [&lt;span style="color: #0000ff"&gt;Path&lt;/span&gt;]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;UNION&lt;/span&gt; &lt;span style="color: #0000ff"&gt;ALL&lt;/span&gt;    &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;SELECT&lt;/span&gt; 3 EmployeeID,1 ManagerID, &lt;span style="color: #006080"&gt;'\1\3\'&lt;/span&gt; [&lt;span style="color: #0000ff"&gt;Path&lt;/span&gt;]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;UNION&lt;/span&gt; &lt;span style="color: #0000ff"&gt;ALL&lt;/span&gt;    &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;SELECT&lt;/span&gt; 4 EmployeeID,2 ManagerID, &lt;span style="color: #006080"&gt;'\1\2\4\'&lt;/span&gt; [&lt;span style="color: #0000ff"&gt;Path&lt;/span&gt;]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;UNION&lt;/span&gt; &lt;span style="color: #0000ff"&gt;ALL&lt;/span&gt;    &lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;SELECT&lt;/span&gt; 5 EmployeeID,4 ManagerID, &lt;span style="color: #006080"&gt;'\1\2\4\5\'&lt;/span&gt; [&lt;span style="color: #0000ff"&gt;Path&lt;/span&gt;]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"&gt;)&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;SELECT&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"&gt;  *&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;FROM&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"&gt;  CTE&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;WHERE&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"&gt;  [&lt;span style="color: #0000ff"&gt;Path&lt;/span&gt;] &lt;span style="color: #0000ff"&gt;LIKE&lt;/span&gt; &lt;span style="color: #006080"&gt;'%\2\%'&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;We can use a simple logic to even find out the level of the Employee - &lt;/p&gt;&lt;div id="codeSnippetWrapper" style="border-right: silver 1px solid; padding-right: 4px; border-top: silver 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: silver 1px solid; width: 97.5%; cursor: text; direction: ltr; line-height: 12pt; padding-top: 4px; border-bottom: silver 1px solid; font-family: 'Courier New', courier, monospace; background-color: #f4f4f4; text-align: left; max-height: 200px"&gt;&lt;br /&gt;&lt;div id="codeSnippet" style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;SELECT&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"&gt;  *,&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"&gt;  (LEN([&lt;span style="color: #0000ff"&gt;Path&lt;/span&gt;]) - LEN(REPLACE([&lt;span style="color: #0000ff"&gt;Path&lt;/span&gt;],&lt;span style="color: #006080"&gt;'\'&lt;/span&gt;,&lt;span style="color: #006080"&gt;''&lt;/span&gt;))) - 2 [&lt;span style="color: #0000ff"&gt;Level&lt;/span&gt;]&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;FROM&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"&gt;  CTE&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;WHERE&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"&gt;  [&lt;span style="color: #0000ff"&gt;Path&lt;/span&gt;] &lt;span style="color: #0000ff"&gt;LIKE&lt;/span&gt; &lt;span style="color: #006080"&gt;'%\2\%'&lt;/span&gt;&lt;/pre&gt;&lt;!--CRLF--&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://lh4.ggpht.com/-eQWZX6plKZ0/T3Ky-5JCPgI/AAAAAAAAALY/ipJdY8INHXo/s1600-h/4%25255B2%25255D.jpg"&gt;&lt;img title="4" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="71" alt="4" src="http://lh4.ggpht.com/-VFP9b_CJRYc/T3KzAIMB7UI/AAAAAAAAALg/3k4z3sKp77s/4_thumb.jpg?imgmax=800" width="244" border="0"&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;strong&gt;2&lt;/strong&gt; is subtracted from the formula as the length of delimiter for Level-0 is &lt;strong&gt;2.&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;u&gt;Conclusion&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Hope, this simple trick could save a lot of time for the ones who find themselves lost playing with the hierarchical data.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lwmrvyvGv6A:k7sYCdvfPuo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lwmrvyvGv6A:k7sYCdvfPuo:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lwmrvyvGv6A:k7sYCdvfPuo:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lwmrvyvGv6A:k7sYCdvfPuo:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lwmrvyvGv6A:k7sYCdvfPuo:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=lwmrvyvGv6A:k7sYCdvfPuo:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lwmrvyvGv6A:k7sYCdvfPuo:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lwmrvyvGv6A:k7sYCdvfPuo:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=lwmrvyvGv6A:k7sYCdvfPuo:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lwmrvyvGv6A:k7sYCdvfPuo:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lwmrvyvGv6A:k7sYCdvfPuo:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=lwmrvyvGv6A:k7sYCdvfPuo:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lwmrvyvGv6A:k7sYCdvfPuo:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lwmrvyvGv6A:k7sYCdvfPuo:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/lwmrvyvGv6A" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2012-03-28T12:43:07.342+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/-3jrFJMZ58pY/T3Ky3x7zn8I/AAAAAAAAAKw/l5rB8UFN3w8/s72-c/1_thumb.jpg?imgmax=800" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2012/03/sql-server-storing-hierarchical-data.html</feedburner:origLink></item><item><title>Last Execution Date Time of a Stored Procedure</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/YC4pOfnGtxI/last-execution-date-time-of-stored.html</link><category>Sql server 2008</category><category>sql 2008 r2</category><category>sql 2008</category><category>sql server 2008 r2</category><category>script</category><author>noreply@blogger.com (vinay pugalia)</author><pubDate>Sun, 11 Mar 2012 22:59:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-3824057704994708197</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
On many forums I have found a very basic yet important query - “How can I know when was my Stored Procedure last executed?” And today through this blog I will try to answer this question.&lt;br /&gt;
Actually speaking, without explicit logging or tracing, it is not possible to get this information for each and every Stored Procedure of our Database. However, we can get this detail along with many other relevant information for the stored procedure having it’s execution plan currently &lt;strong&gt;cached &lt;/strong&gt;on the server by using - &lt;strong&gt;sys.dm_exec_procedure_stats &lt;/strong&gt;It’s a system dynamic view that returns aggregate performance statistics for cached stored procedures.Please note that this view has been introduced from SQL Server 2008.&lt;br /&gt;
The important thing to note is that this view returns one row for each cached stored procedure plan, and the lifetime of the row is as long as the stored procedure remains cached. When a stored procedure is removed from the cache, the corresponding row is eliminated from this view.&lt;br /&gt;
So, let’s see a way, using which at least we can find out the some important facts for the cached stored procedures -&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;USE DBName
GO
SELECT 
 O.name,
 PS.last_execution_time
FROM 
 sys.dm_exec_procedure_stats PS 
INNER JOIN sys.objects O 
 ON O.[object_id] = PS.[object_id] 
GO
&lt;/pre&gt;
&lt;strong&gt;P.S. &lt;/strong&gt;Please replace the &lt;strong&gt;DBName &lt;/strong&gt;with the actual name of the Database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above script will return the name of all the cached stored procedure of the current database with their last execution time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more details on this dynamics view, please refer - &lt;a href="http://msdn.microsoft.com/en-us/library/cc280701.aspx" target="_blank"&gt;sys.dm_exec_procedure_stats (Transact-SQL)&lt;/a&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YC4pOfnGtxI:sjLpSQ49lOI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YC4pOfnGtxI:sjLpSQ49lOI:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YC4pOfnGtxI:sjLpSQ49lOI:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YC4pOfnGtxI:sjLpSQ49lOI:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YC4pOfnGtxI:sjLpSQ49lOI:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=YC4pOfnGtxI:sjLpSQ49lOI:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YC4pOfnGtxI:sjLpSQ49lOI:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YC4pOfnGtxI:sjLpSQ49lOI:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=YC4pOfnGtxI:sjLpSQ49lOI:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YC4pOfnGtxI:sjLpSQ49lOI:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YC4pOfnGtxI:sjLpSQ49lOI:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=YC4pOfnGtxI:sjLpSQ49lOI:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YC4pOfnGtxI:sjLpSQ49lOI:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YC4pOfnGtxI:sjLpSQ49lOI:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/YC4pOfnGtxI" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2012-03-12T17:51:26.815+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2012/03/last-execution-date-time-of-stored.html</feedburner:origLink></item><item><title>Moving MASTER Database</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/2X-I7C_cgXM/moving-master-database.html</link><category>sql 2000</category><category>best practices</category><category>sql 2008 r2</category><category>sql 2008</category><category>sql 2012</category><category>sql server administration</category><category>sql 2005</category><author>noreply@blogger.com (Hemantgiri S. Goswami)</author><pubDate>Thu, 08 Mar 2012 05:13:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-1781055881936116208</guid><description>&lt;p align="justify"&gt;&lt;font size="3" face="Trebuchet MS"&gt;In my previous post we see how to &lt;a href="http://www.sql-server-citation.com/2012/03/moving-msdb-to-new-location.html" target="_blank"&gt;move MSDB database&lt;/a&gt;, today we will see how to move or relocate MASTER database. While moving MASTER database we’ll have to consider few other things like changing start-up parameter for SQL Server Service. I will also mention those stops here for better understanding. Let’s do it step-by-step.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;Step 1: Query sys view and note down the existing location for MASTER database&lt;/font&gt;&lt;/p&gt;  
&lt;pre class="sql" name="code"&gt;
USE MASTER 
GO 
SELECT 
NAME, 
PHYSICAL_NAME AS 'PhysicalFilePath', 
STATE_DESC AS 'DB Status' 
FROM SYS.MASTER_FILES 
WHERE NAME LIKE 'Mast%'
&lt;/pre&gt;
&lt;br&gt;&lt;a href="http://lh3.ggpht.com/-yyDn2L0zxdI/T1iwNYFRFtI/AAAAAAAAD-s/FthC7zdVHJk/s1600-h/Screen001%25255B4%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Screen001" border="0" alt="Screen001" src="http://lh4.ggpht.com/-tk5GAYmVWUU/T1iwOj4JfcI/AAAAAAAAD-0/T47AELpqoXM/Screen001_thumb%25255B2%25255D.jpg?imgmax=800" width="569" height="169" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;Step 2: Run alter database command and change the location for database files&lt;/font&gt;&lt;/p&gt;  
&lt;pre class="sql" name="code"&gt;
ALTER DATABASE MASTER 
MODIFY FILE 
( 
NAME = MASTER, 
FILENAME= 'C:\SQLDB\Demo\Master.mdf' 
) 
GO 
ALTER DATABASE MASTER 
MODIFY FILE 
( 
NAME = MastLog, 
FILENAME= 'C:\SQLDB\Demo\MastLog.mdf' 
) 
GO 
&lt;/pre&gt;
     &lt;br /&gt;&lt;a href="http://lh4.ggpht.com/-5EGOUTVqufc/T1iwPp2xeTI/AAAAAAAAD-8/3S8wOvU3Tzw/s1600-h/Screen002%25255B8%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Screen002" border="0" alt="Screen002" src="http://lh3.ggpht.com/-HhxDlDSD45k/T1iwQj7c1_I/AAAAAAAAD_A/gLrTBwBYH2c/Screen002_thumb%25255B6%25255D.jpg?imgmax=800" width="569" height="197" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;Step 3: Stop SQL Server Service and move database files to new location&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;Step 4: Restart SQL Server Service, surprised ?&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-6I60DEzUZ_k/T1iwRu8UTrI/AAAAAAAAD_M/KqpH1e09yzM/s1600-h/Screen003%25255B4%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Screen003" border="0" alt="Screen003" src="http://lh4.ggpht.com/-fmy2d46UDug/T1iwS0usJDI/AAAAAAAAD_U/INANFCF1wP4/Screen003_thumb%25255B2%25255D.jpg?imgmax=800" width="569" height="129" /&gt;&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;Step 5: This was expected, let’s see what errorlog has to say about this!&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-LNsshEC0mFQ/T1iwTzGLBiI/AAAAAAAAD_c/XfEe_fQhclE/s1600-h/Screen004%25255B5%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Screen004" border="0" alt="Screen004" src="http://lh3.ggpht.com/-LiGIhcH7onM/T1iwU0P7_wI/AAAAAAAAD_k/MxZ-KSrObxE/Screen004_thumb%25255B3%25255D.jpg?imgmax=800" width="569" height="195" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;Refer the highlighted section, SQL Server service could not find the files. This is because we have moved that files to new location.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;Step 6: Okay, so let’s go and change the start-up parameter. We can do this using Configuration manager.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;Step 7: Right click on SQL Server service –&amp;gt; Properties –&amp;gt; Start-up Parameter&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-ZsIGh0Psjh8/T1iwV9fxxMI/AAAAAAAAD_s/BzMUaxi6dcY/s1600-h/Screen005%25255B4%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Screen005" border="0" alt="Screen005" src="http://lh5.ggpht.com/-9h3U6224dt0/T1iwW4lpTRI/AAAAAAAAD_0/mI4YOf0a2Ko/Screen005_thumb%25255B2%25255D.jpg?imgmax=800" width="571" height="351" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;Step 8: Make correction in path for Master.mdf and Master.ldf &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;Step 9: Start SQL Server service, this time it will start.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;You are done!!&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;Note: This is to be done when we have to do relocate databases to new drive, or file organization, or some error which force us to do this. &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;-- Hemantgiri S. Goswami&lt;/font&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=2X-I7C_cgXM:uZqAIT7ifHM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=2X-I7C_cgXM:uZqAIT7ifHM:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=2X-I7C_cgXM:uZqAIT7ifHM:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=2X-I7C_cgXM:uZqAIT7ifHM:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=2X-I7C_cgXM:uZqAIT7ifHM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=2X-I7C_cgXM:uZqAIT7ifHM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=2X-I7C_cgXM:uZqAIT7ifHM:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=2X-I7C_cgXM:uZqAIT7ifHM:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=2X-I7C_cgXM:uZqAIT7ifHM:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=2X-I7C_cgXM:uZqAIT7ifHM:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=2X-I7C_cgXM:uZqAIT7ifHM:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=2X-I7C_cgXM:uZqAIT7ifHM:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=2X-I7C_cgXM:uZqAIT7ifHM:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=2X-I7C_cgXM:uZqAIT7ifHM:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/2X-I7C_cgXM" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2012-03-08T18:45:55.453+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh4.ggpht.com/-tk5GAYmVWUU/T1iwOj4JfcI/AAAAAAAAD-0/T47AELpqoXM/s72-c/Screen001_thumb%25255B2%25255D.jpg?imgmax=800" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2012/03/moving-master-database.html</feedburner:origLink></item><item><title>Moving MSDB to new location</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/Zv8-Y-k2KAc/moving-msdb-to-new-location.html</link><category>sql 2000</category><category>best practices</category><category>system databases</category><category>sql 2012</category><category>sql server administration</category><category>sql 2005</category><author>noreply@blogger.com (Hemantgiri S. Goswami)</author><pubDate>Tue, 06 Mar 2012 21:54:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-279216802019920076</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div align="justify"&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;In recent past we have a situation where in we required to move MSDB, Model and Master databases to new location, the reason being faulty drive. While moving system databases to new location we need to be extra cautious. Let’s see the process step-by-step.&lt;/span&gt;&lt;/div&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;Step 1: Let’s query sys view and note down the location for database files
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT
NAME,
PHYSICAL_NAME AS 'PhysicalFilePath',
STATE_DESC AS 'DB Status'
FROM SYS.MASTER_FILES
&lt;/pre&gt;
&lt;a href="http://lh5.ggpht.com/-CGmdOj0WIR0/T1b37x-_XYI/AAAAAAAAD9M/9bU_nP2_B2A/s1600-h/Screen001%25255B5%25255D.jpg"&gt;&lt;img alt="Screen001" border="0" height="137" src="http://lh5.ggpht.com/-TeifGRcxUjY/T1b3-uA0k6I/AAAAAAAAD9U/AMBynowHJtk/Screen001_thumb%25255B3%25255D.jpg?imgmax=800" style="background-image: none; border-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="Screen001" width="582" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;Step 2: Run alter database and specify new location for database&lt;/span&gt;&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT
ALTER DATABASE MSDB
MODIFY FILE
(
NAME = MSDBData,
FILENAME= 'C:\SQLDB\Demo\MSDBData.mdf'
)
GO
ALTER DATABASE MSDB
MODIFY FILE
(
NAME = MSDBLog,
FILENAME= 'C:\SQLDB\Demo\MSDBLog.ldf'
)
GO
&lt;/pre&gt;
&lt;a href="http://lh4.ggpht.com/-jWL-qMKG8sI/T1b4AlOzCqI/AAAAAAAAD9c/hoIKPQ952Zg/s1600-h/Screen002%25255B5%25255D.jpg"&gt;&lt;img alt="Screen002" border="0" height="129" src="http://lh5.ggpht.com/-99ujQd5Ywqc/T1b4Ck9ACvI/AAAAAAAAD9k/SpPk0cKmlaM/Screen002_thumb%25255B3%25255D.jpg?imgmax=800" style="background-image: none; border-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="Screen002" width="584" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;Step 3: Stop SQL Server service&lt;/span&gt;&lt;br /&gt;
&lt;a href="http://lh3.ggpht.com/-pakSiwsG2GY/T1b4E8Zd3MI/AAAAAAAAD9s/ClKaT_JhVWE/s1600-h/Screen003%25255B5%25255D.jpg"&gt;&lt;img alt="Screen003" border="0" height="131" src="http://lh6.ggpht.com/-j0ZkLbL88aE/T1b4GpmxLCI/AAAAAAAAD90/LliIfvKuVjw/Screen003_thumb%25255B3%25255D.jpg?imgmax=800" style="background-image: none; border-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="Screen003" width="584" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;Step 4: Once SQL Server service is stopped move MSDB database to new location&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;Step 5: Now, start SQL Server service. This time it will use the new path that we have configured in Step 2.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;Note: If you have enabled and configure Database Mail, please make sure it works after you moved MSDB to new location.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS;"&gt;Tomorrow, I will post about how to relocate Master database.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;-- Hemantgiri S. Goswami (&lt;a href="http://www.sql-server-citation.com/"&gt;http://www.sql-server-citation.com/&lt;/a&gt;) &lt;/span&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zv8-Y-k2KAc:kvElBSA0i3c:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zv8-Y-k2KAc:kvElBSA0i3c:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zv8-Y-k2KAc:kvElBSA0i3c:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zv8-Y-k2KAc:kvElBSA0i3c:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zv8-Y-k2KAc:kvElBSA0i3c:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=Zv8-Y-k2KAc:kvElBSA0i3c:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zv8-Y-k2KAc:kvElBSA0i3c:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zv8-Y-k2KAc:kvElBSA0i3c:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=Zv8-Y-k2KAc:kvElBSA0i3c:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zv8-Y-k2KAc:kvElBSA0i3c:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zv8-Y-k2KAc:kvElBSA0i3c:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=Zv8-Y-k2KAc:kvElBSA0i3c:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zv8-Y-k2KAc:kvElBSA0i3c:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Zv8-Y-k2KAc:kvElBSA0i3c:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/Zv8-Y-k2KAc" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2012-08-11T00:09:12.723+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/-TeifGRcxUjY/T1b3-uA0k6I/AAAAAAAAD9U/AMBynowHJtk/s72-c/Screen001_thumb%25255B3%25255D.jpg?imgmax=800" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2012/03/moving-msdb-to-new-location.html</feedburner:origLink></item><item><title>Register for SQL Server 2012 Virtual Launch</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/3qYRnj8_aP8/register-for-sql-server-2012-virtual.html</link><category>SQL News</category><category>columnstore index</category><category>community</category><category>sql server 2012</category><category>What's new in sql server</category><category>microsoft event</category><author>noreply@blogger.com (Hemantgiri S. Goswami)</author><pubDate>Mon, 05 Mar 2012 20:34:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-8231291660160941111</guid><description>&lt;p&gt;&lt;font face="Trebuchet MS"&gt;`&lt;font size="3"&gt;As we all are aware SQL Server 2012 virtual launch is scheduled after 60 hours roughly. Earlier I have discussed what’s new in &lt;a href="http://www.sql-server-citation.com/2011/12/whats-new-in-sql-server-rc0-setup.html" target="_blank"&gt;SQL Server 2012 setup&lt;/a&gt;, MS has released &lt;a href="http://www.sql-server-citation.com/2011/11/download-sql-server-2012-developer.html" target="_blank"&gt;SQL Server 2012 training kit&lt;/a&gt; and made it available for us to download. In recent past, I have blogged about a &lt;a href="http://www.sql-server-citation.com/2012/03/download-free-ebook-for-sql-server-2012.html" target="_blank"&gt;free eBook for SQL Server 2012&lt;/a&gt; written by Ross Mistry ( &lt;a href="http://www.rossmistry.com/" target="_blank"&gt;Blog&lt;/a&gt; | &lt;a href="https://twitter.com/intent/follow?original_referer=http%3A%2F%2Fwww.rossmistry.com%2F&amp;amp;region=follow_link&amp;amp;screen_name=RossMistry&amp;amp;source=followbutton&amp;amp;variant=2.0" target="_blank"&gt;Twitter&lt;/a&gt; ) and Stacia Misner ( &lt;a href="http://blog.datainspirations.com/" target="_blank"&gt;Blog&lt;/a&gt; | &lt;a href="https://twitter.com/#!/StaciaMisner" target="_blank"&gt;Twitter&lt;/a&gt;) . &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;You will see lots of new and insightful information on new and enhanced features introduced in SQL Server 2012, this includes:&lt;/font&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font size="3" face="Trebuchet MS"&gt;AlwaysOn &lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="3" face="Trebuchet MS"&gt;Automating AlwaysOn management&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="3" face="Trebuchet MS"&gt;New backup and restore capabilities&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="3" face="Trebuchet MS"&gt;ColumnStore index&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="3" face="Trebuchet MS"&gt;Semantic Search&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="3" face="Trebuchet MS"&gt;User-defined server roles&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="3" face="Trebuchet MS"&gt;Data quality service&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="3" face="Trebuchet MS"&gt;StreamInsight for SQL Server 2012&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="3" face="Trebuchet MS"&gt;Big data analytics and Hadoop&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="3" face="Trebuchet MS"&gt;T-SQL Enhancements&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="3" face="Trebuchet MS"&gt;SQL Server Data Tools (SSDT)&lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font size="3" face="Trebuchet MS"&gt;SQL Azure&lt;/font&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;ul&gt;&lt;font size="3" face="Trebuchet MS"&gt;Sounds interesting ? &lt;/font&gt;&lt;/ul&gt;  &lt;ul&gt;&lt;font size="3" face="Trebuchet MS"&gt;Get yourself &lt;a href="https://www.sqlserverlaunch.com/WW/Register" target="_blank"&gt;register&lt;/a&gt; for the event, you will find the agenda of the event &lt;a href="http://www.sqlserverlaunch.com/WW/Agenda" target="_blank"&gt;here&lt;/a&gt;.&lt;/font&gt;&lt;/ul&gt;  &lt;ul&gt;&lt;font size="3" face="Trebuchet MS"&gt;-- Hemantgiri S. Goswami (&lt;a href="http://www.sql-server-citation.com/"&gt;http://www.sql-server-citation.com/&lt;/a&gt; )&lt;/font&gt;&lt;/ul&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=3qYRnj8_aP8:0u04NsiNSyA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=3qYRnj8_aP8:0u04NsiNSyA:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=3qYRnj8_aP8:0u04NsiNSyA:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=3qYRnj8_aP8:0u04NsiNSyA:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=3qYRnj8_aP8:0u04NsiNSyA:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=3qYRnj8_aP8:0u04NsiNSyA:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=3qYRnj8_aP8:0u04NsiNSyA:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=3qYRnj8_aP8:0u04NsiNSyA:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=3qYRnj8_aP8:0u04NsiNSyA:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=3qYRnj8_aP8:0u04NsiNSyA:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=3qYRnj8_aP8:0u04NsiNSyA:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=3qYRnj8_aP8:0u04NsiNSyA:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=3qYRnj8_aP8:0u04NsiNSyA:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=3qYRnj8_aP8:0u04NsiNSyA:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/3qYRnj8_aP8" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2012-03-06T10:04:37.474+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2012/03/register-for-sql-server-2012-virtual.html</feedburner:origLink></item><item><title>Download free eBook for SQL Server 2012</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/Xzg8_qR2VTY/download-free-ebook-for-sql-server-2012.html</link><category>download ebook</category><category>download</category><category>sql server 2012</category><category>sql server 2008 r2</category><author>noreply@blogger.com (Hemantgiri S. Goswami)</author><pubDate>Wed, 29 Feb 2012 19:48:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-4309471944716579868</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;Microsoft has released one more free eBook, this time it is on &lt;a href="http://blogs.msdn.com/b/microsoft_press/archive/2012/01/31/free-ebook-introducing-microsoft-sql-server-2012-second-draft-preview.aspx" target="_blank"&gt;SQL Server 2012&lt;/a&gt;. However, this is the second draft of this book. SQL Server MVP Ross Mistry and Stacia Misner has covered Administration and BI part, there are 10 chapters in total divided in two part, they are:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS;"&gt;&lt;span style="font-size: small;"&gt;&lt;u&gt;&lt;strong&gt;&lt;img align="right" alt="0068.665156_excerpt2_3D19D01B" border="0" height="244" src="http://lh5.ggpht.com/-OxZaifXOXt8/T07xhZ9hlEI/AAAAAAAAD4k/1FMut6P7MN4/0068.665156_excerpt2_3D19D01B_thumb.jpg?imgmax=800" style="background-image: none; border-width: 0px; display: inline; float: right; margin-left: 0px; margin-right: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" title="0068.665156_excerpt2_3D19D01B" width="201" /&gt;&lt;/strong&gt;&lt;/u&gt;&lt;span style="color: black;"&gt;&lt;u&gt;&lt;strong&gt;PART I DATABASE ADMINISTRATION (by Ross Mistry)&lt;/strong&gt;&lt;/u&gt;1. Denali Editions and Enhancements&lt;br /&gt;2. High Availability and Disaster Recovery Enhancements&lt;br /&gt;3. Scalability and Performance&lt;br /&gt;4. Security Enhancements&lt;br /&gt;5. Beyond Relational&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: black;"&gt;&lt;u&gt;&lt;strong&gt;PART II BUSINESS INTELLIGENCE DEVELOPMENT (by Stacia Misner)&lt;/strong&gt;&lt;/u&gt;6. Integration Services&lt;br /&gt;7. Data Quality Services&lt;br /&gt;8. Master Data Services&lt;br /&gt;9. Analysis Services and PowerPivot&lt;br /&gt;10. Reporting Services&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;Want to read more and download an eBook for free ? Link –&amp;gt; &lt;a href="http://blogs.msdn.com/b/microsoft_press/archive/2012/01/31/free-ebook-introducing-microsoft-sql-server-2012-second-draft-preview.aspx" target="_blank" title="Introducing Microsoft SQL Server 2012"&gt;Introducing Microsoft SQL Server 2012&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;For those who missed downloading eBook on SQL Server 2008, here is the link –&amp;gt; &lt;/span&gt;&lt;a href="http://blogs.msdn.com/b/microsoft_press/archive/2010/04/14/free-ebook-introducing-microsoft-sql-server-2008-r2.aspx" target="_blank" title="Introducing Microsoft SQL Server 2008 R2"&gt;&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;Introducing Microsoft SQL Server 2008 R2&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Update : 2nd March 2012, Table of Content was wrong, thank you Stacia Misner (@staciamisner) .&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;-Hemantgiri S Goswami (&lt;a href="http://www.sql-server-citation.com/"&gt;http://www.sql-server-citation.com&lt;/a&gt; )&lt;/span&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Xzg8_qR2VTY:2XQpgOH6Rc0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Xzg8_qR2VTY:2XQpgOH6Rc0:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Xzg8_qR2VTY:2XQpgOH6Rc0:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Xzg8_qR2VTY:2XQpgOH6Rc0:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Xzg8_qR2VTY:2XQpgOH6Rc0:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=Xzg8_qR2VTY:2XQpgOH6Rc0:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Xzg8_qR2VTY:2XQpgOH6Rc0:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Xzg8_qR2VTY:2XQpgOH6Rc0:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=Xzg8_qR2VTY:2XQpgOH6Rc0:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Xzg8_qR2VTY:2XQpgOH6Rc0:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Xzg8_qR2VTY:2XQpgOH6Rc0:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=Xzg8_qR2VTY:2XQpgOH6Rc0:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Xzg8_qR2VTY:2XQpgOH6Rc0:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Xzg8_qR2VTY:2XQpgOH6Rc0:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/Xzg8_qR2VTY" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2012-03-02T09:58:48.034+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/-OxZaifXOXt8/T07xhZ9hlEI/AAAAAAAAD4k/1FMut6P7MN4/s72-c/0068.665156_excerpt2_3D19D01B_thumb.jpg?imgmax=800" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2012/03/download-free-ebook-for-sql-server-2012.html</feedburner:origLink></item><item><title>When DBCC INPUTBUFFER disappoints</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/YGqdpJzfNWo/when-dbcc-inputbuffer-disappoints.html</link><category>sql server 2000</category><category>sql server performance tuning</category><category>sql server 2005</category><category>Sql server 2008</category><category>sql server performance</category><category>sql server administration</category><author>noreply@blogger.com (Hemantgiri S. Goswami)</author><pubDate>Mon, 30 Jan 2012 22:44:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-6428064765741148639</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span style="font-size: small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Today we have an alert from one of the client server about blocking, I have immediately start looking at it using below statement&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="sql" name="code"&gt; 
SELECT * FROM 
MASTER..SYSPROCESSES
WHERE BLOCKED != 0&amp;nbsp;&lt;/pre&gt;
&lt;/div&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;span style="font-size: small;"&gt;Yes, I’ve found the culprit SPID that is occupying more resources, using DBCC INPUTBUFFER(SPID). so, instead of 
seeing what exactly this SPID is doing I have received SP_EXECUTESQL, surprised!!! No, it’s bound to happen when 
SPID is running dynamic TSQL (using SP_EXECUTESQL) and/or cursor. But, yes, at the same time 
I would like to know what it is running behind the scene. There are two options that came to my mind
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;li&gt;Using Profiler
&lt;/li&gt;
&lt;li&gt;using function – ::fn_get_sql(@SQLHandle)&amp;nbsp;&lt;/li&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/ul&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;

&lt;span style="font-size: small;"&gt;I preferred to use 2nd option as this is one time 
effort (at least as of now), and, it would be very quick. So, here is 
what I have used   
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class="sql" name="code"&gt; &lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
&lt;/span&gt;&lt;/span&gt;
-- Variable that will store the SQLHandle
DECLARE @SQLHandle BINARY(20)

-- Variable that will pass on the culprit SPID
DECLARE @SPID INT

-- value for culprit SPID
SET @SPID = 52

-- this will give you the SQLHandle for the culprit SPID
SELECT @SQLHandle = SQL_HANDLE 
FROM MASTER..SYSPROCESSES 
WHERE SPID = @SPID  

-- this statement will give you the SQL Statement for culprit SPID
SELECT [TEXT] FROM ::FN_GET_SQL(@SQLHandle)
&lt;/pre&gt;
&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;You must be thinking why I have used this function instead sys.dm_exec_sql_text? Any guess??&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;

Yes, you are right, customer is still using SQL server 2000 {Winking smile}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;

BTW, if you happened to come across something relating but on SQL Server 2005 or SQL Server 2008 and greater I have a reference script for you&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;

&lt;span style="font-size: small;"&gt;Erland Sommarskog, SQL Server MVP  has written &lt;a href="http://www.sommarskog.se/sqlutil/aba_lockinfo.html"&gt;aba_lockinfo&lt;/a&gt;  and a script a.k.a. Custom Blocker Report from Aaron_Bertrand.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;

 

--Hemantgiri S. Goswami (http://www.sql-server-citation.com )&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YGqdpJzfNWo:D0V2tYv4acc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YGqdpJzfNWo:D0V2tYv4acc:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YGqdpJzfNWo:D0V2tYv4acc:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YGqdpJzfNWo:D0V2tYv4acc:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YGqdpJzfNWo:D0V2tYv4acc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=YGqdpJzfNWo:D0V2tYv4acc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YGqdpJzfNWo:D0V2tYv4acc:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YGqdpJzfNWo:D0V2tYv4acc:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=YGqdpJzfNWo:D0V2tYv4acc:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YGqdpJzfNWo:D0V2tYv4acc:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YGqdpJzfNWo:D0V2tYv4acc:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=YGqdpJzfNWo:D0V2tYv4acc:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YGqdpJzfNWo:D0V2tYv4acc:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=YGqdpJzfNWo:D0V2tYv4acc:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/YGqdpJzfNWo" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2012-01-31T13:13:44.494+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2012/01/when-dbcc-inputbuffer-disappoints.html</feedburner:origLink></item><item><title>Rebuild System Databases</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/I5l3VFASArU/rebuild-system-databases.html</link><category>sql server 2005</category><category>sql server 2012</category><category>sql server 2008 r2</category><category>sql server administration</category><author>noreply@blogger.com (Hemantgiri S. Goswami)</author><pubDate>Sun, 29 Jan 2012 21:00:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-6139879342540979116</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Yesterday night one of FB Friend have ping me, he has issue with his local SQL Server instance. Our conversation goes like:&lt;br /&gt;
FB Friend: Hi&lt;br /&gt;
I : Hi&lt;br /&gt;
FB Friend: I need your help&lt;br /&gt;
FB Friend : My SQL Server is not starting...&lt;br /&gt;
I : What is an error you are getting?&lt;br /&gt;
FB Friend : Just nothing&lt;br /&gt;
I : Ok, check the SQL Server Error Log and EventViewer&lt;br /&gt;
I : you can find errologs at &lt;em&gt;&lt;strong&gt;C:\Program Files\Microsoft SQL Server\MSSQL11.DENALI\MSSQL\Log&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
I : open it with notepad ....&lt;br /&gt;
FB Friend: Ok&lt;br /&gt;
FB Friend: &lt;em&gt;&lt;strong&gt;Cannot recover the master database. SQL Server is unable to run. Restore master from a full backup, repair it, or rebuild it. For more information about how to rebuild the master database, see SQL Server Books Online.&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
I : Wow, seems like your master database is corrupt, you will need to run repair or you may want to rebuild master database.&lt;br /&gt;
I : Is this a new installation ?&lt;br /&gt;
FB Friend : Yes, this is new installation, and, I don't want to re-run the installation again, what is my option ?&lt;br /&gt;
I : you will need to rebuild master or restore it&lt;br /&gt;
FB Friend: How do I do it?&lt;br /&gt;
I: Here are your steps&lt;br /&gt;
&lt;h4&gt;
&lt;strong&gt;Rebuild Master: &lt;/strong&gt;&lt;/h4&gt;
Step 1: Insert your setup media CD or folder where you have dumped SQL Server Installation&lt;br /&gt;
Step 2: Open command prompt&lt;br /&gt;
Step 3: Go to location (wherever you have setup, Step 1)&lt;br /&gt;
Step 4: setup /ACTION=REBUILDDATABASE /QUIET /INSTANCENAME=MSSQLServer /SQLSYSADMINACCOUNTS=MyAdmin /SAPWD=somePwd&lt;br /&gt;
&lt;img border="0" height="200" src="http://www.suratusergroup.org/images/step000.jpg" width="640" /&gt;&lt;br /&gt;
Step 5: this will pop up new command window and then disappears&lt;br /&gt;
&lt;img border="0" height="164" src="http://www.suratusergroup.org/images/step001.jpg" width="640" /&gt;&lt;br /&gt;
Step 6: you will have to refer logs so as to see whether it was successful completed or exit with error&lt;br /&gt;
&lt;img border="0" height="127" src="http://www.suratusergroup.org/images/Step003.jpg" width="640" /&gt;&lt;br /&gt;
This is it, you system database has been rebuild successfully!!&lt;br /&gt;
&lt;strong&gt;Restoring Master Database - An alternative method:&lt;/strong&gt;&lt;br /&gt;
Step 1:&lt;strong&gt; &lt;/strong&gt;Take backup of master database, in your case, I assume, you already have your master database backed up.&lt;br /&gt;
&lt;img border="0" height="287" src="http://www.suratusergroup.org/images/Master001.jpg" width="640" /&gt;&lt;br /&gt;
Step 2: Stop SQL Server Services * you will need Administrator permission for this operation&lt;br /&gt;
&lt;strong&gt;&lt;img border="0" src="http://www.suratusergroup.org/images/Master0012jpg" /&gt;&lt;img border="0" height="194" src="http://www.suratusergroup.org/images/Master002.jpg" width="640" /&gt;&lt;/strong&gt;&lt;br /&gt;
Step 3: Start SQL Server using -C and -M parameter; this will start SQL Server in single user mode which is required to restore Master database&lt;br /&gt;
&lt;strong&gt;&lt;img border="0" height="349" src="http://www.suratusergroup.org/images/Master003.jpg" width="640" /&gt;      &lt;/strong&gt;&lt;br /&gt;
Step 4: Restore database using SQLCMD&lt;br /&gt;
&lt;img border="0" height="224" src="http://www.suratusergroup.org/images/Master004.jpg" width="640" /&gt;&lt;br /&gt;
This is it, you have successfully restore your master database!!!&lt;br /&gt;
&lt;h4&gt;
&lt;strong&gt;Is it this simple? No, wait, there are few things we need to be careful with....&lt;/strong&gt;&lt;/h4&gt;
The above example have save you because below conditions are true:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;You have back up of your master database, or &lt;/li&gt;
&lt;li&gt;This server is fresh installation or &lt;/li&gt;
&lt;li&gt;there are no user databases or &lt;/li&gt;
&lt;li&gt;this server is not production box &lt;/li&gt;
&lt;/ol&gt;
If the above conditions were not true, you will have to perform below steps:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Restore / Rebuild system databases &lt;/li&gt;
&lt;li&gt;Recreate all the Login that you have on your crashed server - &lt;em&gt;&lt;strong&gt;backing up master db&lt;/strong&gt;&lt;/em&gt; helps you here &lt;/li&gt;
&lt;li&gt;you will have to recreate all the jobs and SSIS/DTS Packages that you have - &lt;em&gt;&lt;strong&gt;backing up MSDB database&lt;/strong&gt;&lt;/em&gt; will save you &lt;/li&gt;
&lt;li&gt;similarly &lt;strong&gt;&lt;em&gt;distribution database backup will help you if you have replication configured&lt;/em&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
Conclusion :&amp;nbsp; I wish that you have schedule maintenance plan / job to take full backup of your system databases i.e. Master, MSDB, and Distribution(if you have configured replication).&lt;br /&gt;
Disclaimer : The example used here is for illustration purpose only.&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=I5l3VFASArU:TjUqO7KGM1U:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=I5l3VFASArU:TjUqO7KGM1U:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=I5l3VFASArU:TjUqO7KGM1U:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=I5l3VFASArU:TjUqO7KGM1U:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=I5l3VFASArU:TjUqO7KGM1U:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=I5l3VFASArU:TjUqO7KGM1U:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=I5l3VFASArU:TjUqO7KGM1U:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=I5l3VFASArU:TjUqO7KGM1U:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=I5l3VFASArU:TjUqO7KGM1U:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=I5l3VFASArU:TjUqO7KGM1U:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=I5l3VFASArU:TjUqO7KGM1U:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=I5l3VFASArU:TjUqO7KGM1U:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=I5l3VFASArU:TjUqO7KGM1U:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=I5l3VFASArU:TjUqO7KGM1U:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/I5l3VFASArU" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2012-03-12T12:51:17.577+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2012/01/rebuild-system-databases.html</feedburner:origLink></item><item><title>Revamping SUG 2nd Meeting</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/GJVVBMhUl6U/revamping-sug-2nd-meeting.html</link><category>surat</category><category>Surat SQL Server User Group</category><category>Sql server 2008</category><category>SQL Server MVP</category><category>surat user group</category><category>Surat Technical community</category><category>surat it pro community</category><author>noreply@blogger.com (Hemantgiri S. Goswami)</author><pubDate>Mon, 23 Jan 2012 04:02:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-5198784737255735352</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;&lt;img align="left" height="238" src="http://pmtips.net/wp-content/uploads/2010/03/meaningful-meetings.jpg" style="display: inline; float: left;" width="390" /&gt;&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;Friends,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align="justify"&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;Last Saturday, 21st we have 2nd meeting of SUG members and this time we made progress – I, Vinay and Matang was present in meeting &lt;img alt="Smile" class="wlEmoticon wlEmoticon-smile" src="http://lh5.ggpht.com/-fhUjhdO2VDQ/Tx1MNx1MlTI/AAAAAAAAD18/9Fo_f24NczU/wlEmoticon-smile%25255B2%25255D.png?imgmax=800" style="border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none;" /&gt; .We have discussed following :&lt;/span&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;     &lt;div align="justify"&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt; We have decided that portal management will be done by I, Vinay and Matang initially, here are the module that we’ll be adding content on:&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Forums and Team section –&amp;gt; Hemantgiri S Goswami&lt;/li&gt;
&lt;li&gt;Article Section –&amp;gt; Matang Panchal&lt;/li&gt;
&lt;li&gt;Blog Section –&amp;gt; Vinay Pugalia&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt; We’ll design and use common PPT theme during all our presentations&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;We’ll organize quize every quarter&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;From next meet, 1 member will make presentation of 15 minutes; starting with myself&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;We will try to accommodate as many as practical / self demos in initial (and, so on) events&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;We would also create PPT / Demo repository that we have used during event&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;Also, there will be a download section where we’ll share scripts/codes to download&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;We will open a bank account to manage the fund we’ll receive from Sponsors &lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;See you in next meeting will be on &lt;b&gt;&lt;u&gt;11th February 2012&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;Venue : 406, Empire State Building, Nr. Udhana Darwaja&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;Time : 7 PM&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt; Image source: http://pmtips.net/wp-content/uploads/2010/03/meaningful-meetings.jpg&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: small;"&gt;-- Hemantgiri S. Goswami (&lt;a href="http://www.sql-server-citation.com/"&gt;http://www.sql-server-citation.com&lt;/a&gt; )&lt;/span&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=GJVVBMhUl6U:4jdDr-HHDfY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=GJVVBMhUl6U:4jdDr-HHDfY:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=GJVVBMhUl6U:4jdDr-HHDfY:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=GJVVBMhUl6U:4jdDr-HHDfY:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=GJVVBMhUl6U:4jdDr-HHDfY:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=GJVVBMhUl6U:4jdDr-HHDfY:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=GJVVBMhUl6U:4jdDr-HHDfY:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=GJVVBMhUl6U:4jdDr-HHDfY:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=GJVVBMhUl6U:4jdDr-HHDfY:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=GJVVBMhUl6U:4jdDr-HHDfY:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=GJVVBMhUl6U:4jdDr-HHDfY:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=GJVVBMhUl6U:4jdDr-HHDfY:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=GJVVBMhUl6U:4jdDr-HHDfY:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=GJVVBMhUl6U:4jdDr-HHDfY:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/GJVVBMhUl6U" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2012-01-23T17:51:17.377+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/-fhUjhdO2VDQ/Tx1MNx1MlTI/AAAAAAAAD18/9Fo_f24NczU/s72-c/wlEmoticon-smile%25255B2%25255D.png?imgmax=800" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2012/01/revamping-sug-2nd-meeting.html</feedburner:origLink></item><item><title>Roles and Responsibilty of SQL Server DBA</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/Q7GfHU5ld2c/roles-and-responsibilty-of-sql-server.html</link><category>sql dba</category><category>sql server administration</category><category>roles and responsibility</category><category>dba</category><author>noreply@blogger.com (Hemantgiri S. Goswami)</author><pubDate>Sun, 01 Jan 2012 18:30:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-25421176786380070</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;What is a role of a DBA in an organization?&lt;/li&gt;
&lt;li&gt;What are the daily activities of a DBA?&lt;/li&gt;
&lt;li&gt;What shall I check on regular basis? &lt;/li&gt;
&lt;li&gt;What all processes shall I automate ?&lt;/li&gt;
&lt;li&gt;What are the precautions, I have to take additionally?&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
These are the common question being asked in-common on may forums, here is what my listing is&lt;br /&gt;
&lt;br /&gt;
•&amp;nbsp;Design and implement Disaster Recovery&lt;br /&gt;
&lt;br /&gt;
• Design, development, upgrade and Migration of Database Server.&lt;br /&gt;
&lt;br /&gt;
• Providing&amp;nbsp;support and handling most critical situations in vast variety of database systems. &lt;br /&gt;
&lt;br /&gt;
• Database Optimization / Query Performance Tuning.&lt;br /&gt;
&lt;br /&gt;
• Design and implementation Automated Database &amp;amp; Application fail over server setup.&lt;br /&gt;
&lt;br /&gt;
• Capacity Planning, Change Management and Admin. Documentation.&lt;br /&gt;
&lt;br /&gt;
• Review of existing design and specifications of the system.&lt;br /&gt;
&lt;br /&gt;
• Design and documentation of operational specifications of the system.&lt;br /&gt;
&lt;br /&gt;
• Monitoring of the development process, in order to confirm optimum performance of the system.&lt;br /&gt;
&lt;br /&gt;
• Preparation of standards and follow up rules for the back – end system, to ensure a fully secured and a robust system.&lt;br /&gt;
&lt;br /&gt;
• Design and implementation of the logical &amp;amp; physical structure of the database.&lt;br /&gt;
&lt;br /&gt;
• Monitoring of performance of database servers and providing tuning measures.&lt;br /&gt;
&lt;br /&gt;
• Performing database / application wide query tuning operations.&lt;br /&gt;
&lt;br /&gt;
Try automate every process that needs to be performed on daily basis and/or requires manual intervention.&lt;br /&gt;
&lt;br /&gt;
--&amp;nbsp; Hemantgiri S. Goswami (http://www.sql-server-citation.com)&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Q7GfHU5ld2c:nTkUaBRX_hw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Q7GfHU5ld2c:nTkUaBRX_hw:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Q7GfHU5ld2c:nTkUaBRX_hw:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Q7GfHU5ld2c:nTkUaBRX_hw:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Q7GfHU5ld2c:nTkUaBRX_hw:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=Q7GfHU5ld2c:nTkUaBRX_hw:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Q7GfHU5ld2c:nTkUaBRX_hw:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Q7GfHU5ld2c:nTkUaBRX_hw:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=Q7GfHU5ld2c:nTkUaBRX_hw:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Q7GfHU5ld2c:nTkUaBRX_hw:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Q7GfHU5ld2c:nTkUaBRX_hw:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=Q7GfHU5ld2c:nTkUaBRX_hw:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Q7GfHU5ld2c:nTkUaBRX_hw:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=Q7GfHU5ld2c:nTkUaBRX_hw:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/Q7GfHU5ld2c" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2012-01-02T08:00:00.525+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2012/01/roles-and-responsibilty-of-sql-server.html</feedburner:origLink></item><item><title></title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/B6KKDU_T04k/wishing-you-all-very-happy-and.html</link><category>2012</category><category>New year</category><category>general</category><author>noreply@blogger.com (Hemantgiri S. Goswami)</author><pubDate>Sat, 31 Dec 2011 19:19:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-1405810361493248359</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Wishing you all a very Happy and Prosperous new year, may success comes to your doorstep 



&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-R5AqWrKh1-Y/Tv_QIVvNc9I/AAAAAAAAD1s/vh-8vx54TDM/s1600/new-year-image1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="226" src="http://4.bp.blogspot.com/-R5AqWrKh1-Y/Tv_QIVvNc9I/AAAAAAAAD1s/vh-8vx54TDM/s320/new-year-image1.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
Image source : &lt;a href="http://topcnnnews.com/wp-content/uploads/2011/12/new-year-image1.jpg" target="_blank"&gt;Top CNN News&lt;/a&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=B6KKDU_T04k:NmAruNGRjLI:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=B6KKDU_T04k:NmAruNGRjLI:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=B6KKDU_T04k:NmAruNGRjLI:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/B6KKDU_T04k" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2012-01-01T08:49:14.269+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-R5AqWrKh1-Y/Tv_QIVvNc9I/AAAAAAAAD1s/vh-8vx54TDM/s72-c/new-year-image1.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2012/01/wishing-you-all-very-happy-and.html</feedburner:origLink></item><item><title>What’s new in SQL Server RC0 setup</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/cQmZdlYYTRQ/whats-new-in-sql-server-rc0-setup.html</link><category>sql server cluster</category><category>sql setup</category><category>sql server 2012</category><category>sql server ha</category><category>sql server administration</category><author>noreply@blogger.com (Hemantgiri S. Goswami)</author><pubDate>Wed, 28 Dec 2011 20:18:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-1395836153263963880</guid><description>&lt;ol&gt;   &lt;li&gt;     &lt;div align="justify"&gt;&lt;font size="3" face="Trebuchet MS"&gt;Datacentre Edition is no longer available as a MS SQL Server 2012 RC0 candidate, &lt;a href="http://msdn.microsoft.com/en-us/library/ms144275(v=sql.110).aspx"&gt;Read More&lt;/a&gt; &lt;/font&gt;&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;&lt;font size="3" face="Trebuchet MS"&gt;MS SQL Server 2012 RC0 includes new edition – SQL Server Business Intelligence,&amp;#160; &lt;a href="http://msdn.microsoft.com/en-us/library/ms144275(v=sql.110).aspx"&gt;Read More&lt;/a&gt;&lt;/font&gt;&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div&gt;&lt;font size="3" face="Trebuchet MS"&gt;Service Pack 1 is the minimum requirement for Windows 7 and Windows Server 2008 R2 operating systems, &lt;a href="http://msdn.microsoft.com/en-us/library/ms143506(v=sql.110).aspx"&gt;Read more&lt;/a&gt;&lt;/font&gt;&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;&lt;font size="3" face="Trebuchet MS"&gt;Data Quality Services can be installed using SQL Server 2012 RC0 Setup, &lt;a href="http://www.microsoft.com/sqlserver/en/us/future-editions/SQL-Server-2012-breakthrough-insight.aspx"&gt;Read more&lt;/a&gt;&lt;/font&gt;&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;&lt;font size="3" face="Trebuchet MS"&gt;Product update is the new feature available with MS SQL Server 2012 RC0, this will integrate latest update with main product including MS Update, WSUS, local folder or UNC. This feature is an extension to &lt;a href="http://msdn.microsoft.com/en-us/library/hh231670(v=sql.110).aspx#bk_slipstream"&gt;Slipstream Functionality&lt;/a&gt; which was available in SQL Server 2008 PCU1. We can use command prompt or configuration file to override default values to find updates by specifying values for &lt;em&gt;UpdateSource&lt;/em&gt; parameter, &lt;a href="http://msdn.microsoft.com/en-us/library/hh231670(v=sql.110).aspx"&gt;Read more&lt;/a&gt;&lt;/font&gt;&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;&lt;font size="3" face="Trebuchet MS"&gt;We can now install MS SQL Server on Windows Server 2008 R2 Core SP1, not all features are supported though, &lt;a href="http://msdn.microsoft.com/en-us/library/hh231669(v=sql.110).aspx"&gt;Read more&lt;/a&gt;&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="3" face="Trebuchet MS"&gt;SQL Server Data Tools (formerly, BIDS) is now part of setup, with this we can carry out all database design work, and can build solutions for SSAS, SSRS and SSIS. &lt;a href="http://msdn.microsoft.com/en-us/data/gg427686"&gt;Read more&lt;/a&gt;&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="3" face="Trebuchet MS"&gt;Now, Support for SQL Server multi-subnet clustering included, &lt;a href="http://msdn.microsoft.com/en-us/library/ff878716(v=sql.110).aspx"&gt;Read more&lt;/a&gt;&amp;#160;&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="3" face="Trebuchet MS"&gt;Databases (systems and users) can now be on UNC path, we may need to make sure that proper NTFS and File Share permissions are assigned, &lt;a href="http://msdn.microsoft.com/en-us/library/cc281941(v=sql.110).aspx"&gt;Read more&lt;/a&gt;&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="3" face="Trebuchet MS"&gt;Local disk can be used for Tempdb in cluster, &lt;a href="http://msdn.microsoft.com/en-us/library/cc281941(v=sql.110).aspx"&gt;Read more&lt;/a&gt;&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="3" face="Trebuchet MS"&gt;Built-in Administrator and Local system account will not be part of sysadmin role&lt;/font&gt; &lt;/li&gt;    &lt;li&gt;&lt;font size="3" face="Trebuchet MS"&gt;Itanium editions are no longer supported&lt;/font&gt; &lt;/li&gt; &lt;/ol&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=cQmZdlYYTRQ:vTSI7sH5poM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=cQmZdlYYTRQ:vTSI7sH5poM:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=cQmZdlYYTRQ:vTSI7sH5poM:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=cQmZdlYYTRQ:vTSI7sH5poM:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=cQmZdlYYTRQ:vTSI7sH5poM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=cQmZdlYYTRQ:vTSI7sH5poM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=cQmZdlYYTRQ:vTSI7sH5poM:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=cQmZdlYYTRQ:vTSI7sH5poM:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=cQmZdlYYTRQ:vTSI7sH5poM:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=cQmZdlYYTRQ:vTSI7sH5poM:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=cQmZdlYYTRQ:vTSI7sH5poM:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=cQmZdlYYTRQ:vTSI7sH5poM:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=cQmZdlYYTRQ:vTSI7sH5poM:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=cQmZdlYYTRQ:vTSI7sH5poM:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/cQmZdlYYTRQ" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-12-29T09:48:37.656+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2011/12/whats-new-in-sql-server-rc0-setup.html</feedburner:origLink></item><item><title>Revamping Surat User Group</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/lOY8Q8eha9o/revamping-surat-user-group.html</link><category>surat</category><category>Surat SQL Server User Group</category><category>surat user group</category><category>Surat Technical community</category><category>surat it pro community</category><author>noreply@blogger.com (Hemantgiri S. Goswami)</author><pubDate>Mon, 26 Dec 2011 22:31:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-6322274666889385967</guid><description>&lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;Dear Friends, we had a user group meeting last week – I and Vinay Pugalia was&amp;#160; here. We have discussed many things to revamp and re-launch Surat User Group. Here are the minutes of meeting:&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;1) Regular Meetings -&amp;gt; Monthly, Proposed schedule :Saturday evening, 1900 to 2000&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;2) Regular Events -&amp;gt; 1 every 2 months, 1 workshop every quarter&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;3) Decide and form SUG Website, with Blog,Forums section, Facebook page and twitter handle&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;4) Press Notes after every event&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;5) Help from CSI Surat -&amp;gt; Have to meet, discuss and encourage Local IT professional to join and PARTICIPATE&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;6) Seminars/ Workshop :-free, TBS on weekends (Sat-Sun) to have discussion with Professional / Students &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;7) Different topics and technology, every time has 1 continue and 1 different topic &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;8) Initially we'll take session and then, we'll encourage others to take sessions and like that&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;9) Form Core Team &amp;amp; Backup Team&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;10) Role definition and Role assignment &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;11) Encourage new speaker to start with very basic topics to build their confidence &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;12) More Online activities etc.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3" face="Trebuchet MS"&gt;13) Ask speakers to provide technology they can confidently speak&lt;/font&gt; &lt;/p&gt;  &lt;p&gt;&lt;font size="3"&gt;-- Hemantgiri S. Goswami (&lt;/font&gt;&lt;a href="http://www.sql-server-citation.com"&gt;&lt;font size="3"&gt;http://www.sql-server-citation.com&lt;/font&gt;&lt;/a&gt;&lt;font size="3"&gt; )&lt;/font&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lOY8Q8eha9o:1DWIZ3Eaecc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lOY8Q8eha9o:1DWIZ3Eaecc:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lOY8Q8eha9o:1DWIZ3Eaecc:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lOY8Q8eha9o:1DWIZ3Eaecc:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lOY8Q8eha9o:1DWIZ3Eaecc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=lOY8Q8eha9o:1DWIZ3Eaecc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lOY8Q8eha9o:1DWIZ3Eaecc:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lOY8Q8eha9o:1DWIZ3Eaecc:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=lOY8Q8eha9o:1DWIZ3Eaecc:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lOY8Q8eha9o:1DWIZ3Eaecc:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lOY8Q8eha9o:1DWIZ3Eaecc:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=lOY8Q8eha9o:1DWIZ3Eaecc:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lOY8Q8eha9o:1DWIZ3Eaecc:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=lOY8Q8eha9o:1DWIZ3Eaecc:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/lOY8Q8eha9o" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-12-27T12:01:14.455+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2011/12/revamping-surat-user-group.html</feedburner:origLink></item><item><title>Maintenance Plan mystery</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/aCvsjyVkvQg/maintenance-plan-mystery.html</link><category>sql server 2000</category><category>sql server 2005</category><category>sql server administration</category><author>noreply@blogger.com (Hemantgiri S. Goswami)</author><pubDate>Wed, 14 Dec 2011 04:22:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-1750315195655166159</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span style="font-family: Trebuchet MS; font-size: x-small;"&gt;Last week I had interesting (or I can say weird ? ) case of Maintenance Plan. One of the server that we monitor has reported job failure – this was a part of maintenance plan. Looking at the job history and log file I came to know that this job was failing because of some database which wasn’t available – this database was dropped few days back, and, the maintenance plan has it’s reference stored somewhere. I have search around system tables etc. but nothing unusual or nothing helpful was available that indicates the source of this database. &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: x-small;"&gt;Finally, I have edited the maintenance plan which resolved this case, here is what I did:&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;Alter the maintenance plan "some maintenance plan" &lt;/span&gt;&lt;/li&gt;
&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;
&lt;/span&gt;
&lt;li&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;note down the databases name&lt;/span&gt;&lt;/li&gt;
&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;
&lt;/span&gt;
&lt;li&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;altered it and selected all the system databases&lt;/span&gt;&lt;/li&gt;
&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;
&lt;/span&gt;
&lt;li&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;saved the maintenance plan changes and exit&lt;/span&gt;&lt;/li&gt;
&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;
&lt;/span&gt;
&lt;li&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;re-open the maintenance plan&lt;/span&gt;&lt;/li&gt;
&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;
&lt;/span&gt;
&lt;li&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;re-selected those databases  (from step 2)&lt;/span&gt;&lt;/li&gt;
&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;
&lt;/span&gt;
&lt;li&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;saved the maintenance plan changes and exit&lt;/span&gt;&lt;/li&gt;
&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;
&lt;/span&gt;
&lt;li&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;re-invoked the job&lt;/span&gt;&lt;/li&gt;
&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;
&lt;/span&gt;
&lt;li&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;and, the job completed successfully&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style="font-family: Trebuchet MS; font-size: x-small;"&gt;And, the mystery persist, can you guys suggest me if I miss something to refer/research ?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Trebuchet MS; font-size: x-small;"&gt;-- Hemantgiri S. Goswami (&lt;a href="http://www.sql-server-citation.com/"&gt;http://www.sql-server-citation.com&lt;/a&gt; )&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;/ol&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=aCvsjyVkvQg:6PsWO8PEQ_M:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=aCvsjyVkvQg:6PsWO8PEQ_M:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=aCvsjyVkvQg:6PsWO8PEQ_M:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=aCvsjyVkvQg:6PsWO8PEQ_M:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=aCvsjyVkvQg:6PsWO8PEQ_M:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=aCvsjyVkvQg:6PsWO8PEQ_M:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=aCvsjyVkvQg:6PsWO8PEQ_M:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=aCvsjyVkvQg:6PsWO8PEQ_M:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=aCvsjyVkvQg:6PsWO8PEQ_M:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=aCvsjyVkvQg:6PsWO8PEQ_M:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=aCvsjyVkvQg:6PsWO8PEQ_M:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=aCvsjyVkvQg:6PsWO8PEQ_M:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=aCvsjyVkvQg:6PsWO8PEQ_M:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=aCvsjyVkvQg:6PsWO8PEQ_M:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/aCvsjyVkvQg" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-12-14T18:01:35.427+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2011/12/maintenance-plan-mystery.html</feedburner:origLink></item><item><title>Using NOLOCK hint</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/MiQGWYORnC4/using-nolock-hint.html</link><category>sql 2008 r2</category><category>sql 2008</category><category>performance tuning</category><category>sql server administration</category><category>sql 2005</category><author>noreply@blogger.com (Hemantgiri S. Goswami)</author><pubDate>Thu, 01 Dec 2011 23:28:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-7641854650083156281</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Use &lt;b&gt;&lt;i&gt;NOLOCK&lt;/i&gt;&lt;/b&gt; hint to avoid block - this is what I have often heard/see in many forums I participate, during local user group events and meeting. I have always advised that its not that good idea to use hints, as it may cause data corruption and blocking. And, anyways, there are many things that you can do to avoid blocking, like:&lt;/span&gt;&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;&lt;span style="background-color: transparent; font-family: 'Trebuchet MS', sans-serif;"&gt;use sp for everything (almost) &amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;try to avoid using cursor&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;transaction shouldn't be too big etc&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;and, use &lt;b&gt;&lt;i&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms187373%28v=sql.90%29.aspx" target="_blank"&gt;READPAST hint&lt;/a&gt;&lt;/i&gt;&lt;/b&gt; , I will still say, use this only when you don't have choice&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;But these all comes from the experience from the field and haven't anything concrete to quote as reference point until last night, I was &lt;a href="http://www.google.co.in/search?q=data+corruption+tsql+hint&amp;amp;ie=utf-8&amp;amp;oe=utf-8&amp;amp;aq=t&amp;amp;rls=org.mozilla:en-US:official&amp;amp;client=firefox-a" target="_blank"&gt;googling&lt;/a&gt; something and this &lt;a href="http://blogs.msdn.com/b/davidlean/archive/2009/04/06/sql-server-nolock-hint-other-poor-ideas.aspx" target="_blank"&gt;blog article&lt;/a&gt; from &amp;nbsp;Dave, on MSDN Blog showed up. &amp;nbsp;Now, I can quote&amp;nbsp;&lt;/span&gt;&lt;span style="background-color: transparent;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;a href="http://blogs.msdn.com/b/davidlean/archive/2009/04/06/sql-server-nolock-hint-other-poor-ideas.aspx" target="_blank" title="SQL Server NOLOCK Hint and Other poor ideas"&gt;SQL Server NOLOCK Hint and Other poor ideas&lt;/a&gt; as reference to my peers,and friends at local user group, and I am referencing it here for you to read and make a note. &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;I hope this helps.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent;"&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;-- Hemantgiri S. Goswami (http://www.sql-server-citation.com/)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=MiQGWYORnC4:TnkBrqpCm1c:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=MiQGWYORnC4:TnkBrqpCm1c:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=MiQGWYORnC4:TnkBrqpCm1c:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=MiQGWYORnC4:TnkBrqpCm1c:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=MiQGWYORnC4:TnkBrqpCm1c:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=MiQGWYORnC4:TnkBrqpCm1c:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=MiQGWYORnC4:TnkBrqpCm1c:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=MiQGWYORnC4:TnkBrqpCm1c:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=MiQGWYORnC4:TnkBrqpCm1c:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=MiQGWYORnC4:TnkBrqpCm1c:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=MiQGWYORnC4:TnkBrqpCm1c:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=MiQGWYORnC4:TnkBrqpCm1c:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=MiQGWYORnC4:TnkBrqpCm1c:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=MiQGWYORnC4:TnkBrqpCm1c:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/MiQGWYORnC4" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-12-02T13:32:15.375+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2011/12/using-nolock-hint.html</feedburner:origLink></item><item><title>Download SQL Server 2008 SP3 CU2</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/X1B44q2avSI/download-sql-server-2008-sp3-cu2.html</link><category>Sql server 2008</category><category>sp3 cu2</category><category>sql server administration</category><category>service pack release</category><author>noreply@blogger.com (Hemantgiri S. Goswami)</author><pubDate>Tue, 22 Nov 2011 23:56:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-3399519165586001012</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
MS has recently released SQL Server 2008 Service Pack 3 Cumulative Update 2 Released‏ which has fixes reported after SQL Server 2008 SP 3, this build version is&amp;nbsp; 10.00.5768.00.&lt;br /&gt;
Below are the bugs that have been fixed in this CU:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;FIX: A backup operation on a SQL Server 2008 or SQL Server 2008 R2 database fails if you enable change tracking on this database&lt;/li&gt;
&lt;li&gt;FIX: CLR stored procedure returns NULL after it is recompiled in SQL Server 2008 R2&lt;/li&gt;
&lt;li&gt;FIX: Access violation when you insert a record into a new empty partition in SQL Server 2008&lt;/li&gt;
&lt;/ol&gt;
There are few more things we have to keep in consideration while applying this CU:&lt;br /&gt;
&lt;strong&gt;Pre-install:&lt;/strong&gt;&lt;br /&gt;
1) You should be running on SQL Server SP3, if you haven't installed SP3 for SQL Server here is the link from where you can obtain SP3, Link =&amp;gt; &lt;a href="http://support.microsoft.com/kb/968382" target="_blank"&gt;http://support.microsoft.com/kb/968382&lt;/a&gt;&lt;br /&gt;
&lt;strong&gt;Post-install:&lt;/strong&gt;&lt;br /&gt;
* It is advisable to reboot the system once CU is applied&lt;br /&gt;
Please make sure you test the CU in Dev/QA/UAT environment before you apply it in the PROD environment.&lt;br /&gt;
Here is the link from where you can download the SQL Server 2008 SP3 CU2, link =&amp;gt; &lt;a href="http://support.microsoft.com/kb/2633143/en-us" target="_blank"&gt;http://support.microsoft.com/kb/2633143/en-us&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
-- Hemantgiri S. Goswami (&lt;a href="http://www.sql-server-citation.com/"&gt;http://www.sql-server-citation.com&lt;/a&gt; )&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=X1B44q2avSI:buJs7FYXyWQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=X1B44q2avSI:buJs7FYXyWQ:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=X1B44q2avSI:buJs7FYXyWQ:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=X1B44q2avSI:buJs7FYXyWQ:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=X1B44q2avSI:buJs7FYXyWQ:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=X1B44q2avSI:buJs7FYXyWQ:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=X1B44q2avSI:buJs7FYXyWQ:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=X1B44q2avSI:buJs7FYXyWQ:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=X1B44q2avSI:buJs7FYXyWQ:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=X1B44q2avSI:buJs7FYXyWQ:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=X1B44q2avSI:buJs7FYXyWQ:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=X1B44q2avSI:buJs7FYXyWQ:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=X1B44q2avSI:buJs7FYXyWQ:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=X1B44q2avSI:buJs7FYXyWQ:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/X1B44q2avSI" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-11-23T13:28:32.001+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2011/11/download-sql-server-2008-sp3-cu2.html</feedburner:origLink></item><item><title>Download SQL Server 2012 Developer Training Kit</title><link>http://feedproxy.google.com/~r/SqlServerCitation/~3/SbC6eEgUNA8/download-sql-server-2012-developer.html</link><category>training kit</category><category>download</category><category>sql 2012 r2</category><category>sql server 2012</category><category>sql 2012</category><category>database developement</category><author>noreply@blogger.com (Hemantgiri S. Goswami)</author><pubDate>Mon, 07 Nov 2011 23:13:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8332641.post-3505671675162840464</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Microsoft has released SQL Server 2010 Developer Training Kit which includes :&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;&lt;span style="background-color: transparent; font-family: 'Trebuchet MS', sans-serif;"&gt;Labs&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="background-color: transparent; font-family: 'Trebuchet MS', sans-serif;"&gt;Demos&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="background-color: transparent; font-family: 'Trebuchet MS', sans-serif;"&gt;and, Presentations&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;This kit will greatly help you learning Developer and BI Solutions.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;One will require to have Windows 7 or Windows Server 2008 R2 to install this kit. Once you have download the kit, launch the installer and it will ask you which lab, demos and presentations you want to include and install them based on your choice.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Sounds interesting? Grab it from the &lt;a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=27721" target="_blank"&gt;link&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;-- Hemantgiri S. Goswami (http://www.sql-server-citation.com )&lt;/span&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=SbC6eEgUNA8:FXP51f6QNfI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=SbC6eEgUNA8:FXP51f6QNfI:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=SbC6eEgUNA8:FXP51f6QNfI:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=SbC6eEgUNA8:FXP51f6QNfI:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=SbC6eEgUNA8:FXP51f6QNfI:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=SbC6eEgUNA8:FXP51f6QNfI:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=SbC6eEgUNA8:FXP51f6QNfI:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=SbC6eEgUNA8:FXP51f6QNfI:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=SbC6eEgUNA8:FXP51f6QNfI:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=SbC6eEgUNA8:FXP51f6QNfI:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=SbC6eEgUNA8:FXP51f6QNfI:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?i=SbC6eEgUNA8:FXP51f6QNfI:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=SbC6eEgUNA8:FXP51f6QNfI:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlServerCitation?a=SbC6eEgUNA8:FXP51f6QNfI:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlServerCitation?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlServerCitation/~4/SbC6eEgUNA8" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-11-08T12:56:20.580+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /><feedburner:origLink>http://www.sql-server-citation.com/2011/11/download-sql-server-2012-developer.html</feedburner:origLink></item></channel></rss>
