<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1354681663235645540</id><updated>2012-01-26T13:41:38.049-08:00</updated><category term='CubeInfo'/><category term='Hash Joins'/><category term='Relational Database'/><category term='active directory'/><category term='Relationships'/><category term='MDAC'/><category term='Statistics'/><category term='SQL 2008 Partitions'/><category term='Page Level Compression'/><category term='SSIS Scheduled Date Time'/><category term='MultiDimensional'/><category term='Predictive Analytics'/><category term='SQL 2005'/><category term='Users'/><category term='datamart'/><category term='SQL SERVER 2005 Alert system'/><category term='SSIS Jobs copying'/><category term='Business Intelligence'/><category term='Design Changes'/><category term='Data quality and datawarehouse'/><category term='data modeling'/><category term='SQL SERVER 2005 Jobs'/><category term='SPSS'/><category term='Windows Global group'/><category term='SAS'/><category term='Derived Tables vs Views vs Inline UDFs vs CTE'/><category term='OLTP'/><category term='SQL 2005 DMV and DMF'/><category term='Permissions to view Stored Procedures'/><category term='Business Objects'/><category term='SNAC'/><category term='SQL Server Consolidation'/><category term='SQL SERVER 2005 Installation'/><category term='Visual Stuido'/><category term='OU Details'/><category term='Merge Joins'/><category term='SSIS'/><category term='Maintainance Plan'/><category term='2005 Good Website'/><category term='Repeating Column Header for Tablix (Table)'/><category term='Domain Global Groups; Netlogon service'/><category term='dimensions'/><category term='SQL SERVER Parition'/><category term='stored procedure execute permissions'/><category term='OLAP'/><category term='TFS'/><category term='Nested Loop Joins'/><category term='Data Mining'/><category term='Multiple SSIS Instances'/><category term='execute permissions'/><category term='SQL SEVER 2005 Permissions'/><category term='Exception from HRESULT: 0xC0010014 (Microsoft.SqlServer.DTSRuntimeWrap)'/><category term='Linked server'/><category term='Partition Schema'/><category term='Heap Table'/><category term='Partition Function'/><category term='SQL AGENT'/><category term='SQL SERVER 2005 Partition'/><category term='Transaction Log'/><category term='Data Compression'/><category term='Binding Issues'/><category term='Merge Partition'/><category term='Partition Number'/><category term='SQLSERVER 2005 DMV / DMF'/><category term='Data Mining Books'/><category term='SSAS'/><category term='SSRS'/><category term='Dimensional model'/><category term='SQL SERVER 2005 Blocking Issues'/><category term='bcp in out'/><category term='Dimensional table'/><category term='Database collation'/><category term='BI important sites'/><category term='Locks'/><category term='Queries'/><category term='degenerate dimension'/><category term='SPLIT Partition'/><category term='MetaData'/><category term='Cubes'/><category term='Fact table'/><title type='text'>Peddireddy's</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>61</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-6443920218833926617</id><published>2011-08-11T11:42:00.000-07:00</published><updated>2011-08-11T11:43:03.929-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Stuido'/><category scheme='http://www.blogger.com/atom/ns#' term='Binding Issues'/><category scheme='http://www.blogger.com/atom/ns#' term='TFS'/><title type='text'>TFS 2008: Message that solution not currently configured for integrated source control in Visual Studio</title><content type='html'>http://support.microsoft.com/kb/969271&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Try these steps to fix the problem: &lt;br /&gt;&lt;br /&gt;1. Open Visual Studio 2008. &lt;br /&gt;2. Open the local copy of the solution file using File &gt; Open Project/Solution. (Note that no source control glyphs are visible.)&lt;br /&gt;3. Choose the File -&gt; Source Control menu in Visual Studio, and the "Go online" menu item. The source control glyphs now appeared.  &lt;br /&gt;4. Choose File&gt; Source Control&gt; Change Source Control and make sure the binds are correct.  Unbind and rebind if they are not pointing to the TFS server. &lt;br /&gt;5. Check out a file, modified it, and checked it back in to source control. &lt;br /&gt;6. Exit Visual Studio and restart. (This time Visual Studio connect to Team Foundation Server automatically.)&lt;br /&gt;7. Open the local copy of the solution file.   The solution should be under source control now&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-6443920218833926617?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/6443920218833926617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=6443920218833926617&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/6443920218833926617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/6443920218833926617'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2011/08/tfs-2008-message-that-solution-not.html' title='TFS 2008: Message that solution not currently configured for integrated source control in Visual Studio'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-3184985982060765788</id><published>2011-06-01T20:30:00.001-07:00</published><updated>2011-06-01T20:30:53.917-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Business Objects'/><title type='text'>Business Objects</title><content type='html'>http://gerardnico.com/wiki/dat/bobj/universes#articles_related&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-3184985982060765788?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/3184985982060765788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=3184985982060765788&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/3184985982060765788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/3184985982060765788'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2011/06/business-objects.html' title='Business Objects'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-721232665754688150</id><published>2011-04-29T13:51:00.000-07:00</published><updated>2011-04-29T13:52:58.618-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linked server'/><category scheme='http://www.blogger.com/atom/ns#' term='SSAS'/><title type='text'>Linked Server to SSAS</title><content type='html'>EXEC sp_addlinkedserver&lt;br /&gt;@server='CALXXXX', &lt;br /&gt;@srvproduct='CALXXXX' ,&lt;br /&gt;@provider='MSOLAP', &lt;br /&gt;@datasrc='calCALXXXX', &lt;br /&gt;@catalog='JournalEntryPosting' &lt;br /&gt;&lt;br /&gt;/* Add login credentials for linked server */&lt;br /&gt;EXEC sp_addlinkedsrvlogin&lt;br /&gt;@rmtsrvname= 'CALXXXX',&lt;br /&gt;@useself= 'False',&lt;br /&gt;@locallogin= NULL,&lt;br /&gt;@rmtuser= 'corp\nbkXXX',&lt;br /&gt;@rmtpassword= 'rajXXX'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-721232665754688150?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/721232665754688150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=721232665754688150&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/721232665754688150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/721232665754688150'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2011/04/linked-server-to-ssas.html' title='Linked Server to SSAS'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-443612971314511199</id><published>2011-04-28T11:07:00.000-07:00</published><updated>2011-04-28T11:09:22.977-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CubeInfo'/><category scheme='http://www.blogger.com/atom/ns#' term='MetaData'/><category scheme='http://www.blogger.com/atom/ns#' term='SSAS'/><title type='text'>SSAS MetaData Info</title><content type='html'>MDSCHEMA_CUBES                         Lists the cubes in an SSAS database&lt;br /&gt;MDSCHEMA_MEASUREGROUPS                 Lists measure groups&lt;br /&gt;MDSCHEMA_DIMENSIONS                 Lists dimensions&lt;br /&gt;MDSCHEMA_LEVELS                         Dimension attributes&lt;br /&gt;MDSCHEMA_MEASUREGROUP_DIMENSIONS Enumerates dimensions of measure groups&lt;br /&gt;MDSCHEMA_MEASURES                 Lists measures&lt;br /&gt;&lt;br /&gt;http://www.purplefrogsystems.com/blog/2010/09/olap-cube-documentation-in-ssrs-part-1/&lt;br /&gt;&lt;br /&gt;http://tssasm.codeplex.com/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-443612971314511199?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/443612971314511199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=443612971314511199&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/443612971314511199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/443612971314511199'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2011/04/ssas-metadata-info.html' title='SSAS MetaData Info'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-8847842207831969388</id><published>2011-02-06T16:36:00.003-08:00</published><updated>2011-02-06T16:36:33.397-08:00</updated><title type='text'></title><content type='html'>1. Partition -- instead of select into ... use alter table switich partition &lt;br /&gt;   to move partition data.  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   alter table PartitionedTable  switch partition partitionnr&lt;br /&gt;     to dumpPartitionedTable partition partitionnr   &lt;br /&gt;      &lt;br /&gt;&lt;br /&gt;2.  Data Compression --  Page level , Row level&lt;br /&gt;&lt;br /&gt;3.  DMV's&lt;br /&gt;&lt;br /&gt;4.  Dimensional modeling versus ER modeling -- Raphl Kimball&lt;br /&gt;&lt;br /&gt;5.  http://peddireddy999.blogspot.com/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-8847842207831969388?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/8847842207831969388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=8847842207831969388&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/8847842207831969388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/8847842207831969388'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2011/02/1_06.html' title=''/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-183825627124772135</id><published>2011-02-06T16:36:00.001-08:00</published><updated>2011-02-06T16:36:33.093-08:00</updated><title type='text'></title><content type='html'>1. Partition -- instead of select into ... use alter table switich partition &lt;br /&gt;   to move partition data.  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   alter table PartitionedTable  switch partition partitionnr&lt;br /&gt;     to dumpPartitionedTable partition partitionnr   &lt;br /&gt;      &lt;br /&gt;&lt;br /&gt;2.  Data Compression --  Page level , Row level&lt;br /&gt;&lt;br /&gt;3.  DMV's&lt;br /&gt;&lt;br /&gt;4.  Dimensional modeling versus ER modeling -- Raphl Kimball&lt;br /&gt;&lt;br /&gt;5.  http://peddireddy999.blogspot.com/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-183825627124772135?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/183825627124772135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=183825627124772135&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/183825627124772135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/183825627124772135'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2011/02/1.html' title=''/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-1304844810564819468</id><published>2011-01-14T10:34:00.000-08:00</published><updated>2012-01-26T13:41:38.073-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Data Compression'/><category scheme='http://www.blogger.com/atom/ns#' term='Heap Table'/><category scheme='http://www.blogger.com/atom/ns#' term='Page Level Compression'/><title type='text'>Data Page Level Compression on a Heap Table with Statistics</title><content type='html'>SELECT * FROM sys.dm_db_index_physical_stats(DB_ID(N'DBArchive'),object_id('FactMTDPrior_Dec2010'), 0, NULL , 'DETAILED');&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;Compression Whole Table&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;USE DBArchive&lt;br /&gt;go&lt;br /&gt;ALTER TABLE FactMTDPrior_Dec2010 &lt;br /&gt;REBUILD WITH (DATA_COMPRESSION = PAGE);&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&lt;strong&gt;Compressing Specific Partition&lt;/strong&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;ALTER TABLE PartitionTable1 &lt;br /&gt;REBUILD PARTITION = 1 WITH (DATA_COMPRESSION =  NONE) ;&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;                            &lt;br /&gt;Important values are taken into consideration &lt;br /&gt;&lt;br /&gt;              Pagecount Min Max Avg Compression page count&lt;br /&gt;                       Record Size   &lt;br /&gt;b4e compression        1945864 171 174 171.987   0&lt;br /&gt;after compression 777966 29 133 63.759   777959&lt;br /&gt;after comp &amp; shrinking 800030 29 134 65.574   759933&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Before Compression &lt;br /&gt;dbarchive.mdf              15,586,304      kb&lt;br /&gt;dbarchive.ldf                353,216 kb&lt;br /&gt;                                                            &lt;br /&gt;&lt;br /&gt;After Compression&lt;br /&gt;dbarchive.mdf              21,815,296      kb&lt;br /&gt;dbarchive.ldf                353,216 kb&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After Shrinking the compressed database &lt;br /&gt;dbarchive.mdf              6,402,560        kb        &lt;br /&gt;dbarchive.ldf                    1,024           kb&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1.            (Pagecount before compression / Pagecount afer page compression and shrinking) &lt;br /&gt;               (1945864.00 / 800030.00) = 2.43223879104&lt;br /&gt;Conclusion &gt;&gt;&gt; We can Say PageCount was reduced to 60% after applying Page Level Compression and Shrinking on the Heap Table (which does not have any indexes)&lt;br /&gt;                          &lt;br /&gt;2.         Calculated the mdf file size after pagelevel compression and shrinking.mdf file reduced by 60% on the Heap Table (which does not have any indexes)&lt;br /&gt;select     6402560 * 2.43223879104  = 15572554.79 (almost equal to 15,586,304   kb)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-1304844810564819468?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/1304844810564819468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=1304844810564819468&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/1304844810564819468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/1304844810564819468'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2011/01/data-page-level-compression-on-heap.html' title='Data Page Level Compression on a Heap Table with Statistics'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-8601169563201808754</id><published>2011-01-07T15:45:00.001-08:00</published><updated>2011-01-07T15:46:18.169-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER 2005 Partition'/><category scheme='http://www.blogger.com/atom/ns#' term='Partition Number'/><title type='text'>Partition Number for a specific Partition Table</title><content type='html'>select PartitionNbr = $Partition.PartitionFunction('01/01/2011')&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-8601169563201808754?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/8601169563201808754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=8601169563201808754&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/8601169563201808754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/8601169563201808754'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2011/01/partition-number-for-specific-partition.html' title='Partition Number for a specific Partition Table'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-7088002617077509534</id><published>2011-01-07T15:43:00.000-08:00</published><updated>2011-01-07T15:44:13.216-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER Parition'/><category scheme='http://www.blogger.com/atom/ns#' term='Merge Partition'/><category scheme='http://www.blogger.com/atom/ns#' term='SPLIT Partition'/><title type='text'>Merge / Split Partition Script</title><content type='html'>DECLARE @DateDt  Datetime&lt;br /&gt;, @SQLTXT  VARCHAR(256)&lt;br /&gt;SELECT @DateDt = '2011-12-26T00:00:00.000'&lt;br /&gt;&lt;br /&gt;while @DateDt &lt; '01/01/2012'&lt;br /&gt;begin&lt;br /&gt; ALTER PARTITION SCHEME SCHEME_SnapShotDt NEXT USED FG_SnapShotDt&lt;br /&gt; ALTER PARTITION FUNCTION FUNCTION_SnapShotDt() SPLIT RANGE (@DateDt);&lt;br /&gt; --ALTER PARTITION FUNCTION FUNCTION_SnapShotDt() MERGE RANGE (@DateDt);&lt;br /&gt; SELECT @DateDt = @DateDt + 1&lt;br /&gt; SELECT  @DateDt&lt;br /&gt;end&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-7088002617077509534?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/7088002617077509534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=7088002617077509534&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7088002617077509534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7088002617077509534'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2011/01/merge-split-partition-script.html' title='Merge / Split Partition Script'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-3346526753884521965</id><published>2010-12-01T12:07:00.000-08:00</published><updated>2010-12-01T12:09:14.174-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bcp in out'/><title type='text'>bcp IN and OUT</title><content type='html'>EXEC xp_cmdshell 'bcp "select *  from Reporting..FactMTDPrior with (nolock) where DataDt =  ''2010-10-31'' " queryout "\\server\k$\Test\bcptest2.txt" -T -Sserver -c' &lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;EXEC xp_cmdshell 'bcp Reporting..bcpTest in "\\server\k$\Test\bcptest2.txt" -T -Sserver -c'&lt;br /&gt;go&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-3346526753884521965?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/3346526753884521965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=3346526753884521965&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/3346526753884521965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/3346526753884521965'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2010/12/bcp-in-and-out.html' title='bcp IN and OUT'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-4986910792314228235</id><published>2010-10-12T16:25:00.000-07:00</published><updated>2010-10-12T16:29:27.278-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Partition Function'/><category scheme='http://www.blogger.com/atom/ns#' term='Partition Schema'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2008 Partitions'/><title type='text'>SQL Partitions</title><content type='html'>/**  Table Name + Schema Name + Function Details. **/&lt;br /&gt;SELECT  OBJECT_NAME(SI.object_id) AS PartitionedTable&lt;br /&gt; , DS.name AS PartitionScheme&lt;br /&gt; , PF.name AS PartitionFunction&lt;br /&gt;FROM sys.indexes AS SI&lt;br /&gt;JOIN sys.data_spaces AS DS&lt;br /&gt; ON DS.data_space_id = SI.data_space_id&lt;br /&gt;JOIN sys.partition_schemes AS PS&lt;br /&gt; ON PS.data_space_id = SI.data_space_id&lt;br /&gt;JOIN sys.partition_functions AS PF&lt;br /&gt; ON PF.function_id = PS.function_id &lt;br /&gt;WHERE DS.type = 'PS'&lt;br /&gt;AND OBJECTPROPERTYEX(SI.object_id, 'BaseType') = 'U'&lt;br /&gt;AND SI.index_id IN(0,1);&lt;br /&gt;&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;/** Function Insight Details. **/&lt;br /&gt;SELECT &lt;br /&gt;    PF.function_id&lt;br /&gt;  , PF.name&lt;br /&gt;  , PF.fanout AS NumPartitions&lt;br /&gt;  , CASE WHEN PF.boundary_value_on_right = 0 &lt;br /&gt;      THEN 'LEFT' ELSE 'RIGHT' END AS RangeType&lt;br /&gt;  , PP.parameter_id&lt;br /&gt;  , CASE WHEN PP.system_type_id = PP.user_type_id &lt;br /&gt;  THEN T1.name ELSE T2.name END AS ParameterDataType&lt;br /&gt;  , PRV.boundary_id&lt;br /&gt;  , PRV.value&lt;br /&gt;  , CASE WHEN PF.boundary_value_on_right = 0 &lt;br /&gt;      THEN PRV.boundary_id ELSE PRV.boundary_id + 1 END AS PartitionNumber&lt;br /&gt;FROM sys.partition_functions AS PF&lt;br /&gt;JOIN sys.partition_parameters AS PP &lt;br /&gt; ON PF.function_id = PP.function_id&lt;br /&gt;JOIN sys.types AS T1 &lt;br /&gt; ON T1.system_type_id = PP.system_type_id&lt;br /&gt;JOIN sys.types AS T2 &lt;br /&gt; ON T2.user_type_id= PP.user_type_id&lt;br /&gt;JOIN sys.partition_range_values AS PRV &lt;br /&gt; ON PP.function_id = PRV.function_id &lt;br /&gt;   AND PP.parameter_id = PRV.parameter_id&lt;br /&gt;order by  PF.name,PRV.Value&lt;br /&gt;&lt;br /&gt;go&lt;br /&gt;&lt;br /&gt;/** switch out the parition **/&lt;br /&gt;&lt;br /&gt;alter table &lt;tab1&gt; switch partition @partitionnr to &lt;tab2&gt; partition @partitionnr&lt;br /&gt;&lt;br /&gt;go&lt;br /&gt;&lt;br /&gt;/** Adding a Partition on the existing Table **/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CREATE CLUSTERED INDEX [ix_DataDt_tab1] ON [dbo].[tab1]([DataDt] ASC)ON [SCHEME_Name]([PartitionKey])&lt;br /&gt;CREATE NONCLUSTERED INDEX [ix_LoanId_tab1] ON [dbo].[tab1]([LoanId] ASC) ON [SCHEME_Name]([PartitionKey])&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-4986910792314228235?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/4986910792314228235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=4986910792314228235&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/4986910792314228235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/4986910792314228235'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2010/10/sql-partitions.html' title='SQL Partitions'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-3037485258988821877</id><published>2010-07-06T14:54:00.000-07:00</published><updated>2010-07-06T14:58:52.517-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER 2005 Alert system'/><title type='text'>SQL SERVER 2005 Alert System</title><content type='html'>Declare @i int&lt;br /&gt;select @i = count(*) from dbname.dbo.tab1&lt;br /&gt;if @i  = 0 &lt;br /&gt;begin &lt;br /&gt;  exec msdb.dbo.sp_send_dbmail @recipients = 'vpeddireddy@alert.com',@subject = 'test email'&lt;br /&gt;end&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-3037485258988821877?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/3037485258988821877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=3037485258988821877&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/3037485258988821877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/3037485258988821877'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2010/07/sql-server-2005-alert-system.html' title='SQL SERVER 2005 Alert System'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-906011274306348767</id><published>2010-06-24T14:02:00.000-07:00</published><updated>2010-06-24T16:44:17.941-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005 DMV and DMF'/><title type='text'>Understanding SQL 2005 DMV and DMF</title><content type='html'>&lt;strong&gt;sys.dm_exec_query_stats - &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Returns performance statistics for cached query plans. This contains one row per query plan so if a stored procedure or batch contains two SELECT statements you may get two rows here.&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;sys.dm_exec_sql_text - &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Returns the text of the sql statement based on the SQL handle &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;sys.dm_exec_query_plan - &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Returns the showplan in XML format for a batch or module based on the plan handle.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;dm_db_index_usage_stats – &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;displays how often each index is used, show Read Seeks, Read Scans, Write Seeks and Write Scans &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;dm_db_index_physical_stats – &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;replace DBCC SHOWCONTIG used to check index fragmentation.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;dm_db_index_operational_stats – &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;use to check for index contention and blocking &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;dm_os_wait_stats – &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Used to determine the types of waits (signal or resource that are occurring) &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;dm_os_waiting_tasks – &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Used to help identify blocking &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;dm_tran_locks – &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Used to help indentify blocking &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;dm_os_performance_counters – &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Query Access to SQL Server Performance counters&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-906011274306348767?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/906011274306348767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=906011274306348767&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/906011274306348767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/906011274306348767'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2010/06/understanding-sql-2005-dmv-and-dmf.html' title='Understanding SQL 2005 DMV and DMF'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-584947979453047745</id><published>2010-06-23T14:35:00.000-07:00</published><updated>2010-06-23T14:36:51.781-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQLSERVER 2005 DMV / DMF'/><title type='text'>List of SQL 2005 DMVs</title><content type='html'>-- OS Related&lt;br /&gt;select * from sys.system_objects&lt;br /&gt;where name like 'DM_OS%'&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;-- Exec Related&lt;br /&gt;select * from sys.system_objects&lt;br /&gt;where name like 'DM_exec%'&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;-- Transaction Related&lt;br /&gt;select * from sys.system_objects&lt;br /&gt;where name like 'DM_tran%'&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;-- Replication related&lt;br /&gt;select * from sys.system_objects&lt;br /&gt;where name like 'DM_repl%'&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;-- IO Releated&lt;br /&gt;select * from sys.system_objects&lt;br /&gt;where name like 'DM_IO%'&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;-- clr Releated&lt;br /&gt;select * from sys.system_objects&lt;br /&gt;where name like 'DM_CLR%'&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;-- db index related &lt;br /&gt;&lt;br /&gt;select * from sys.system_objects&lt;br /&gt;where name like 'DM_db%'&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- broker related &lt;br /&gt;&lt;br /&gt;select * from sys.system_objects&lt;br /&gt;where name like 'DM_broker%'&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;--  fts related &lt;br /&gt;select * from sys.system_objects&lt;br /&gt;where name like 'DM_fts%'&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;--  qn related &lt;br /&gt;select * from sys.system_objects&lt;br /&gt;where name like 'DM_qn%'&lt;br /&gt;GO&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-584947979453047745?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/584947979453047745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=584947979453047745&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/584947979453047745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/584947979453047745'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2010/06/list-of-sql-2005-dmvs.html' title='List of SQL 2005 DMVs'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-1444530048826811141</id><published>2010-06-22T10:43:00.000-07:00</published><updated>2010-06-22T10:50:49.781-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Merge Joins'/><category scheme='http://www.blogger.com/atom/ns#' term='Nested Loop Joins'/><category scheme='http://www.blogger.com/atom/ns#' term='Hash Joins'/><title type='text'>SQL 2005</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_NC6OnZzYPHk/TCD2cThx5lI/AAAAAAAAAKI/7MEFiouZ6po/s1600/Joins.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 172px;" src="http://1.bp.blogspot.com/_NC6OnZzYPHk/TCD2cThx5lI/AAAAAAAAAKI/7MEFiouZ6po/s400/Joins.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5485655312275990098" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-1444530048826811141?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/1444530048826811141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=1444530048826811141&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/1444530048826811141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/1444530048826811141'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2010/06/blog-post.html' title='SQL 2005'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_NC6OnZzYPHk/TCD2cThx5lI/AAAAAAAAAKI/7MEFiouZ6po/s72-c/Joins.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-1850230036958998299</id><published>2010-06-02T09:21:00.000-07:00</published><updated>2010-06-02T09:22:25.405-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='active directory'/><category scheme='http://www.blogger.com/atom/ns#' term='OU Details'/><title type='text'>DSQuery</title><content type='html'>Following command gives OU details of a server&lt;br /&gt;c:\winnt\system32&gt;dsquery computer -name xxxxxxxxx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-1850230036958998299?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/1850230036958998299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=1850230036958998299&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/1850230036958998299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/1850230036958998299'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2010/06/dsquery.html' title='DSQuery'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-6150065601605561491</id><published>2010-05-26T17:24:00.000-07:00</published><updated>2010-05-26T17:29:09.987-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Transaction Log'/><title type='text'>SQL 2005 Transaction Logs</title><content type='html'>The transaction log is really a circular file—as long as the log records at the start of the transaction log have been truncated (or cleared). &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_NC6OnZzYPHk/S_2784VB2wI/AAAAAAAAAJ0/XwxpfaPYnRk/s1600/1.bmp"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 97px;" src="http://4.bp.blogspot.com/_NC6OnZzYPHk/S_2784VB2wI/AAAAAAAAAJ0/XwxpfaPYnRk/s400/1.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5475739376539523842" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A log record is no longer needed in the transaction log if all of the following are true: &lt;br /&gt; The transaction of which it is part has committed.&lt;br /&gt; The database pages it changed have all been written to disk by a checkpoint.&lt;br /&gt; The log record is not needed for a backup (full, differential, or log). &lt;br /&gt; The log record is not needed for any feature that reads the log (such as database mirroring or replication). &lt;br /&gt; &lt;br /&gt;A log record that is still needed is called active, and a VLF that has at least one active log record is also called active. Every so often, the transaction log is checked to see whether all the log records in a full VLF are active or not; if they are all inactive, the VLF is marked as truncated (meaning the VLF can be overwritten once the transaction log wraps). When a VLF is truncated, it is not overwritten or zeroed in any way—it is just marked as truncated and can then be reused. &lt;br /&gt;This process is called log truncation—not to be confused with actually shrinking the size of the transaction log. Log truncation never changes the physical size of the transaction log—only which portions of the transaction log are active or not.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_NC6OnZzYPHk/S_28ni3ZBqI/AAAAAAAAAJ8/auFB-KksacQ/s1600/2.bmp"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 96px;" src="http://3.bp.blogspot.com/_NC6OnZzYPHk/S_28ni3ZBqI/AAAAAAAAAJ8/auFB-KksacQ/s400/2.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5475740109512443554" /&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;The check whether log truncation can take place under either of the following circumstances:&lt;br /&gt;&lt;br /&gt;  When a checkpoint occurs in the SIMPLE recovery model or in other recovery models when a full backup has never been taken. (This implies that a database will remain in a pseudo-SIMPLE recovery model after being switched out of SIMPLE until a full database backup occurs.) &lt;br /&gt; When a log backup completes. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There are two common issues that can prevent log truncation:&lt;br /&gt;  A long-running active transaction. The entire transaction log since the first log record from the oldest active transaction can never be truncated until that transaction commits or aborts. &lt;br /&gt; Switching to the FULL recovery model, taking a full backup, and then never taking any log backups. The entire transaction log will remain active, waiting to be backed up by a log backup.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-6150065601605561491?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/6150065601605561491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=6150065601605561491&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/6150065601605561491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/6150065601605561491'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2010/05/sql-2005-transaction-logs.html' title='SQL 2005 Transaction Logs'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_NC6OnZzYPHk/S_2784VB2wI/AAAAAAAAAJ0/XwxpfaPYnRk/s72-c/1.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-265496940552973992</id><published>2010-05-20T16:54:00.000-07:00</published><updated>2010-05-20T16:57:04.644-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Database collation'/><title type='text'>Changing Database COLLATION</title><content type='html'>1. Litespeed uninstall.&lt;br /&gt;&lt;br /&gt;2. set   Password and  collation execute the following.&lt;br /&gt;&lt;br /&gt;  D:\Installs\SQL2005ENTSELX64dvd\Servers&gt;start /wait setup.exe /qb INSTANCENAME=MSSQLSERVER REINSTALL=SQL_Engine REBUILDDATABASE=1 SAPWD=******* SQLCOLLATION=SQL_Latin1_General_CP1_CI_AS&lt;br /&gt;&lt;br /&gt;3. APPLY CU3&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-265496940552973992?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/265496940552973992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=265496940552973992&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/265496940552973992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/265496940552973992'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2010/05/changing-database-collation.html' title='Changing Database COLLATION'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-2776033206939817439</id><published>2010-05-07T18:43:00.000-07:00</published><updated>2010-05-07T18:44:24.829-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='execute permissions'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='stored procedure execute permissions'/><title type='text'>SQL 2005 execute permissions</title><content type='html'>SQL2005&lt;br /&gt;&lt;br /&gt;SQL Server 2005 improves on the current situation by making the EXECUTE permission grantable at the database scope. This means that we can issue a statement like the example below and this will GRANT execute permissions on all existing stored procedures and scalar functions AND all subsequently created ones. Thus it acts very much like the current fixed database roles such as db_datareader &lt;br /&gt;&lt;br /&gt;/* CREATE A NEW ROLE */&lt;br /&gt;CREATE ROLE db_executor&lt;br /&gt;&lt;br /&gt;/* GRANT EXECUTE TO THE ROLE */&lt;br /&gt;GRANT EXECUTE TO db_executor&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-2776033206939817439?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/2776033206939817439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=2776033206939817439&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/2776033206939817439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/2776033206939817439'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2010/05/sql-2005-execute-permissions.html' title='SQL 2005 execute permissions'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-7991613170688895476</id><published>2010-05-07T14:55:00.000-07:00</published><updated>2010-05-07T14:56:50.382-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='2005 Good Website'/><title type='text'>Good Website</title><content type='html'>http://www.jenunderwood.com/resources.htm&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-7991613170688895476?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/7991613170688895476/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=7991613170688895476&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7991613170688895476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7991613170688895476'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2010/05/good-website.html' title='Good Website'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-2045639456638467534</id><published>2010-05-07T14:47:00.000-07:00</published><updated>2010-05-07T14:49:41.412-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Domain Global Groups; Netlogon service'/><title type='text'>Not able to Add Windows Global Group to SQL SERVER 2005</title><content type='html'>Problem :   Not able to Add Windows Global Group to SQL SERVER 2005&lt;br /&gt;Solution :  Make sure that net logon service is running&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-2045639456638467534?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/2045639456638467534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=2045639456638467534&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/2045639456638467534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/2045639456638467534'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2010/05/not-able-to-add-windows-global-group-to.html' title='Not able to Add Windows Global Group to SQL SERVER 2005'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-1961294283451979906</id><published>2010-03-25T17:28:00.000-07:00</published><updated>2010-03-25T17:30:08.372-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Queries'/><category scheme='http://www.blogger.com/atom/ns#' term='Locks'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER 2005 Blocking Issues'/><title type='text'>Locks,Blocks and Latches.</title><content type='html'>Locks ensure logical consistency&lt;br /&gt;o Example: A row cannot exist in table A unless a corresponding row exists in table B (a foreign-key constraint). When inserting a row into table B, &lt;br /&gt;a shared lock will be obtained on the corresponding row in table B until the insert in table A completes, to ensure that nobody deletes the &lt;br /&gt;corresponding row from table B and thereby ensure that the foreign key constraint (a logical consistency rule) is enforced when the transaction completes.&lt;br /&gt;&lt;br /&gt;Latches ensure physical consistency&lt;br /&gt;o To say that data is "physically consistent" is to state that the structure of the data on disk or in memory follows the defined patterns&lt;br /&gt; that SQL Server expects (i.e. is not corrupt) and that the right data is stored in the right place (e.g. the value for column Y of row X is not &lt;br /&gt;inadvertently stored in column W of row Z).&lt;br /&gt;&lt;br /&gt;Sp_lock shows all outstanding locks, the sessions owning those locks, the resource being locked, the type of lock, and the state of the lock (granted or waiting). &lt;br /&gt;Sys.dm_tran_locks is a data management view in SQL Server 2005 and SQL Server 2008 that shows additional detail about locks held by transactions in SQL Server.&lt;br /&gt;When a process is blocked because it is waiting on a lock, you will see summary detail about the lock it is awaiting in sys.dm_os_waiting_tasks. And sys.dm_os_wait_stats provides a high level summary of time spent waiting on the various types of locks (regardless of the resource being locked).&lt;br /&gt;&lt;br /&gt;-------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- Code and scripts from Chapter 6: &lt;br /&gt;--    Concurrency Problems&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- You can detect table locks at a given point in time using the &lt;br /&gt;-- sys.dm_tran_locks DMV. The following query shows an example:&lt;br /&gt;&lt;br /&gt;SELECT&lt;br /&gt;  request_session_id,&lt;br /&gt;  resource_type,&lt;br /&gt;  DB_NAME(resource_database_id) AS DatabaseName,&lt;br /&gt;  OBJECT_NAME(resource_associated_entity_id) AS TableName,&lt;br /&gt;  request_mode,&lt;br /&gt;  request_type,&lt;br /&gt;  request_status&lt;br /&gt;FROM sys.dm_tran_locks AS TL&lt;br /&gt;  JOIN sys.all_objects AS AO&lt;br /&gt;    ON TL.resource_associated_entity_id = AO.object_id&lt;br /&gt;WHERE request_type = 'LOCK'&lt;br /&gt;  AND request_status = 'GRANT'&lt;br /&gt;  AND request_mode IN ('X','S')&lt;br /&gt;  AND AO.type = 'U'&lt;br /&gt;  AND resource_type = 'OBJECT'&lt;br /&gt;  AND TL.resource_database_id = DB_ID();&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- For example, the following code will prevent lock escalation &lt;br /&gt;-- on the table for one hour.&lt;br /&gt;&lt;br /&gt;BEGIN TRAN&lt;br /&gt;SELECT *&lt;br /&gt;FROM Sales.SalesOrderDetail WITH (UPDLOCK, HOLDLOCK)&lt;br /&gt;WHERE 1=0;&lt;br /&gt;WAITFOR DELAY '1:00:00';&lt;br /&gt;COMMIT TRAN&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- For example, the following query shows just those waits that &lt;br /&gt;-- have been occurring for more than 5 seconds:&lt;br /&gt;&lt;br /&gt;SELECT&lt;br /&gt;  WT.session_id AS waiting_session_id,&lt;br /&gt;  WT.waiting_task_address,&lt;br /&gt;  WT.wait_duration_ms,&lt;br /&gt;  WT.wait_type,&lt;br /&gt;  WT.blocking_session_id,&lt;br /&gt;  WT.resource_description&lt;br /&gt;FROM sys.dm_os_waiting_tasks AS WT&lt;br /&gt;WHERE WT.wait_duration_ms &gt; 5000;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- The following query returns a subset of the columns and shows &lt;br /&gt;-- all those locks that are in a WAIT state:&lt;br /&gt;&lt;br /&gt;SELECT&lt;br /&gt;  TL.resource_type,&lt;br /&gt;  DB_NAME(TL.resource_database_id) as DatabaseName,&lt;br /&gt;  TL.resource_associated_entity_id,&lt;br /&gt;  TL.request_session_id,&lt;br /&gt;  TL.request_mode,&lt;br /&gt;  TL.request_status&lt;br /&gt;FROM sys.dm_tran_locks AS TL&lt;br /&gt;WHERE TL.request_status = 'WAIT'&lt;br /&gt;ORDER BY DatabaseName, TL.request_session_id ASC;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- The sys.dm_tran_locks DMV uses both the &lt;br /&gt;-- resource_associated_entity_id along with the &lt;br /&gt;-- resource_description to identify the locked resource, so we &lt;br /&gt;-- just need to use that as the method for joining the view with &lt;br /&gt;-- itself to pick out each waiting and granted lock for each &lt;br /&gt;-- given resource. The following query shows how you can do it:&lt;br /&gt;&lt;br /&gt;SELECT&lt;br /&gt;  TL1.resource_type,&lt;br /&gt;  DB_NAME(TL1.resource_database_id) AS DatabaseName,&lt;br /&gt;  TL1.resource_associated_entity_id,&lt;br /&gt;  TL1.request_session_id,&lt;br /&gt;  TL1.request_mode,&lt;br /&gt;  TL1.request_status&lt;br /&gt;FROM sys.dm_tran_locks as TL1&lt;br /&gt;  JOIN sys.dm_tran_locks as TL2&lt;br /&gt;    ON TL1.resource_associated_entity_id = TL2.resource_associated_entity_id&lt;br /&gt;    AND TL1.request_status &lt;&gt; TL2.request_status&lt;br /&gt;    AND (TL1.resource_description = TL2.resource_description&lt;br /&gt;    OR (TL1.resource_description IS NULL &lt;br /&gt;        AND TL2.resource_description IS NULL))&lt;br /&gt;ORDER BY TL1.request_status ASC;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- You might want to also query the view and return the actual &lt;br /&gt;-- object represented by the resource_associated_entity_id, &lt;br /&gt;-- whether it be a RID, key, page or table.&lt;br /&gt;&lt;br /&gt;SELECT&lt;br /&gt;  TL1.resource_type,&lt;br /&gt;  DB_NAME(TL1.resource_database_id) AS DatabaseName,&lt;br /&gt;  CASE TL1.resource_type&lt;br /&gt;    WHEN 'OBJECT' &lt;br /&gt;          THEN OBJECT_NAME(TL1.resource_associated_entity_id,&lt;br /&gt;                           TL1.resource_database_id)&lt;br /&gt;          WHEN 'DATABASE' THEN 'DATABASE'&lt;br /&gt;    ELSE&lt;br /&gt;       CASE&lt;br /&gt;         WHEN TL1.resource_database_id = DB_ID() THEN&lt;br /&gt;             (SELECT OBJECT_NAME&lt;br /&gt;                  (object_id, TL1.resource_database_id)&lt;br /&gt;              FROM sys.partitions&lt;br /&gt;              WHERE hobt_id = TL1.resource_associated_entity_id)&lt;br /&gt;         ELSE NULL&lt;br /&gt;       END&lt;br /&gt;  END AS ObjectName,&lt;br /&gt;  TL1.resource_description,&lt;br /&gt;  TL1.request_session_id,&lt;br /&gt;  TL1.request_mode,&lt;br /&gt;  TL1.request_status&lt;br /&gt;FROM sys.dm_tran_locks AS TL1&lt;br /&gt;  JOIN sys.dm_tran_locks AS TL2&lt;br /&gt;    ON TL1.resource_associated_entity_id = &lt;br /&gt;       TL2.resource_associated_entity_id&lt;br /&gt;WHERE TL1.request_status &lt;&gt; TL2.request_status&lt;br /&gt;  AND (TL1.resource_description = TL2.resource_description&lt;br /&gt;   OR (TL1.resource_description IS NULL&lt;br /&gt;       AND TL2.resource_description IS NULL))&lt;br /&gt;ORDER BY TL1.resource_database_id,&lt;br /&gt;         TL1.resource_associated_entity_id,&lt;br /&gt;         TL1.request_status ASC;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- First you use the sp_configure command to set the advanced &lt;br /&gt;-- option blocked process threshold to a value, let's say 60 &lt;br /&gt;-- seconds:&lt;br /&gt;&lt;br /&gt;EXEC sp_configure 'show advanced options', 1;&lt;br /&gt;RECONFIGURE;&lt;br /&gt;GO&lt;br /&gt;EXEC sp_configure 'blocked process threshold', 60;&lt;br /&gt;RECONFIGURE;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--You can join on the sys.dm_tran_locks. Here's an example:&lt;br /&gt;&lt;br /&gt;SELECT&lt;br /&gt;  WT.session_id AS waiting_session_id,&lt;br /&gt;  DB_NAME(TL.resource_database_id) AS DatabaseName,&lt;br /&gt;  WT.wait_duration_ms,&lt;br /&gt;  WT.waiting_task_address,&lt;br /&gt;  TL.request_mode,&lt;br /&gt;  TL.resource_type,&lt;br /&gt;  TL.resource_associated_entity_id,&lt;br /&gt;  TL.resource_description AS lock_resource_description,&lt;br /&gt;  WT.wait_type,&lt;br /&gt;  WT.blocking_session_id,&lt;br /&gt;  WT.resource_description AS blocking_resource_description&lt;br /&gt;FROM sys.dm_os_waiting_tasks AS WT&lt;br /&gt;  JOIN sys.dm_tran_locks AS TL&lt;br /&gt;    ON WT.resource_address = TL.lock_owner_address&lt;br /&gt;WHERE WT.wait_duration_ms &gt; 5000&lt;br /&gt;  AND WT.session_id &gt; 50;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- By adding a subquery that joins the sys.dm_exec_requests DMV &lt;br /&gt;-- and the sys.dm_exec_sql_text() DMF, correlating back to the &lt;br /&gt;-- joining on the waiting task's session_id, you can extract the &lt;br /&gt;-- query text. Here's an example, adapted from a similar query &lt;br /&gt;-- in A Troubleshooting Methodology, Chapter 1 of this volume.&lt;br /&gt;&lt;br /&gt;SELECT&lt;br /&gt;  WT.session_id AS waiting_session_id,&lt;br /&gt;  DB_NAME(TL.resource_database_id) AS DatabaseName,&lt;br /&gt;  WT.wait_duration_ms,&lt;br /&gt;  WT.waiting_task_address,&lt;br /&gt;  TL.request_mode,&lt;br /&gt;  (SELECT SUBSTRING(ST.text, (ER.statement_start_offset/2) + 1,&lt;br /&gt;    ((CASE ER.statement_end_offset&lt;br /&gt;        WHEN -1 THEN DATALENGTH(ST.text)&lt;br /&gt;        ELSE ER.statement_end_offset&lt;br /&gt;      END - ER.statement_start_offset)/2) + 1)&lt;br /&gt;   FROM sys.dm_exec_requests AS ER&lt;br /&gt;     CROSS APPLY sys.dm_exec_sql_text(ER.sql_handle) AS ST&lt;br /&gt;   WHERE ER.session_id = TL.request_session_id)&lt;br /&gt;          AS waiting_query_text,&lt;br /&gt;  TL.resource_type,&lt;br /&gt;  TL.resource_associated_entity_id,&lt;br /&gt;  WT.wait_type,&lt;br /&gt;  WT.blocking_session_id,&lt;br /&gt;  WT.resource_description AS blocking_resource_description,&lt;br /&gt;  CASE &lt;br /&gt;    WHEN WT.blocking_session_id &gt; 0 THEN&lt;br /&gt;      (SELECT ST2.text &lt;br /&gt;       FROM sys.sysprocesses AS SP&lt;br /&gt;         CROSS APPLY sys.dm_exec_sql_text(SP.sql_handle) AS ST2&lt;br /&gt;       WHERE SP.spid = WT.blocking_session_id)&lt;br /&gt;    ELSE NULL&lt;br /&gt;  END AS blocking_query_text&lt;br /&gt;FROM sys.dm_os_waiting_tasks AS WT&lt;br /&gt;  JOIN sys.dm_tran_locks AS TL&lt;br /&gt;    ON WT.resource_address = TL.lock_owner_address&lt;br /&gt;WHERE WT.wait_duration_ms &gt; 5000&lt;br /&gt;  AND WT.session_id &gt; 50;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- Here's a skeletal example of how you can rewrite your code to &lt;br /&gt;-- retry the transaction using Transact-SQL:&lt;br /&gt;&lt;br /&gt;DECLARE @Tries tinyint, @Error int;&lt;br /&gt;SET @Tries = 1;&lt;br /&gt;WHILE @Tries &lt;= 3&lt;br /&gt;  BEGIN&lt;br /&gt;    BEGIN TRANSACTION;&lt;br /&gt;      BEGIN TRY&lt;br /&gt;      -- &lt;code goes here&gt;&lt;br /&gt;      IF XACT_STATE() = 1 COMMIT;&lt;br /&gt;        BREAK;&lt;br /&gt;      END TRY&lt;br /&gt;      BEGIN CATCH&lt;br /&gt;        SET @Error = ERROR_NUMBER();&lt;br /&gt;        IF @Error = 1205&lt;br /&gt;        BEGIN&lt;br /&gt;          IF XACT_STATE() = -1 ROLLBACK;&lt;br /&gt;        END&lt;br /&gt;        SET @Tries = @Tries + 1;&lt;br /&gt;        CONTINUE;&lt;br /&gt;      END CATCH;&lt;br /&gt;    END;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- Assume you have two tables, a header table called H1 and a &lt;br /&gt;-- detail table called D1, and you have declared a foreign key &lt;br /&gt;-- from D1 to H1 referencing H1's primary key. Here's the code &lt;br /&gt;-- to create that scenario:&lt;br /&gt;&lt;br /&gt;USE Scratch;&lt;br /&gt;GO&lt;br /&gt;ALTER DATABASE Scratch&lt;br /&gt;  SET ALLOW_SNAPSHOT_ISOLATION OFF;&lt;br /&gt;ALTER DATABASE Scratch&lt;br /&gt;  SET READ_COMMITTED_SNAPSHOT OFF;&lt;br /&gt;GO&lt;br /&gt;IF OBJECT_ID('dbo.D1') IS NOT NULL DROP TABLE D1;&lt;br /&gt;IF OBJECT_ID('dbo.H1') IS NOT NULL DROP TABLE H1;&lt;br /&gt;GO&lt;br /&gt;CREATE TABLE H1 (H1ID int NOT NULL PRIMARY KEY, H1Name varchar(10));&lt;br /&gt;CREATE TABLE D1 (D1ID int NOT NULL PRIMARY KEY, H1ID int);&lt;br /&gt;GO&lt;br /&gt;ALTER TABLE D1 ADD CONSTRAINT FK_D1ID_D1&lt;br /&gt;FOREIGN KEY (H1ID) REFERENCES H1(H1ID);&lt;br /&gt;GO&lt;br /&gt;INSERT H1 VALUES (1,'Test');&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- Now let's change the database to READ COMMITTED SNAPSHOT &lt;br /&gt;-- (sometimes abbreviated to RCSI):&lt;br /&gt;&lt;br /&gt;ALTER DATABASE Scratch&lt;br /&gt;  SET READ_COMMITTED_SNAPSHOT ON;&lt;br /&gt;&lt;br /&gt;-- You'll have to make sure for a moment that you only have one &lt;br /&gt;-- connection to the database so that this change will take &lt;br /&gt;-- affect. You also need to reinsert the row into the H1 table.&lt;br /&gt;&lt;br /&gt;INSERT H1 VALUES (1,'Test');&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- To reproduce this, alter the database to disable RCSI and &lt;br /&gt;-- enable SNAPSHOT isolation (momentarily taking all other &lt;br /&gt;-- connections out of the database):&lt;br /&gt;&lt;br /&gt;ALTER DATABASE Scratch&lt;br /&gt;  SET READ_COMMITTED_SNAPSHOT OFF;&lt;br /&gt;ALTER DATABASE Scratch&lt;br /&gt;  SET ALLOW_SNAPSHOT_ISOLATION ON;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- Now reinsert the row into the H1 table one more time.&lt;br /&gt;&lt;br /&gt;INSERT H1 VALUES (1,'Test');&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- For this example, you'll need to recreate the same header and &lt;br /&gt;-- detail tables but this time create a simple trigger that will &lt;br /&gt;-- ensure referential integrity for single-row INSERTs. &lt;br /&gt;-- (Using foreign key constraints is the recommended way to &lt;br /&gt;-- enforce referential integrity, but many databases still use &lt;br /&gt;-- triggers.)&lt;br /&gt;&lt;br /&gt;USE Scratch;&lt;br /&gt;GO&lt;br /&gt;IF OBJECT_ID('dbo.D1') IS NOT NULL DROP TABLE D1;&lt;br /&gt;IF OBJECT_ID('dbo.H1') IS NOT NULL DROP TABLE H1;&lt;br /&gt;CREATE TABLE H1 (H1ID int NOT NULL PRIMARY KEY, H1Name varchar(10));&lt;br /&gt;CREATE TABLE D1 (D1ID int NOT NULL PRIMARY KEY, H1ID int);&lt;br /&gt;GO&lt;br /&gt;CREATE TRIGGER tr_D1_H1&lt;br /&gt;  ON D1&lt;br /&gt;  FOR INSERT&lt;br /&gt;AS&lt;br /&gt;BEGIN&lt;br /&gt;-- Single-row inserts only&lt;br /&gt;  IF (SELECT H1ID FROM inserted) NOT IN (SELECT H1ID FROM H1)&lt;br /&gt;  BEGIN&lt;br /&gt;    PRINT 'Rolling back insert'&lt;br /&gt;    ROLLBACK&lt;br /&gt;  END&lt;br /&gt;END;&lt;br /&gt;GO&lt;br /&gt;INSERT H1 VALUES (1, 'Test')&lt;br /&gt;ALTER DATABASE Scratch SET ALLOW_SNAPSHOT_ISOLATION OFF;&lt;br /&gt;ALTER DATABASE Scratch SET READ_COMMITTED_SNAPSHOT OFF;&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- Remove all other users in the database and issue the following&lt;br /&gt;--  commands, putting the database into the &lt;br /&gt;-- READ COMMITTED SNAPSHOT state:&lt;br /&gt;&lt;br /&gt;ALTER DATABASE Scratch SET ALLOW_SNAPSHOT_ISOLATION OFF;&lt;br /&gt;ALTER DATABASE Scratch SET READ_COMMITTED_SNAPSHOT ON;&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- To clean up, empty out the D1 detail table and reinsert the &lt;br /&gt;-- header row into H1:&lt;br /&gt;&lt;br /&gt;DELETE FROM D1;&lt;br /&gt;INSERT H1 VALUES (1,'Test');&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- For this example, remove all other users in the database, set &lt;br /&gt;-- READ COMMITTED SNAPSHOT to OFF in the database, set the &lt;br /&gt;-- database to allow SNAPSHOT isolation:&lt;br /&gt;&lt;br /&gt;ALTER DATABASE Scratch SET READ_COMMITTED_SNAPSHOT OFF;&lt;br /&gt;ALTER DATABASE Scratch SET ALLOW_SNAPSHOT_ISOLATION ON;&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- For example, you could rewrite the initial RI trigger as &lt;br /&gt;-- follows, using the READCOMMITTEDLOCK hint:&lt;br /&gt;&lt;br /&gt;CREATE TRIGGER tr_D1_H1&lt;br /&gt;  ON D1&lt;br /&gt;  FOR INSERT&lt;br /&gt;AS&lt;br /&gt;BEGIN&lt;br /&gt;  -- Single-row inserts only&lt;br /&gt;  IF (SELECT H1ID FROM inserted) NOT IN&lt;br /&gt;        (SELECT H1ID FROM H1 WITH (READCOMMITTEDLOCK))&lt;br /&gt;  BEGIN&lt;br /&gt;    PRINT 'Rolling back insert'&lt;br /&gt;    ROLLBACK&lt;br /&gt;  END&lt;br /&gt;END;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- In all the examples so far of lost updates, you can apply the &lt;br /&gt;-- UPDLOCK hint to the SELECT statement that reads the value &lt;br /&gt;-- from Sales.SalesOrderDetail:&lt;br /&gt;&lt;br /&gt;SET @OrderQty =&lt;br /&gt; (SELECT OrderQty&lt;br /&gt;  FROM Sales.SalesOrderDetail WITH (UPDLOCK)&lt;br /&gt;  WHERE SalesOrderID = 43659&lt;br /&gt;    AND SalesOrderDetailID = 1);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Finally the UPDLOCK hint will also prevent the lost update &lt;br /&gt;-- shown in Table 6-12. Just add the UPDLOCK hint to the SELECT &lt;br /&gt;-- statement in step 2 as follows:&lt;br /&gt;&lt;br /&gt;SELECT OrderQty&lt;br /&gt;FROM Sales.SalesOrderDetail WITH (UPDLOCK)&lt;br /&gt;WHERE SalesOrderID = 43659&lt;br /&gt;  AND SalesOrderDetailID = 1;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- Using the example from the transaction shown in Table 6-11,&lt;br /&gt;-- you could rewrite the SNAPSHOT transaction as:&lt;br /&gt;&lt;br /&gt;SET TRANSACTION ISOLATION LEVEL SNAPSHOT;&lt;br /&gt;WAITFOR TIME '00:15:00.0';&lt;br /&gt;&lt;br /&gt;DECLARE @Tries tinyint, @Error int;&lt;br /&gt;DECLARE @OrderQty smallint;&lt;br /&gt;SET @Tries = 1;&lt;br /&gt;&lt;br /&gt;WHILE @Tries &lt;= 3&lt;br /&gt;BEGIN&lt;br /&gt;  BEGIN TRANSACTION&lt;br /&gt;    BEGIN TRY&lt;br /&gt;      SELECT OrderQty&lt;br /&gt;      FROM Sales.SalesOrderDetail&lt;br /&gt;      WHERE SalesOrderID = 43659&lt;br /&gt;       AND SalesOrderDetailID = 1;&lt;br /&gt;     WAITFOR DELAY '00:00:00.2';&lt;br /&gt;     UPDATE Sales.SalesOrderDetail&lt;br /&gt;       SET OrderQty = OrderQty + 2&lt;br /&gt;     WHERE SalesOrderID = 43659&lt;br /&gt;       AND SalesOrderDetailID = 1;&lt;br /&gt;     IF XACT_STATE() = 1 COMMIT;&lt;br /&gt;     BREAK;&lt;br /&gt;   END TRY;&lt;br /&gt;   BEGIN CATCH&lt;br /&gt;     SET @Error = ERROR_NUMBER();&lt;br /&gt;     IF @Error = 3960&lt;br /&gt;       BEGIN&lt;br /&gt;         PRINT '3960 encountered';&lt;br /&gt;         IF XACT_STATE() = -1 ROLLBACK;&lt;br /&gt;       END&lt;br /&gt;     SET @Tries = @Tries + 1;&lt;br /&gt;     CONTINUE&lt;br /&gt;   END CATCH;&lt;br /&gt; END;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- For monitoring Full SNAPSHOT isolation level transactions in &lt;br /&gt;-- particular, you can use sys.dm_tran_active_snapshot_database_transactions. &lt;br /&gt;-- The following query shows one example:&lt;br /&gt;&lt;br /&gt;SELECT&lt;br /&gt;  transaction_id,&lt;br /&gt;  session_id,&lt;br /&gt;  transaction_sequence_num,&lt;br /&gt;  is_snapshot,&lt;br /&gt;  max_version_chain_traversed,&lt;br /&gt;  elapsed_time_seconds&lt;br /&gt;FROM sys.dm_tran_active_snapshot_database_transactions&lt;br /&gt;ORDER BY elapsed_time_seconds DESC;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- The following query shows one way of using this DMV to inspect&lt;br /&gt;-- the free space in tempdb:&lt;br /&gt;&lt;br /&gt;SELECT&lt;br /&gt;  SUM(user_object_reserved_page_count) * 8.192 AS UserObjectsKB,&lt;br /&gt;  SUM(internal_object_reserved_page_count) * 8.192 AS InternalObjectsKB,&lt;br /&gt;  SUM(version_store_reserved_page_count) * 8.192 AS VersionStoreKB,&lt;br /&gt;  SUM(unallocated_extent_page_count) * 8.192 AS FreeSpaceKB&lt;br /&gt;FROM sys.dm_db_file_space_usage;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-1961294283451979906?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/1961294283451979906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=1961294283451979906&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/1961294283451979906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/1961294283451979906'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2010/03/locksblocks-and-latches.html' title='Locks,Blocks and Latches.'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-4692862476029102357</id><published>2010-03-08T13:31:00.000-08:00</published><updated>2010-03-08T13:35:48.625-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exception from HRESULT: 0xC0010014 (Microsoft.SqlServer.DTSRuntimeWrap)'/><category scheme='http://www.blogger.com/atom/ns#' term='Maintainance Plan'/><title type='text'>Maintainance Plan -- Exception from HRESULT: 0xC0010014 (Microsoft.SqlServer.DTSRuntimeWrap)</title><content type='html'>When editing a maintenance plan (that I am newly creating) I got:&lt;br /&gt;&lt;strong&gt;Exception from HRESULT:  0xC0010014 (Microsoft.SqlServer.DTSRuntimeWrap)&lt;/strong&gt;&lt;br /&gt;The issue is the client tools installed in %ProgramFiles(x86)% instead of %ProgramFiles%  but instead of reinstalling client tools, I ran:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;%windir%\syswow64\regsvr32 "D:\MSSQL (x86)\90\DTS\Binn\dts.dll" &lt;/strong&gt;&lt;br /&gt;which resolved the issue.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-4692862476029102357?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/4692862476029102357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=4692862476029102357&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/4692862476029102357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/4692862476029102357'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2010/03/maintainance-plan-exception-from.html' title='Maintainance Plan -- Exception from HRESULT: 0xC0010014 (Microsoft.SqlServer.DTSRuntimeWrap)'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-5712286665405167447</id><published>2010-02-17T19:26:00.000-08:00</published><updated>2010-02-17T19:27:56.767-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Permissions to view Stored Procedures'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SEVER 2005 Permissions'/><title type='text'>SQL SERVER 2005 Permissions to View Stored Procedures</title><content type='html'>To turn on this feature across the board for all databases and all users you can issue the following statement:&lt;br /&gt;&lt;br /&gt;USE master &lt;br /&gt;GO &lt;br /&gt;GRANT VIEW ANY DEFINITION TO PUBLIC  &lt;br /&gt;&lt;br /&gt;To turn on this feature across the board for all databases for user "User1" you can issue the following statement:&lt;br /&gt;&lt;br /&gt;USE master &lt;br /&gt;GO &lt;br /&gt;GRANT VIEW ANY DEFINITION TO User1  &lt;br /&gt;&lt;br /&gt;To turn this feature on for a database and for all users that have public access you can issue the following:&lt;br /&gt;&lt;br /&gt;USE AdventureWorks &lt;br /&gt;GO &lt;br /&gt;GRANT VIEW Definition TO PUBLIC  &lt;br /&gt;&lt;br /&gt;If you want to grant access to only user "User1" of the database you can do the following:&lt;br /&gt;&lt;br /&gt;USE AdventureWorks &lt;br /&gt;GO &lt;br /&gt;GRANT VIEW Definition TO User1  &lt;br /&gt;&lt;br /&gt;To turn off this functionality you would issue the REVOKE command such as one of the following:&lt;br /&gt;&lt;br /&gt;USE master  &lt;br /&gt;GO  &lt;br /&gt;REVOKE VIEW ANY DEFINITION TO User1  &lt;br /&gt;&lt;br /&gt;-- or &lt;br /&gt;&lt;br /&gt;USE AdventureWorks  &lt;br /&gt;GO  &lt;br /&gt;REVOKE VIEW Definition TO User1  &lt;br /&gt; &lt;br /&gt;&lt;br /&gt;If you want to see which users have this access you can issue the following in the database.&lt;br /&gt;&lt;br /&gt;USE AdventureWorks &lt;br /&gt;GO &lt;br /&gt;sp_helprotect&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-5712286665405167447?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/5712286665405167447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=5712286665405167447&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/5712286665405167447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/5712286665405167447'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2010/02/sql-server-2005-permissions-to-view.html' title='SQL SERVER 2005 Permissions to View Stored Procedures'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-7148875313193119066</id><published>2010-02-11T17:18:00.000-08:00</published><updated>2010-02-11T17:27:58.154-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linked server'/><title type='text'>Linked Server &gt;&gt;&gt; Unable to begin a distributed transaction</title><content type='html'>&lt;div&gt;Error Message:&lt;br /&gt;&lt;br /&gt;OLE DB provider "SQLNCLI" for linked server "agosqltqtest01_link" returned message "No transaction is active.".&lt;br /&gt;Msg 7391, Level 16, State 2, Line 1&lt;br /&gt;The operation could not be performed because OLE DB provider "SQLNCLI" for linked server "test01_link" was unable to begin a distributed transaction.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;Resolution: Change to No Authetication Required as follows &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_NC6OnZzYPHk/S3Stk6mH17I/AAAAAAAAAIo/y5U2c-f3qW4/s1600-h/Windows%2520SP2%2520MSDTC%2520Change%2520and%2520FixP1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5437161499859081138" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 259px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_NC6OnZzYPHk/S3Stk6mH17I/AAAAAAAAAIo/y5U2c-f3qW4/s400/Windows%2520SP2%2520MSDTC%2520Change%2520and%2520FixP1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_NC6OnZzYPHk/S3StlSWWKMI/AAAAAAAAAIw/1O9nkZ2K6jY/s1600-h/Windows%2520SP2%2520MSDTC%2520Change%2520and%2520FixP2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5437161506235361474" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 359px; CURSOR: hand; HEIGHT: 400px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_NC6OnZzYPHk/S3StlSWWKMI/AAAAAAAAAIw/1O9nkZ2K6jY/s400/Windows%2520SP2%2520MSDTC%2520Change%2520and%2520FixP2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-7148875313193119066?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/7148875313193119066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=7148875313193119066&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7148875313193119066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7148875313193119066'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2010/02/linked-server-unable-to-begin.html' title='Linked Server &gt;&gt;&gt; Unable to begin a distributed transaction'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_NC6OnZzYPHk/S3Stk6mH17I/AAAAAAAAAIo/y5U2c-f3qW4/s72-c/Windows%2520SP2%2520MSDTC%2520Change%2520and%2520FixP1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-7003241838355957001</id><published>2010-01-04T16:31:00.000-08:00</published><updated>2010-01-04T16:34:30.669-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Multiple SSIS Instances'/><title type='text'>Multiple SSIS SQL Server Instances</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_NC6OnZzYPHk/S0KI9xTiUAI/AAAAAAAAAH0/ba9MhbrT9I0/s1600-h/SSIS_msdtssrvr.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5423047496096174082" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 291px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_NC6OnZzYPHk/S0KI9xTiUAI/AAAAAAAAAH0/ba9MhbrT9I0/s400/SSIS_msdtssrvr.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Multiple SSIS installs of SQL server on the same machine.&lt;br /&gt;&lt;br /&gt;There is a configuration change that needs to be made to the SSIS file MsDtsSrvr.exe. You will need to add an entry for each of the installed instances on the server so that it can look at all of the msdb’s available. Once you have made the changes, you will need to stop and restart the ssis service.&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-7003241838355957001?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/7003241838355957001/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=7003241838355957001&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7003241838355957001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7003241838355957001'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2010/01/multiple-ssis-sql-server-instances.html' title='Multiple SSIS SQL Server Instances'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_NC6OnZzYPHk/S0KI9xTiUAI/AAAAAAAAAH0/ba9MhbrT9I0/s72-c/SSIS_msdtssrvr.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-3684879783826547355</id><published>2009-12-25T18:38:00.000-08:00</published><updated>2009-12-25T18:39:19.676-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER 2005 Blocking Issues'/><title type='text'>SQL 2005 Blocking Issues</title><content type='html'>sp_who2 active&lt;br /&gt;sp_blocked&lt;br /&gt;dbcc inputbuffer(74)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-3684879783826547355?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/3684879783826547355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=3684879783826547355&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/3684879783826547355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/3684879783826547355'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2009/12/sql-2005-blocking-issues.html' title='SQL 2005 Blocking Issues'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-177164607226261139</id><published>2009-12-24T18:17:00.000-08:00</published><updated>2009-12-24T18:18:49.178-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSIS Jobs copying'/><title type='text'>Coping SSIS Jobs to different Server</title><content type='html'>SELECT 'dtutil /COPY SQL;' + NAME + ' /SourceS servera /SQL ' + NAME + ' /DestS serverb&lt;br /&gt;FROM msdb.dbo.sysdtspackages90&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-177164607226261139?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/177164607226261139/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=177164607226261139&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/177164607226261139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/177164607226261139'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2009/12/coping-ssis-jobs-to-different-server.html' title='Coping SSIS Jobs to different Server'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-7719896590164991574</id><published>2009-12-24T13:17:00.000-08:00</published><updated>2009-12-24T13:18:35.361-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER 2005 Jobs'/><title type='text'>Disable and Enable Jobs</title><content type='html'>set nocount on&lt;br /&gt;set quoted_identifier off&lt;br /&gt;select "exec sp_update_job @job_name = '" + name + "', @enabled = 0 " + "&lt;br /&gt;" + "" from sysjobs where enabled=1 order by 1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-7719896590164991574?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/7719896590164991574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=7719896590164991574&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7719896590164991574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7719896590164991574'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2009/12/disable-and-enable-jobs.html' title='Disable and Enable Jobs'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-1207576160668621482</id><published>2009-10-27T17:27:00.000-07:00</published><updated>2009-10-27T17:38:09.547-07:00</updated><title type='text'>Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_NC6OnZzYPHk/SueSZa3iGJI/AAAAAAAAAHs/aecvXWBml9U/s1600-h/error_State.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5397443643833456786" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 191px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_NC6OnZzYPHk/SueSZa3iGJI/AAAAAAAAAHs/aecvXWBml9U/s400/error_State.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-1207576160668621482?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/1207576160668621482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=1207576160668621482&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/1207576160668621482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/1207576160668621482'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2009/10/understanding-login-failed-error-18456.html' title='Understanding &quot;login failed&quot; (Error 18456) error messages in SQL Server 2005'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_NC6OnZzYPHk/SueSZa3iGJI/AAAAAAAAAHs/aecvXWBml9U/s72-c/error_State.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-3003527484214856924</id><published>2009-10-06T14:31:00.001-07:00</published><updated>2010-02-25T17:06:31.798-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Global group'/><category scheme='http://www.blogger.com/atom/ns#' term='Users'/><title type='text'>List of users in a Windows Global group</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_NC6OnZzYPHk/S4cekMqp5BI/AAAAAAAAAJo/M7HoudZbLqk/s1600-h/netgroup.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 238px;" src="http://3.bp.blogspot.com/_NC6OnZzYPHk/S4cekMqp5BI/AAAAAAAAAJo/M7HoudZbLqk/s400/netgroup.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5442352281924789266" /&gt;&lt;/a&gt;&lt;br /&gt;C:\&gt;net group [GroupName] /domain&lt;br /&gt;&lt;br /&gt;ex: NET GROUP DBAGroup /DOMAIN&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-3003527484214856924?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/3003527484214856924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=3003527484214856924&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/3003527484214856924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/3003527484214856924'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2009/10/list-of-users-in-windows-global-group.html' title='List of users in a Windows Global group'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_NC6OnZzYPHk/S4cekMqp5BI/AAAAAAAAAJo/M7HoudZbLqk/s72-c/netgroup.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-817732570999083479</id><published>2009-10-06T13:58:00.000-07:00</published><updated>2009-10-06T14:03:43.638-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSIS Scheduled Date Time'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL AGENT'/><title type='text'>SQL 2005 - Query to retrive SQL Agent Jobs scheduled time.</title><content type='html'>select j.name,sc.active_start_time,active_end_time,*&lt;br /&gt;from sysjobs j&lt;br /&gt;inner join dbo.sysjobschedules jsc&lt;br /&gt;on j.job_id = jsc.job_id&lt;br /&gt;inner join dbo.sysschedules sc&lt;br /&gt;on jsc.schedule_id = sc.schedule_id&lt;br /&gt;where j.name like '%ssis%'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-817732570999083479?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/817732570999083479/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=817732570999083479&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/817732570999083479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/817732570999083479'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2009/10/sql-2005-query-to-retrive-sql-agent.html' title='SQL 2005 - Query to retrive SQL Agent Jobs scheduled time.'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-8334713691357381524</id><published>2009-07-02T11:23:00.000-07:00</published><updated>2009-07-02T11:27:31.801-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDAC'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL SERVER 2005 Installation'/><category scheme='http://www.blogger.com/atom/ns#' term='SNAC'/><title type='text'>MDAC - SNAC components</title><content type='html'>MDAC is a two side component. i.e; on infrastructure (windows) side and driver (sqlserver) side. MDAC is replaced by SNAC. SNAC is on the "drivers" side.&lt;br /&gt;&lt;br /&gt;In a nutshell, SQL Native Client is a stand alone data access Application Programming Interface (API) that is used for both OLE DB and ODBC. It combines the SQL OLE DB provider and the SQL ODBC driver into one native dynamic link library (DLL) while also providing new functionality above and beyond that supplied by the Microsoft Data Access Components (MDAC). SQL Native Client can be used to create new applications or enhance existing applications that need to take advantage of new SQL Server 2005 features such as Multiple Active Result Sets (MARS), User-Defined Types (UDT), and XML data type support.&lt;br /&gt;&lt;br /&gt;MDAC now ships as a component of the Windows operating system and as such there are a number of setup, redistribution, and deployment issues that have occurred as a result of this. you have developed an application based on the latest MDAC release only to discover that when you deploy it, the users in your organization do not have the latest MDAC release so your app won’t function correctly. By wrapping the OLE DB and ODBC technologies into a single library, we are able to avoid these issues by making a clean break from MDAC so that you can effectively deploy SQL Native Client as needed, without concern about if it will “play nicely” with other versions of MDAC.&lt;br /&gt;&lt;br /&gt;Data Access Technology Road Map&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms810810.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms810810.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-8334713691357381524?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/8334713691357381524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=8334713691357381524&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/8334713691357381524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/8334713691357381524'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2009/07/mdac-snac-components.html' title='MDAC - SNAC components'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-81477598962385572</id><published>2009-06-30T18:03:00.000-07:00</published><updated>2009-07-01T18:08:21.583-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server Consolidation'/><title type='text'>SQL Server Consolidation</title><content type='html'>What is SQL Server Consolidation&lt;br /&gt;Reducing the Number of Physical Sql Servers and also Sql Server Instances.&lt;br /&gt;&lt;br /&gt;What are Business Drivers for Sql Server Consolidations.&lt;br /&gt;1. Reduction of Total Cost of Ownership. (Maintaining Personal / Patch Management / Data centre Costs/ Energy Consumption (GreenIT)).&lt;br /&gt;2. Best practices like database maintaince, back up,high availbility,DR strategies etc.&lt;br /&gt;&lt;br /&gt;-----------------------------------------&lt;br /&gt;Features of SQL SERVER 2005 for Consolidation&lt;br /&gt;&lt;br /&gt;1. Large Scale Performance (Scale UP)&lt;br /&gt;2. non-uniform memory access (NUMA) architecture&lt;br /&gt;3. Work Load Governerance.&lt;br /&gt;4. Multiple applications connecting through two different IP Address.&lt;br /&gt;&lt;br /&gt;-----------------------------------------&lt;br /&gt;&lt;br /&gt;Microsoft Consolidation Options&lt;br /&gt;&lt;br /&gt;1. Hardware Partioning&lt;br /&gt;                                High Throughput Applications&lt;br /&gt;                                Complete Isolation&lt;br /&gt;                                 Reboot after resizing&lt;br /&gt;                                 &lt;br /&gt;&lt;br /&gt;2.  Resource Management&lt;br /&gt;                             Medium-High Throughput Applications&lt;br /&gt;                              Manage Resource Usuage&lt;br /&gt;                               Same Operating system level                               &lt;br /&gt;&lt;br /&gt;3. Virtualization&lt;br /&gt;                             Medium-Low throughput&lt;br /&gt;                             Isolating legac applications&lt;br /&gt;                             Complex management&lt;br /&gt;                             Limed scale-up&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-81477598962385572?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/81477598962385572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=81477598962385572&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/81477598962385572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/81477598962385572'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2009/06/sql-server-consolidation.html' title='SQL Server Consolidation'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-8959766045576127936</id><published>2009-06-16T15:47:00.000-07:00</published><updated>2009-06-16T15:51:04.799-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OLTP'/><category scheme='http://www.blogger.com/atom/ns#' term='OLAP'/><title type='text'>OLAP vs OLTP</title><content type='html'>&lt;p align="justify"&gt;&lt;a href="http://4.bp.blogspot.com/_NC6OnZzYPHk/SjghNIpplyI/AAAAAAAAAG0/d2_eEEXzQVE/s1600-h/OLAPvsOLTP.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5348061067046655778" style="FLOAT: right; MARGIN: 0px 0px 10px 10px; WIDTH: 666px; CURSOR: hand; HEIGHT: 271px" alt="" src="http://4.bp.blogspot.com/_NC6OnZzYPHk/SjghNIpplyI/AAAAAAAAAG0/d2_eEEXzQVE/s320/OLAPvsOLTP.bmp" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-8959766045576127936?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/8959766045576127936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=8959766045576127936&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/8959766045576127936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/8959766045576127936'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2009/06/olapvsoltp.html' title='OLAP vs OLTP'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_NC6OnZzYPHk/SjghNIpplyI/AAAAAAAAAG0/d2_eEEXzQVE/s72-c/OLAPvsOLTP.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-3146580735229208541</id><published>2009-06-14T11:16:00.000-07:00</published><updated>2009-06-14T11:29:29.316-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Data quality and datawarehouse'/><title type='text'>Data Quality Process</title><content type='html'>Profiling (Identifying data quality issues).&lt;br /&gt;Generalized Cleansing (tests to meet business rules).&lt;br /&gt;Parsing and standardization (restructing data into a common format).&lt;br /&gt;Matching (finding unique identifiers and performint de-duplication).&lt;br /&gt;Enrichment (phone and email validation)&lt;br /&gt;Monitoring (checking conformance to data quality requirements).&lt;br /&gt;&lt;br /&gt;----------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;The construction of data warehouses involves data cleaning, data integration, and data transformation.&lt;br /&gt;&lt;br /&gt;OLAP operations such as roll-up, drill-down, slicing, and dicing.&lt;br /&gt;&lt;br /&gt;A data warehouse is a subject-oriented, integrated, time-variant, and nonvolatile collection of data in support of management’s decision making process&lt;br /&gt;&lt;br /&gt;-----------------------------------------------------------------------------------------&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-3146580735229208541?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/3146580735229208541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=3146580735229208541&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/3146580735229208541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/3146580735229208541'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2009/06/data-quality-process.html' title='Data Quality Process'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-1205928098450256419</id><published>2009-03-12T14:17:00.000-07:00</published><updated>2009-03-12T14:23:46.612-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Repeating Column Header for Tablix (Table)'/><title type='text'>SSRS 2008 Tablix -- Repeating Column Header for Tablix (Table)</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_NC6OnZzYPHk/Sbl84uYOXgI/AAAAAAAAAEU/qv_Tv6LZ4Yg/s1600-h/TablixProperties.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5312414549424365058" style="FLOAT: right; MARGIN: 0px 0px 10px 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 222px" alt="" src="http://4.bp.blogspot.com/_NC6OnZzYPHk/Sbl84uYOXgI/AAAAAAAAAEU/qv_Tv6LZ4Yg/s320/TablixProperties.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;Go to the Tablix advanced mode, select the static member from the Row Groups and set the properties as shown in the figure&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-1205928098450256419?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/1205928098450256419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=1205928098450256419&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/1205928098450256419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/1205928098450256419'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2009/03/ssrs-2008-tablix-repeating-column.html' title='SSRS 2008 Tablix -- Repeating Column Header for Tablix (Table)'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_NC6OnZzYPHk/Sbl84uYOXgI/AAAAAAAAAEU/qv_Tv6LZ4Yg/s72-c/TablixProperties.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-165276121653316992</id><published>2009-01-08T16:16:00.000-08:00</published><updated>2009-01-08T17:18:43.183-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MultiDimensional'/><category scheme='http://www.blogger.com/atom/ns#' term='Relational Database'/><category scheme='http://www.blogger.com/atom/ns#' term='OLAP'/><title type='text'>Relational VS MultiDimensional (OLAP) Databases</title><content type='html'>The key difference between OLAP dimensions and simple relational dimensions is the central role played by hierarchies in OLAP implementations.An OLAP dimension is strongly structured around its hierarchies, and the metadata of a cube definition includes the hierarchical levels.&lt;br /&gt;This is one of the great strengths of an OLAP implementation.&lt;br /&gt;&lt;br /&gt;OLAP is a sibling of dimensional models in the relational database, with intelligence about relationships and calculations defined on the server, that enable faster query performance and more interesting analytics from a broad range of query tools.&lt;br /&gt;&lt;br /&gt;The recommended architecture for most purposes feeds the OLAP server from a dimensional data warehouse in the relational DBMS.&lt;br /&gt;&lt;br /&gt;Overall the following points are important in OLAP.&lt;br /&gt;1. Meta Data (like semi additive and non additive info),&lt;br /&gt;2. Calculations Defined (Pre-aggregated data) and&lt;br /&gt;3. Analaytical Functions defined on the Server&lt;br /&gt;&lt;br /&gt;Example explaining the advantage of  Hierarichies in OLAP&lt;br /&gt;A query such as total sales for Q1 2002 is simple to formulate and should return from an OLAP server nearly instantaneously. But  the user who wants total sales for an arbitrary period such as January 3 through March 12, 2002, for which no predefined hierarchy exists.&lt;br /&gt;&lt;br /&gt;Advantages are as follows&lt;br /&gt;1.  It provides an intuitive user interface for browsing data.&lt;br /&gt;2.  It gives you spectacular query performance, primarily owing to the intelligent navigation of aggregates and partitions.&lt;br /&gt;3.  Parent-child dimension structures are easy and intuitive to implement.&lt;br /&gt;3.  It gives you server-defined rules for handling semiadditive and nonadditive measures.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The above explanation holds good for  SSAS vs Sql Server Relational,  Sql Server Relational vs Microstrategy,&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-165276121653316992?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/165276121653316992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=165276121653316992&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/165276121653316992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/165276121653316992'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2009/01/relational-vs-multidimensional-olap.html' title='Relational VS MultiDimensional (OLAP) Databases'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-4702238644693327782</id><published>2009-01-08T14:43:00.000-08:00</published><updated>2009-01-08T14:45:49.581-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Relationships'/><category scheme='http://www.blogger.com/atom/ns#' term='Dimensional table'/><category scheme='http://www.blogger.com/atom/ns#' term='Fact table'/><title type='text'>Fact and Dimenisional Tables Relationships</title><content type='html'>Star schema, which maintains one-to-many relationships between dimensions and a fact table is widely accepted as the most viable data representation for dimensional analysis.&lt;br /&gt;&lt;br /&gt;Realworld DW schema, however, frequently includes many-to-many relationships between a dimensionand a fact table.&lt;br /&gt;&lt;br /&gt;Issues of many-to-many relationships.&lt;br /&gt;1. losing the simplicity of the star schema structure&lt;br /&gt;2. increasing complexity in forming queries, and&lt;br /&gt;3. degrading query performance by adding more joins.&lt;br /&gt;&lt;br /&gt;Two ad-hoc methods to resolve&lt;br /&gt;&lt;br /&gt;1.  Denormalizing the dimension tables.&lt;br /&gt;2.  Building the Bridge Table.&lt;br /&gt;&lt;br /&gt;To find more information :  go to the white paper An Analysis of Many-to-Many Relationships Between Fact andDimension Tables in Dimensional Modeling&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-4702238644693327782?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/4702238644693327782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=4702238644693327782&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/4702238644693327782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/4702238644693327782'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2009/01/fact-and-dimenisional-tables.html' title='Fact and Dimenisional Tables Relationships'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-1587039722830964915</id><published>2009-01-08T14:29:00.000-08:00</published><updated>2009-01-08T14:43:35.998-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dimensional model'/><category scheme='http://www.blogger.com/atom/ns#' term='Design Changes'/><title type='text'>Dimensional Modeling - Design Changes</title><content type='html'>The following changes are anticipated to the design after the data warehouse is up and running&lt;br /&gt;&lt;br /&gt;1. Adding new unanticipated facts (that is, new additive numeric fields in the fact table), as long as they are consistent with the fundamental grain of the existing fact table.&lt;br /&gt;&lt;br /&gt;2. Adding completely new dimensions, as long as there is a single value of that dimension defined for each existing fact record.&lt;br /&gt;&lt;br /&gt;3. Adding new, unanticipated dimensional attributes.&lt;br /&gt;&lt;br /&gt;4. Breaking existing dimension records down to a lower level of granularity from a certain point in time forward.&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-1587039722830964915?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/1587039722830964915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=1587039722830964915&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/1587039722830964915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/1587039722830964915'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2009/01/dimensional-modeling-design-changes-in.html' title='Dimensional Modeling - Design Changes'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-4245412053305131744</id><published>2008-12-21T20:29:00.000-08:00</published><updated>2008-12-21T20:43:18.639-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SAS'/><category scheme='http://www.blogger.com/atom/ns#' term='SPSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Predictive Analytics'/><title type='text'>SPSS Links</title><content type='html'>&lt;a href="http://courses.csusm.edu/resources/spss/"&gt;http://courses.csusm.edu/resources/spss/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.stat.tamu.edu/spss.php"&gt;http://www.stat.tamu.edu/spss.php&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.ats.ucla.edu/stat/spss/"&gt;http://www.ats.ucla.edu/stat/spss/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.ats.ucla.edu/stat/seminars/"&gt;http://www.ats.ucla.edu/stat/seminars/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://faculty.vassar.edu/lowry/webtext.html"&gt;http://faculty.vassar.edu/lowry/webtext.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-4245412053305131744?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/4245412053305131744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=4245412053305131744&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/4245412053305131744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/4245412053305131744'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/12/spss-links.html' title='SPSS Links'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-433296491538760936</id><published>2008-11-24T15:51:00.000-08:00</published><updated>2008-11-24T16:03:23.340-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cubes'/><category scheme='http://www.blogger.com/atom/ns#' term='Data Mining'/><category scheme='http://www.blogger.com/atom/ns#' term='OLAP'/><title type='text'>OLAP Versus Data Mining</title><content type='html'>OLAP is a data summarization/aggregation tool that helps simplify data analysis, while data&lt;br /&gt;mining allows the automated discovery of implicit patterns and interesting knowledge hidden in large amounts of data.&lt;br /&gt;Key is OLAP&lt;br /&gt;&lt;br /&gt;OLAP tools are targeted toward simplifying and supporting interactive data analysis,&lt;br /&gt;whereas the goal of data mining tools is to automate as much of the process as possible,&lt;br /&gt;while still allowing users to guide the process. In this sense, data mining goes one step beyond traditional on-line analytical processing.&lt;br /&gt;Key is OLAP tools&lt;br /&gt;&lt;br /&gt;OLAP functions are essentially for user-directed data summary and comparison&lt;br /&gt;(by drilling, pivoting, slicing,dicing, and other operations). Data mining covers a much broader spectrum than simple OLAP operations because it performs not only data summary and comparison but also association, classification, prediction, clustering, time-series analysis, and other data analysis tasks.&lt;br /&gt;Key is OLAP Operations&lt;br /&gt;&lt;br /&gt;Data mining is not confined to the analysis of data stored in data warehouses. It may&lt;br /&gt;analyze data existing at more detailed granularities than the summarized data provided&lt;br /&gt;in a data warehouse. It may also analyze transactional, spatial, textual, and multimedia&lt;br /&gt;data that are difficult to model with current multidimensional database technology. In&lt;br /&gt;this context, data mining covers a broader spectrum than OLAP with respect to data&lt;br /&gt;mining functionality and the complexity of the data handled.&lt;br /&gt;Key is OLAP data analysis&lt;br /&gt;&lt;br /&gt;Because data mining involves more automated and deeper analysis than OLAP,&lt;br /&gt;data mining is expected to have broader applications. Data mining can help business&lt;br /&gt;managers find and reach more suitable customers, as well as gain critical&lt;br /&gt;business insights that may help drive market share and raise profits. In addition,&lt;br /&gt;data mining can help managers understand customer group characteristics&lt;br /&gt;and develop optimal pricing strategies accordingly, correct item bundling based&lt;br /&gt;not on intuition but on actual item groups derived from customer purchase patterns,&lt;br /&gt;reduce promotional spending, and at the same time increase the overall net&lt;br /&gt;effectiveness of promotions.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-433296491538760936?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/433296491538760936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=433296491538760936&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/433296491538760936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/433296491538760936'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/11/olap-versus-data-mining.html' title='OLAP Versus Data Mining'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-7284511834197433231</id><published>2008-11-11T14:21:00.000-08:00</published><updated>2008-12-16T17:04:56.419-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Derived Tables vs Views vs Inline UDFs vs CTE'/><title type='text'>Table Expressions</title><content type='html'>Four types of table expressions:&lt;br /&gt;1.  Derived tables&lt;br /&gt;2.  Common table expressions (CTEs),&lt;br /&gt;3.  Views&lt;br /&gt;4.  Inline table-valued functions (inline TVFs) also known as Parametrized views.&lt;br /&gt;&lt;br /&gt;Beneifts.&lt;br /&gt;&lt;br /&gt;Table expressions are virtual Tables.&lt;br /&gt;The benefi ts of using table expressions uses a modular approach and not to performance.&lt;br /&gt;&lt;br /&gt;Any Table Expression should meet the following three requirements.&lt;br /&gt;&lt;br /&gt;1.   Order is not guaranteed because the rows in a relational table are not ordered except  with     one restriction using Top Clause with Order By. Here the Order by is used for restricting the rows.&lt;br /&gt;2.  All columns must have names.&lt;br /&gt;3.  All column names must be unique.&lt;br /&gt;&lt;br /&gt;To reuse the definitions , use views and inline TVFs.&lt;br /&gt;Not to reuse the definitions, use dervied tables and CTEs.&lt;br /&gt;&lt;br /&gt;APPLY operator&lt;br /&gt;&lt;br /&gt;Multiple instances of the same CTE The APPLY operator operates on two input tables, the second of which may be a table expression; I’ll refer to them as the left and right tables. The right table is usually a derived table or an inline TVF.&lt;br /&gt;&lt;br /&gt;If the right table expression returns an empty set, the CROSS APPLY operator does not returnthe corresponding left row. To return the empty set use the OUTER Apply.&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;In its non-recursive form, a CTE is an alternative to derived tables, views, and inline user-defined functions (UDFs).&lt;br /&gt;&lt;br /&gt;A derived table is a named table expression that exists for the duration of a query.&lt;br /&gt;Views are also named table expressions that persist in the &lt;a class="iAs" style="FONT-WEIGHT: normal! important; FONT-SIZE: 100%! important; PADDING-BOTTOM: 1px! important; COLOR: darkgreen! important; BORDER-BOTTOM: darkgreen 0.07em solid; BACKGROUND-COLOR: transparent! important; TEXT-DECORATION: underline! important" href="http://www.sqlmag.com/Article/ArticleID/42072/Get_in_the_Loop_with_CTEs.html#" target="_blank" itxtdid="7231272"&gt;database&lt;/a&gt; until you explicitly drop them. Unlike with derived tables&lt;br /&gt;1. a query can refer to a view name multiple times;&lt;br /&gt;2. the view can't refer to variables.&lt;br /&gt;&lt;br /&gt;Inline UDFs have the same characteristics as views except that they can refer to the function's input arguments.&lt;br /&gt;&lt;br /&gt;CTEs have the best features of derived tables, views, and inline UDFs—they are named table expressions that exist only for the duration of the query, that an outer query can refer to multiple times, and that can refer to variables defined in the calling batch. . . .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-7284511834197433231?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/7284511834197433231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=7284511834197433231&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7284511834197433231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7284511834197433231'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/11/table-expressions.html' title='Table Expressions'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-2564341709168434440</id><published>2008-10-31T10:58:00.001-07:00</published><updated>2008-10-31T11:00:51.665-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Business Intelligence'/><category scheme='http://www.blogger.com/atom/ns#' term='SSIS'/><category scheme='http://www.blogger.com/atom/ns#' term='SSAS'/><category scheme='http://www.blogger.com/atom/ns#' term='SSRS'/><title type='text'>Good Sites -- 1</title><content type='html'>&lt;a href="http://ssas-info.com/"&gt;http://ssas-info.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/bi"&gt;www.microsoft.com/bi&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-2564341709168434440?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/2564341709168434440/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=2564341709168434440&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/2564341709168434440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/2564341709168434440'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/10/good-sites-1.html' title='Good Sites -- 1'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-3796526151964182965</id><published>2008-10-03T16:08:00.000-07:00</published><updated>2008-10-04T22:30:19.139-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Data Mining Books'/><title type='text'>Data Mining Books</title><content type='html'>&lt;p&gt;Data Mining Books to buy&lt;/p&gt;&lt;p&gt;1. maraaret h. dunham &lt;/p&gt;&lt;p&gt;2. Jaiwei hau &lt;/p&gt;&lt;p&gt;Introduction to Data Mining By Pang-Ning Tan, Michael Steinbach, Vipin Kumar&lt;/p&gt;&lt;p&gt;Data Mining Videos from Google Talk&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.youtube.com/watch?v=-tWS0tN8sW0"&gt;http://www.youtube.com/watch?v=-tWS0tN8sW0&lt;/a&gt; -- Day 13&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.youtube.com/watch?v=fmZYH3rmqDQ"&gt;http://www.youtube.com/watch?v=fmZYH3rmqDQ&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.youtube.com/watch?v=l4a3e__QzoY"&gt;http://www.youtube.com/watch?v=l4a3e__QzoY&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://www.youtube.com/watch?v=CzvgrcQhWGg"&gt;http://www.youtube.com/watch?v=CzvgrcQhWGg&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.youtube.com/watch?v=xpuB9ydmBsM"&gt;http://www.youtube.com/watch?v=xpuB9ydmBsM&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.youtube.com/watch?v=N5i85v0ckzY"&gt;http://www.youtube.com/watch?v=N5i85v0ckzY&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;a href="http://www.youtube.com/watch?v=zRsMEl6PHhM"&gt;http://www.youtube.com/watch?v=zRsMEl6PHhM&lt;/a&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;-----------------------------------------------------------&lt;/p&gt;&lt;p&gt;Course from stanford university&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.newstats202.com/"&gt;http://www.newstats202.com/&lt;/a&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-3796526151964182965?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/3796526151964182965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=3796526151964182965&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/3796526151964182965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/3796526151964182965'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/10/data-mining-books.html' title='Data Mining Books'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-1230451696077593117</id><published>2008-09-21T15:33:00.001-07:00</published><updated>2008-09-21T15:37:40.687-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Statistics'/><category scheme='http://www.blogger.com/atom/ns#' term='Data Mining'/><title type='text'>Statistics topics needs to cover for Data Mining</title><content type='html'>Data Analytics Competence Spectrum&lt;br /&gt;From Pricing, Risk, Cross-selling, Retention, Time-to-Market, Ad Efficiency and Campaign Management to Acquisition and Growth, and Web Analytics, our Data Analytics capabilities cover a number of possible analyses, using different programming tools and software such as SAS, SPSS, Excel, SQL, Matlab and Siebel. The following is a sample of the techniques used for various types of analysis.&lt;br /&gt;Link Analysis&lt;br /&gt;Multivariate, Linear, Ordinal and Multinomial Regression&lt;br /&gt;Conjoint Analysis&lt;br /&gt;Logistic Regression&lt;br /&gt;Factor Analysis&lt;br /&gt;Survival Analysis&lt;br /&gt;Decision Trees&lt;br /&gt;Clustering&lt;br /&gt;Bayesian Analysis&lt;br /&gt;Neural Networks&lt;br /&gt;Kohonen Maps&lt;br /&gt;Simulation Techniques&lt;br /&gt;Discriminant Analysis&lt;br /&gt;Time Series Analysis&lt;br /&gt;Vendor Performance Management Tool&lt;br /&gt;Sales and Retail Dashboards&lt;br /&gt;Contact Search Tool&lt;br /&gt;Launch Performance Tracking Tool&lt;br /&gt;Market Basket Analysis&lt;br /&gt;Econometric Forecasting&lt;br /&gt;Cycle Research for Technical Analysis&lt;br /&gt;Reporting and Analysis&lt;br /&gt;Optimising Cash and Accounts Payable Management&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-1230451696077593117?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/1230451696077593117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=1230451696077593117&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/1230451696077593117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/1230451696077593117'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/09/statistics-topics-needs-to-cover-for.html' title='Statistics topics needs to cover for Data Mining'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-7249741177904146008</id><published>2008-08-28T13:36:00.000-07:00</published><updated>2008-08-28T13:38:08.086-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BI important sites'/><title type='text'>Microsoft BI sites</title><content type='html'>&lt;p&gt;&lt;a href="http://www.microsoft.com/sql/technologies/reporting/default.mspx"&gt;http://www.microsoft.com/sql/technologies/reporting/default.mspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.microsoft.com/sql/technologies/analysis/default.mspx"&gt;http://www.microsoft.com/sql/technologies/analysis/default.mspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.microsoft.com/sql/technologies/dm/default.mspx"&gt;http://www.microsoft.com/sql/technologies/dm/default.mspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.microsoft.com/sql/technologies/integration/default.mspx"&gt;http://www.microsoft.com/sql/technologies/integration/default.mspx&lt;/a&gt;&lt;br /&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-7249741177904146008?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/7249741177904146008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=7249741177904146008&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7249741177904146008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7249741177904146008'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/08/microsoft-bi-sites.html' title='Microsoft BI sites'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-8961804815464541448</id><published>2008-08-20T14:31:00.000-07:00</published><updated>2008-08-20T14:33:14.443-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Data Mining'/><title type='text'>Sql Server Data Mining</title><content type='html'>&lt;a href="http://www.sqlserverdatamining.com/ssdm/Home/tabid/36/Default.aspx"&gt;http://www.sqlserverdatamining.com/ssdm/Home/tabid/36/Default.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-8961804815464541448?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/8961804815464541448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=8961804815464541448&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/8961804815464541448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/8961804815464541448'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/08/sql-server-data-mining.html' title='Sql Server Data Mining'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-5613253453054304380</id><published>2008-08-07T16:26:00.000-07:00</published><updated>2008-08-07T16:27:49.662-07:00</updated><title type='text'>Sql Server 2005 DMV's</title><content type='html'>Some interesting DMV's in SQL SERVER 2005&lt;br /&gt;&lt;br /&gt;sys.dm_tran_locks&lt;br /&gt;sys.dm_exec_cached_plans&lt;br /&gt;sys.dm_exec_query_plan&lt;br /&gt;sys.dm_exec_sessions&lt;br /&gt;sys.dm_tran_session_transactions&lt;br /&gt;sys.dm_exec_requests&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-5613253453054304380?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/5613253453054304380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=5613253453054304380&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/5613253453054304380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/5613253453054304380'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/08/sql-server-2005-dmvs.html' title='Sql Server 2005 DMV&apos;s'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-2123425505220649849</id><published>2008-07-27T09:20:00.000-07:00</published><updated>2008-07-27T09:50:17.265-07:00</updated><title type='text'>SSRS - Improvoing Performance</title><content type='html'>1. Avoid long running reports,  by creating a report snapshot to run nightly or during low activity on your system.&lt;br /&gt;&lt;br /&gt;2. Define pagination to hide overhead. for example, if a user requests a report that returns 1000 rows of data, you can use page breaking to render the initial page or results while the report server renders the rest of the pages in the background. without pagination, the user would have to wait until it rendered all 1000 rows.&lt;br /&gt;&lt;br /&gt;3. Implement filters for performance.&lt;br /&gt;    If you use report-level filtering on data regions and data grouping rather than using query parameters as filters.&lt;br /&gt;&lt;br /&gt;4. Enable drill down for detail.&lt;br /&gt;     Instead of giving users a report that shows all the data at once, design a summary report that&lt;br /&gt;     presents a subset of data and let usrs drill down to get more detail. using master detail &lt;br /&gt;     reports that take advantage of SSRS's navigation capabilities. Many parts of the report&lt;br /&gt;     controls have navigation property, which we use to create a hyperlink on the control for&lt;br /&gt;     passing the specific values.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-2123425505220649849?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/2123425505220649849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=2123425505220649849&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/2123425505220649849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/2123425505220649849'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/07/ssrs-improvoing-performance.html' title='SSRS - Improvoing Performance'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-3462336153000206723</id><published>2008-07-26T22:07:00.000-07:00</published><updated>2008-07-26T22:48:27.711-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='datamart'/><category scheme='http://www.blogger.com/atom/ns#' term='Dimensional model'/><title type='text'>Dimensional Vs ER Modeling</title><content type='html'>1. The relationship in a Dimensional model don't represent business rules instead they are navigational paths used to help write reports or create graphs. But whereas relationship in ER modeling represents business rules.&lt;br /&gt;2. The primary goal of the ER modeling is to remove all non key data redundancy.&lt;br /&gt;But Dimensional modeling controls data redundancy by confirming dimension and fact tables.&lt;br /&gt;The table that has been confirmed can be used in more than one dimensional data model.&lt;br /&gt;&lt;br /&gt;How to Create a Dimensional Model&lt;br /&gt;&lt;br /&gt;1.  Identity business process by business process and Each business process  can be expressed&lt;br /&gt;     as a data mart&lt;br /&gt;     ---- a modular , highly focused, richly detailed, incrementally designed   componenet&lt;br /&gt;            of the   datawarehouse.&lt;br /&gt;     Initially try to focus on the Single-Source data mart not on multiple source datamat.&lt;br /&gt;     example of single data marts are retail sales, purchase orders, shipments  and payments.&lt;br /&gt;     example of multiple data mart is Customer profitability which combines revenue and costs that often come from sales and inventory databases.&lt;br /&gt;&lt;br /&gt;2.  Grain of the Fact table which is the level of detail that the table captures.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-3462336153000206723?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/3462336153000206723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=3462336153000206723&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/3462336153000206723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/3462336153000206723'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/07/dimensional-vs-er-modeling.html' title='Dimensional Vs ER Modeling'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-4901572212275660053</id><published>2008-06-28T13:04:00.000-07:00</published><updated>2008-06-28T13:06:56.015-07:00</updated><title type='text'>SSRS -- Reporting</title><content type='html'>Report Structure Types&lt;br /&gt;Structured Reports       -- Relational&lt;br /&gt;Structured Grouping  -- OLAP&lt;br /&gt;Structured Attributes  -- Data mining&lt;br /&gt;&lt;br /&gt;Structured Reports    -- Relational&lt;br /&gt;a. Pre-Define Report structure(i.e., Report Structure is Static).&lt;br /&gt;b. Allow Interaction (drill down,slicing) but notdynamic structing. &lt;br /&gt;&lt;br /&gt;Structured Grouping  -- OLAP &lt;br /&gt;a. Pre-define grouping buckets --&lt;br /&gt;b. Report Structure is Dynamic  (Slice &amp;amp; Dice, Dynamic Pivot, Sort and filter)&lt;br /&gt;c. Pre-Summarize data for speed.&lt;br /&gt;&lt;br /&gt;Structured Attributes  -- Data Mining&lt;br /&gt;a.  Pre-define attributes (and model)&lt;br /&gt;b.  Mining model calculates grouping and structure.&lt;br /&gt;c.  Use for Prediction , exploration and analysis.&lt;br /&gt;&lt;br /&gt;Reporting Approaches&lt;br /&gt;1.  OLTP Data  ODS -- Report&lt;br /&gt;2.  Star Schema  ODS -- Staging Table -- Start Schema -- Reeport&lt;br /&gt;3.  OLAP Data  ODS -- Staging Table -- Star Schema -- cube -- Report    &lt;br /&gt;Here we use Extract, Transform and Load.&lt;br /&gt;4.  UDM&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-4901572212275660053?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/4901572212275660053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=4901572212275660053&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/4901572212275660053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/4901572212275660053'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/06/ssrs-reporting.html' title='SSRS -- Reporting'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-4890805999827523447</id><published>2008-05-30T17:25:00.000-07:00</published><updated>2008-05-30T17:26:12.082-07:00</updated><title type='text'>Junk dimensions</title><content type='html'>OLTP tables that are full of flag fields and yes/no attributes, many of which are used for operational support and have no documentation except for the column names.&lt;br /&gt; There are three conventional ways to deal with these attributes: discard all of the miscellaneous attributes, eliminating them from the dimensional design; incorporate the miscellaneous attributes into the fact table; or make each miscellaneous attribute a separate dimension. However, all of these options are less than ideal.&lt;br /&gt;Discarding the data can be dangerous because the miscellaneous values, flags, and yes/no fields might contain valuable business data.&lt;br /&gt;Including the miscellaneous attributes in the fact table could cause the fact table to swell to alarming proportions, especially if you have more than just a few miscellaneous attributes. The increased size of the fact table could cause serious performance problems because of the reduced number of records per physical I/O. Even if you tried to index these fields to minimize the performance problems, you still wouldn’t gain anything because so many of the miscellaneous fields contain flag values such as 0 and 1; Y and N; or open, pending, and closed.&lt;br /&gt;And if you make each miscellaneous attribute a separate dimension, it will most likely result in a complicated dimensional designyou’re looking at a much more complicated star schema and associated cube.&lt;br /&gt;Column names such as Completed, Packed, Shipped, Received, Delivered, and Returned (each with yes/no data values) are very common, and they do have business value. Instead of discarding flag fields and yes/no attributes, I suggest placing them all into a junk dimension that’s organized&lt;br /&gt;The junk dimension shown in Figure 1 represents an order-fulfillment system; the column headers show some of the possible statuses an item that has been ordered can have. Row 1 indicates that the item ordered has been picked out of the warehouse, packed for shipment, shipped, delivered, received, returned for a refund, and restocked in the warehouse. Row 9 shows an item on order that’s waiting to begin the order-fulfillment process. The rows in between indicate items that are in various stages of the orderfulfillment process. This example is very simple because the process is so linear and sequential,&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-4890805999827523447?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/4890805999827523447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=4890805999827523447&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/4890805999827523447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/4890805999827523447'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/05/junk-dimensions.html' title='Junk dimensions'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-6511387169159868919</id><published>2008-05-29T12:54:00.000-07:00</published><updated>2008-05-29T12:56:32.721-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='degenerate dimension'/><category scheme='http://www.blogger.com/atom/ns#' term='data modeling'/><category scheme='http://www.blogger.com/atom/ns#' term='dimensions'/><title type='text'>Degenerate dimension</title><content type='html'>Degenerate dimension is not one that lacks moral structure or integrity. Instead, a degenerate dimension is a dimension that doesn’t exist as a table but is represented in the data warehouse.&lt;br /&gt;Data warehouse dimensional design requires you to include control documents such as invoices, orders, and warranties. Each of these control documents has a control number such as the invoice number, the order number, or the serial number of the item under warranty.&lt;br /&gt;&lt;br /&gt;Degenerate dimensions are simply control numbers that are stored in the fact table of a data warehouse. These control numbers look like keys, but they don’t act like keys; they have no associated dimension to join with. Control numbers provide a way to identify which line items in the fact table were generated as a part of the same order or invoice. Let’s take a look at how to map control numbers from the OLTP database to the fact table in the data warehouse and associate them with each line item&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-6511387169159868919?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/6511387169159868919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=6511387169159868919&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/6511387169159868919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/6511387169159868919'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/05/degenerate-dimension.html' title='Degenerate dimension'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-5654743476167314369</id><published>2008-05-05T09:58:00.000-07:00</published><updated>2008-05-05T11:33:25.558-07:00</updated><title type='text'>Google's own Database</title><content type='html'>&lt;a href="http://labs.google.com/papers/bigtable-osdi06.pdf"&gt;http://labs.google.com/papers/bigtable-osdi06.pdf&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-5654743476167314369?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/5654743476167314369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=5654743476167314369&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/5654743476167314369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/5654743476167314369'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/05/googles-own-database.html' title='Google&apos;s own Database'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-1244245295485040514</id><published>2008-04-29T16:38:00.000-07:00</published><updated>2008-04-29T16:45:56.988-07:00</updated><title type='text'>Any BI Platform should deliver 12 capabilities</title><content type='html'>Magic Quadrant for Business Intelligence&lt;br /&gt;Platforms, 2008&lt;br /&gt;&lt;br /&gt;&lt;a href="http://mediaproducts.gartner.com/reprints/microsoft/vol7/article3/article3.html"&gt;http://mediaproducts.gartner.com/reprints/microsoft/vol7/article3/article3.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Gartner defines a BI platform as a software platform that delivers the 12 capabilities listed below.&lt;br /&gt;&lt;br /&gt;Integration&lt;br /&gt;BI infrastructure — All tools in the platform should use the same security, metadata, administration, portal integration, object model and query engine, and should share the same look and feel.&lt;br /&gt;&lt;br /&gt;Metadata management — This is arguably the most important of the 12 capabilities. Not only should all tools leverage the same metadata, but the offering should provide a robust way to search, capture, store, reuse and publish metadata objects such as dimensions, hierarchies, measures, performance metrics and report layout objects.&lt;br /&gt;&lt;br /&gt;Development — The BI platform should provide a set of programmatic development tools — coupled with a software developer's kit for creating BI applications — that can be integrated into a business process, and/or embedded in another application. The BI platform should also enable developers to build BI applications without coding by using wizard-like components for a graphical assembly process. The development environment should also support Web services in performing common tasks such as scheduling, delivering, administering and managing.&lt;br /&gt;&lt;br /&gt;Workflow and collaboration — This capability enables BI users to share and discuss information via public folders and discussion threads. In addition, the BI application can assign and track events or tasks allotted to specific users, based on pre-defined business rules. Often, this capability is delivered by integrating with a separate portal or workflow tool.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Information Delivery&lt;br /&gt;Reporting — Reporting provides the ability to create formatted and interactive reports with highly scalable distribution and scheduling capabilities. In addition, BI platform vendors should handle a wide array of reporting styles (for example, financial, operational and performance dashboards).&lt;br /&gt;&lt;br /&gt;Dashboards — This subset of reporting includes the ability to publish formal, Web-based reports with intuitive displays of information, including dials, gauges and traffic lights. These displays indicate the state of the performance metric, compared with a goal or target value. Increasingly, dashboards are used to disseminate real-time data from operational applications.&lt;br /&gt;&lt;br /&gt;Ad hoc query — This capability, also known as self-service reporting, enables users to ask their own questions of the data, without relying on IT to create a report. In particular, the tools must have a robust semantic layer to allow users to navigate available data sources. In addition, these tools should offer query governance and auditing capabilities to ensure that queries perform well.&lt;br /&gt;&lt;br /&gt;Microsoft Office integration — In some cases, BI platforms are used as a middle tier to manage, secure and execute BI tasks, but Microsoft Office (particularly Excel) acts as the BI client. In these cases, it is vital that the BI vendor provides integration with Microsoft Office, including support for document formats, formulas, data "refresh" and pivot tables. Advanced integration includes cell locking and write-back.&lt;br /&gt;&lt;br /&gt;Analysis&lt;br /&gt;OLAP — This enables end users to analyze data with extremely fast query and calculation performance, enabling a style of analysis known as "slicing and dicing." This capability could span a variety of storage architectures such as relational, multidimensional and in-memory.&lt;br /&gt;&lt;br /&gt;Advanced visualization — This provides the ability to display numerous aspects of the data more efficiently by using interactive pictures and charts, instead of rows and columns. Over time, advanced visualization will go beyond just slicing and dicing data to include more process-driven BI projects, allowing all stakeholders to better understand the workflow through a visual representation.&lt;br /&gt;&lt;br /&gt;Predictive modeling and data mining — This capability enables organizations to classify categorical variables and estimate continuous variables using advanced mathematical techniques.&lt;br /&gt;&lt;br /&gt;Scorecards — These take the metrics displayed in a dashboard a step further by applying them to a strategy map that aligns key performance indicators to a strategic objective. Scorecard metrics should be linked to related reports and information in order to do further analysis. A scorecard implies the use of a performance management methodology such as Six Sigma or a balanced scorecard framework.&lt;br /&gt;&lt;br /&gt;Where the Microsoft BI stands&lt;br /&gt;&lt;br /&gt;Strengths&lt;br /&gt;&lt;br /&gt;Microsoft's pricing and integration with its Office (including its major CPM-led innovation of 2007, PerfomancePoint Server) and SQL Server products are especially attractive to organizations that have standardized on the Microsoft information infrastructure. The bundling and pricing of its BI products makes them an economically attractive offering that will be considered by many organizations.&lt;br /&gt;Microsoft's BI products appeal to the large community of Microsoft application developers. Microsoft's BI platform provides developers with infrastructure, development tools, workflow and collaboration capabilities that are held in higher regard than those of many of its competitors.&lt;br /&gt;Microsoft is benefiting from developing its indirect sales and services channel and market awareness of its SQL Server, Office and SharePoint Portal installed base. As a result, Microsoft estimates that it now has around 2,000 OEM/ISV partners for its BI products. Many departmental and business unit end users who hear the Office and SharePoint integration marketing messages for BI will likely ask for the products and associated support from their IT departments.&lt;br /&gt;According to the customers we contacted as part of his research, Microsoft offers the best BI software quality of all the megavendors, with over half of them reporting no problems with software. This reflects Microsoft's focus on BI, the strength of its product line management team and the fact that much of its BI technology has been internally developed rather than acquired.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Cautions&lt;br /&gt;&lt;br /&gt;Microsoft was late to join the BI platforms market and it is still playing catch up. According to customers, its still lags behind pure-play vendors in terms of metadata management, reporting, and dashboard and ad hoc query capabilities. However, Microsoft is in it for the long haul and Gartner expects that it will continue to grow its BI investments in order to become a stronger competitor. Organizations that have heterogeneous applications, information infrastructure and development environments will find Microsoft's BI-related marketing and announcements to be interesting but potentially distracting, since they may not easily integrate with their existing investments in infrastructure and applications. Despite its price advantage, Microsoft will face increasing competitive pressure as BI becomes a market where strategic sourcing, of more than just BI capabilities, takes precedence over features and functions, and as the other megavendors' acquisitions coalesce into their product stacks.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-1244245295485040514?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/1244245295485040514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=1244245295485040514&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/1244245295485040514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/1244245295485040514'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/04/any-bi-platform-should-deliver-12.html' title='Any BI Platform should deliver 12 capabilities'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-7550608918745224742</id><published>2008-04-16T17:48:00.000-07:00</published><updated>2008-09-16T17:13:44.682-07:00</updated><title type='text'>Good Sites for understanding Data-Mining Therotical Concepts</title><content type='html'>Courtsey by Adnan Masood&lt;br /&gt;&lt;br /&gt;&lt;a href="http://ocw.mit.edu/OcwWeb/Sloan-School-of-Management/15-062Data-MiningSpring2003/CourseHome/index.htm"&gt;http://ocw.mit.edu/OcwWeb/Sloan-School-of-Management/15-062Data-MiningSpring2003/CourseHome/index.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.kdnuggets.com/courses/index.html"&gt;http://www.kdnuggets.com/courses/index.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.kdnuggets.com/education/usa-canada.html"&gt;http://www.kdnuggets.com/education/usa-canada.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.kdnuggets.com/education/online.html"&gt;http://www.kdnuggets.com/education/online.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.statistics.com/"&gt;http://www.statistics.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Top 10 websites of Data Mining&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a title="http://kdnuggets.com/" href="http://kdnuggets.com/"&gt;kdnuggets.com&lt;/a&gt; 27&lt;br /&gt;&lt;a title="http://sas.com/" href="http://sas.com/"&gt;sas.com&lt;/a&gt; 24&lt;br /&gt;&lt;a title="http://kaushik.net/" href="http://kaushik.net/"&gt;kaushik.net&lt;/a&gt; 15&lt;br /&gt;&lt;a title="http://analyticbridge.com/" href="http://analyticbridge.com/"&gt;analyticbridge.com&lt;/a&gt; 10&lt;br /&gt;&lt;a title="http://datashaping.com/" href="http://datashaping.com/"&gt;datashaping.com&lt;/a&gt; 8&lt;br /&gt;&lt;a title="http://juiceanalytics.com/" href="http://juiceanalytics.com/"&gt;juiceanalytics.com&lt;/a&gt; 8&lt;br /&gt;&lt;a title="http://www.r-project.org/" href="http://www.r-project.org/"&gt;r-project.org&lt;/a&gt; 7&lt;br /&gt;&lt;a title="http://google.com/" href="http://google.com/"&gt;google.com&lt;/a&gt; 5&lt;br /&gt;&lt;a title="http://videolectures.net/" href="http://videolectures.net/"&gt;videolectures.net&lt;/a&gt; 5&lt;br /&gt;&lt;a title="http://analyticrecruiting.com/" href="http://analyticrecruiting.com/"&gt;analyticrecruiting.com&lt;/a&gt; 4&lt;br /&gt;&lt;a title="http://informs.org/" href="http://informs.org/"&gt;informs.org&lt;/a&gt; 4&lt;br /&gt;&lt;a title="http://webanalyticsdemystified.com/" href="http://webanalyticsdemystified.com/"&gt;webanalyticsdemystified.com&lt;/a&gt; 4&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-7550608918745224742?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/7550608918745224742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=7550608918745224742&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7550608918745224742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7550608918745224742'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/04/good-sites-for-understanding-data.html' title='Good Sites for understanding Data-Mining Therotical Concepts'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-6020243894979246899</id><published>2008-03-16T18:14:00.001-07:00</published><updated>2008-04-29T16:53:17.526-07:00</updated><title type='text'>Dimensional Modeling Concepts to Learn</title><content type='html'>To understand Dimensional Modeling ,&lt;br /&gt;Following concepts are very very important&lt;br /&gt;&lt;br /&gt;&lt;a href="http://kimballgroup.com/html/kucourseMDWD.html"&gt;http://kimballgroup.com/html/kucourseMDWD.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Basic dimensional modeling concepts&lt;br /&gt;• Conformed dimensions&lt;br /&gt;• Slowly changing dimensions&lt;br /&gt;• Additional concepts in dimensional modeling&lt;br /&gt;-Hierarchies and snowflaking&lt;br /&gt;-Degenerate and junk dimensions&lt;br /&gt;-Many to many dimensions&lt;br /&gt;• The dimensional modeling process&lt;br /&gt;&lt;br /&gt;---------------------------------------------------------&lt;br /&gt;&lt;br /&gt;• Populating dimension tables&lt;br /&gt;-Using the slowly changing dimension wizard&lt;br /&gt;-Avoiding the slowly changing dimension wizard&lt;br /&gt;&lt;br /&gt;• Populating fact tables&lt;br /&gt;-Basic fact table processing&lt;br /&gt;-The surrogate key pipeline&lt;br /&gt;-Advanced issues in fact table processing&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------&lt;br /&gt;A Good Link&lt;br /&gt;&lt;a href="http://kimballgroup.com/html/articles.html"&gt;http://kimballgroup.com/html/articles.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;!-- google_ad_client = "pub-8135542388406865"; /* My blog content ad 468x60, created 4/11/08 */ google_ad_slot = "5301129267"; google_ad_width = 468; google_ad_height = 60; //--&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;br /&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-6020243894979246899?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/6020243894979246899/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=6020243894979246899&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/6020243894979246899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/6020243894979246899'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/03/dimensional-modeling-concepts-to-learn.html' title='Dimensional Modeling Concepts to Learn'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-7029748887596953187</id><published>2008-03-16T14:52:00.000-07:00</published><updated>2008-03-16T14:54:08.724-07:00</updated><title type='text'>Types of Dimensions</title><content type='html'>Dimensions are of 3 types mainly in case of slowly changing dimensions: &lt;br /&gt;&lt;br /&gt;Type 1 -&gt;Doesnt maintain any history and is update only.&lt;br /&gt;&lt;br /&gt;Type 2-&gt; Maintains full history.Insert row when certain attributes change else update row.The latest record is identified by a flag or date field which is called the MRI or Most Recent Indicator&lt;br /&gt;&lt;br /&gt;Type 3-&gt;Maintains partial history.History is maintained as columns and not rows.Hence it is predecided as to till how many levels of history you want to maintain.&lt;br /&gt;&lt;br /&gt;There are three types of Dimesions &lt;br /&gt;&lt;br /&gt;Confirmed Dimensios, Junk Dimesions, Degenerative Dimesions &lt;br /&gt;&lt;br /&gt;Comfirmed is some thing which can be shared by shared by multiple Fact Tables or multiple Data Marts.&lt;br /&gt;&lt;br /&gt;Junk Dimensiions is grouping flagged values &lt;br /&gt;&lt;br /&gt;Degenerative Dimension is something dimensional in nature but exist fact table.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-7029748887596953187?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/7029748887596953187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=7029748887596953187&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7029748887596953187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7029748887596953187'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/03/types-of-dimensions.html' title='Types of Dimensions'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-2435914935381302481</id><published>2008-02-12T17:30:00.000-08:00</published><updated>2008-02-12T17:32:01.170-08:00</updated><title type='text'></title><content type='html'>&lt;strong&gt;SSRS - 2000 Query  to Retreive all the reports subscribed to a File Share &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;select DeliveryExtension,ExtensionSettings&lt;br /&gt;,CHARINDEX('\\', ExtensionSettings)&lt;br /&gt;,substring(ExtensionSettings,CHARINDEX('\\', ExtensionSettings),80)&lt;br /&gt;from CataLog c (nolock)inner join ReportSchedule r (nolock) &lt;br /&gt;on (c.ItemID = r.reportid)&lt;br /&gt;inner join Subscriptions s  (nolock) &lt;br /&gt;on (s.SubscriptionID = r.SubscriptionID)&lt;br /&gt;where DeliveryExtension = 'Report Server FileShare'&lt;br /&gt;and ExtensionSettings like '%&lt;name&gt;PATH&lt;/name&gt;%'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-2435914935381302481?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/2435914935381302481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=2435914935381302481&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/2435914935381302481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/2435914935381302481'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/02/ssrs-2000-query-to-retreive-all-reports.html' title=''/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1354681663235645540.post-7906608326035047647</id><published>2008-02-06T15:13:00.000-08:00</published><updated>2008-02-06T15:18:15.889-08:00</updated><title type='text'>SQL SERVER 2005</title><content type='html'>From Today, I will make sure to post something related to &lt;strong&gt;Sql Server 2005.&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1354681663235645540-7906608326035047647?l=peddireddy999.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peddireddy999.blogspot.com/feeds/7906608326035047647/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1354681663235645540&amp;postID=7906608326035047647&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7906608326035047647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1354681663235645540/posts/default/7906608326035047647'/><link rel='alternate' type='text/html' href='http://peddireddy999.blogspot.com/2008/02/sql-server-2005.html' title='SQL SERVER 2005'/><author><name>Peddireddy's</name><uri>http://www.blogger.com/profile/03523719799697674974</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
