Welcome to SqlAdvice Sign in | Join | Help

June 2006 - Posts

ORDER BY has never been technically 'allowed' in a view definition. For example, the following code: CREATE VIEW dbo.[UsersByFirstName] AS SELECT * FROM dbo.[users] ORDER BY [FirstName] GO will throw an error if you attempt to run it. Books Online for Read More...
Index Tuning is something that I _really_ enjoy - mostly because I just love seeing performance improvements. It's always exciting to see tangible improvements in existing systems. Recently while looking into a query that was causing a lot of reads for Read More...