Who is online?  0 guests and 3 members
Home  »  Blogs  »  timmurphy: October 2011

Communifire Blogs

Blogs RSS Feed

timmurphy :October 2011 postings

timmurphy

Interesting Use for Recursive Common Table Expression

10/27/2011 by timmurphy  -  Comments: 2  -  Views: [26433]

Remember when you used to have to write your times tables out? You had to because there was no such thing as a pocket calculator. It is sad that I remember that. You would get a piece of lined paper and write 1 2 3 4 5 6 7 8 9 10 horizontally and then vertically and start filling in the products in a grid. Yes that was also before you had to learn the 11 and 12 times table. Well here is an easier way using a recursive CTE. First, I was looking for a way to populate a table with numbers from 1 to...

Read More

timmurphy

ErrorCode Causes ErrorCode

10/6/2011 by timmurphy  -  Comments: 0  -  Views: [654]

I have a table with a column named ErrorCode. When I tried to use it in a data flow in SSIS I got this error: [SSIS.Pipeline] Error: The package contains two objects with the duplicate name of "output column "ErrorCode" (2048)" and "output column "ErrorCode" (2285)". The reason for this is because SSIS automatically creates a column named ErrorCode which is used for internal error handling. By right clicking the datasource and selecting Show Advanced Editor you can rename the SSIS generated Erro...

Read More

Page 1 of 1 (2 items)