• katesl (12/1/2008)


    The CTE is the way programmers get around not having database permission to create a view. Application programmers and "architects" who think "who needs a DBA?" write queries from the point of view that the database is a box that holds the records of interest to them. The point of view of the DBA is to create views that are generally useful in the business model.

    Lets be careful how we define application programmers. I have been developing in SQL Server since version 4. I am acknowledged by my DBAs as having considerably more SQL application development and tuning experience than they do, primarily because my background before SQL Server was in a declarative language and because I program SQL applications daily. Be that as it may, I still consider myself an application developer, even though my language of choice is SQL rather than C#.

    ------------
    Buy the ticket, take the ride. -- Hunter S. Thompson