When developers working with SQL Server “Denali”, MS SQL Server 2008 R2 and MS SQL Server 2005 want to rename a query, they should follow the next steps:
1. From the View menu, choose Solution Explorer.
2. In Solution Explorer, right-click the query they want to rename and click Rename …