WITH TestCTE (id) AS ( SELECT id FROM table ) SELECT * FROM TestCTEA CTE can be used in place of a view in some instances.
Thursday, 28 March 2013
What is a CTE?
Subscribe to:
Post Comments (Atom)
-
When SQL Server executes a query it uses a query plan to determine how to access data and complete the query. SQL Server offers DBAs and d...
No comments:
Post a Comment