Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase ««12

Query-generated Column Expressions Expand / Collapse
Posted Wednesday, May 26, 2010 7:08 AM


Group: General Forum Members
Last Login: Wednesday, January 26, 2011 1:32 PM
Points: 146, Visits: 327

I tweaked it for SQL 2005 - and I was not a fan of <column> as <column> when nothing was done to the data. Plus I don't think the final SQL generated was runnable, but that might have been me.

Really neat concept - patterns are the way to go.

Post #928211
Posted Wednesday, May 26, 2010 4:46 PM



Group: General Forum Members
Last Login: Today @ 10:10 AM
Points: 42,046, Visits: 39,431
Thanks for the feedback guys.

--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

Helpful Links:
How to post code problems
How to post performance problems
Post #928668
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse