<?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:blogger='http://schemas.google.com/blogger/2008' 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-316911497471739624</id><updated>2024-09-01T06:20:07.745-04:00</updated><title type='text'>the BI plumber</title><subtitle type='html'>...bringing blue-collar work ethics to the Business Intelligence arena.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://thebiplumber.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/316911497471739624/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://thebiplumber.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01129779758432406219</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-316911497471739624.post-3000933902469538433</id><published>2009-11-13T21:00:00.001-05:00</published><updated>2009-11-13T21:01:07.678-05:00</updated><title type='text'>Recursive Common Table Expressions</title><summary type="text">Problem:&amp;nbsp; I need to load a lot of dummy data into a table and time is limited.

Solution:&amp;nbsp; Common Table Expressions (CTE) used in a recursive fashion.&amp;nbsp; Here is an excellent demo on how CTE’s can be used recursively: 

&amp;nbsp;http://www.simple-talk.com/content/print.aspx?article=260

Example:

SET NOCOUNT ON

CREATE TABLE [sqlCTE]([field_bigint] [bigint] NULL) ON [PRIMARY]
GO

</summary><link rel='replies' type='application/atom+xml' href='http://thebiplumber.blogspot.com/feeds/3000933902469538433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebiplumber.blogspot.com/2009/11/recursive-common-table-expressions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/316911497471739624/posts/default/3000933902469538433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/316911497471739624/posts/default/3000933902469538433'/><link rel='alternate' type='text/html' href='http://thebiplumber.blogspot.com/2009/11/recursive-common-table-expressions.html' title='Recursive Common Table Expressions'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01129779758432406219</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-316911497471739624.post-445352920642081280</id><published>2009-10-28T19:37:00.001-04:00</published><updated>2009-11-07T00:33:52.163-05:00</updated><title type='text'>Rounding issues with OLE DB Destination in SSIS</title><summary type="text">Problem:&amp;nbsp; Your MS Excel source data holds a value, 12.3456789.&amp;nbsp; You need to INSERT this value into a SQL Server destination table with a column of type decimal(19,2).&amp;nbsp; The desired result is 12.35, however when you use the SSIS Data Flow Task with the OLE DB source and destination components, your result is 12.34.&amp;nbsp; By default, the underlying code in the SSIS task will truncate </summary><link rel='replies' type='application/atom+xml' href='http://thebiplumber.blogspot.com/feeds/445352920642081280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebiplumber.blogspot.com/2009/10/fw-rounding-issues-with-ole-db.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/316911497471739624/posts/default/445352920642081280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/316911497471739624/posts/default/445352920642081280'/><link rel='alternate' type='text/html' href='http://thebiplumber.blogspot.com/2009/10/fw-rounding-issues-with-ole-db.html' title='Rounding issues with OLE DB Destination in SSIS'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01129779758432406219</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTCYUwt8Y9DGIJIJkbaVTp5Bmlo9iAJgIgwIckhGMCrBAEEy2uRTCm8rif9FotsP9sjfeGHX0Qz9xIyhYpMaoKGr27eXGKIbTsaESVuGD7Oey_U5zhdGLqR4Diwk_Dkcu_rZJM0aJV3VPv/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-316911497471739624.post-5090188294719723267</id><published>2009-10-22T22:13:00.008-04:00</published><updated>2009-10-22T22:46:33.662-04:00</updated><title type='text'>Demystifying the SSIS PIVOT and UNPIVOT Data Flow Tasks</title><summary type="text">From a high-level, general point of view:

PIVOT: &amp;nbsp;turns ROWS into COLUMNS
UNPIVOT: &amp;nbsp;turns COLUMNS into ROWS

From a graphical point of view:
PIVOT:

UNPIVOT:


From another graphical point of view:
PIVOT: 


UNPIVOT:


From a logical point of view:
PIVOT: &amp;nbsp;If you need to summarize or group your row data, most likely you will need to use the PIVOT task

UNPIVOT: &amp;nbsp;If you have a</summary><link rel='replies' type='application/atom+xml' href='http://thebiplumber.blogspot.com/feeds/5090188294719723267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebiplumber.blogspot.com/2009/10/demystifying-ssis-pivot-and-unpivot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/316911497471739624/posts/default/5090188294719723267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/316911497471739624/posts/default/5090188294719723267'/><link rel='alternate' type='text/html' href='http://thebiplumber.blogspot.com/2009/10/demystifying-ssis-pivot-and-unpivot.html' title='Demystifying the SSIS PIVOT and UNPIVOT Data Flow Tasks'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01129779758432406219</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGCi7g_eCTvYkZnksOAaAI90Az6vvuHs5mb32MWwHt4BbzKjCW2Lr5e7u5D8Jk_bpqeJr_8F7MA4JgQ5CXPp08SuKWG5AW40X97TPOP6eqO961PVUjpWuV2GxRnbm1OQLIJennYN655oqD/s72-c/PIVOT_Pivot_Example.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-316911497471739624.post-9170528976937244923</id><published>2009-10-12T23:27:00.000-04:00</published><updated>2009-10-12T23:27:24.084-04:00</updated><title type='text'>Hello world!</title><summary type="text">Thanks for visiting, here you will find BI posts from a long time .NET developer newly turned Data Architect! &amp;nbsp;I hope you will find answers to your BI-related questions.


</summary><link rel='replies' type='application/atom+xml' href='http://thebiplumber.blogspot.com/feeds/9170528976937244923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebiplumber.blogspot.com/2009/10/hello-world.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/316911497471739624/posts/default/9170528976937244923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/316911497471739624/posts/default/9170528976937244923'/><link rel='alternate' type='text/html' href='http://thebiplumber.blogspot.com/2009/10/hello-world.html' title='Hello world!'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01129779758432406219</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjw1OYkLLozbHrypk8TJhFvfBXUtbVa74nq942n1SV-jq_Lz7nlv4oWh_uEmBtxgF7Cht18aUkxryDnvKOjTxIx6G5PUOF1PUvtJRrSZPVfwF6oV2nLftrau8GVoD055ENtPe7QZBWyIuoj/s72-c/plumber.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>