Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Server 2005

Status
Not open for further replies.

Smeglor

IS-IT--Management
Jan 16, 2004
70
US
I have migrated our SQL Server 2000 database to SQL Server 2005. The migrated db is still in compatibility mode 80. I want to upgrade the compatibility mode to 90, but I have many sql statements embedded into my asp.net c# app. The SQL Upgrade analyzer checked for all stored procs, queries, view etc and showed me which items need to be changed in the database to be compatible with compatibility mode 90. Is there anything out the that can scan the queries in my .cs files and tell you which queries need to be modified to be compatible with SQL Server compatibility level 90?

asp.net 1.1.4

I don't know sir...I guess its broke.
 
Not that I know of, and really, how could there be a tool to do this since the query is embedded in other text, there is no way for it to know what is SQL and wahat isn't? The same goes for any code that dynamically creates SQL.
You can just take any SWL from your code, and paste it in Management Studio, and use the tool to check the compatibility there.
 
You may have a compelling reason to move your code's T-SQL to stored procedures.

It's usually a preferred approach where possible for reasons of security, manageability and performance.

MCP, MCTS - .NET Framework 2.0 Web Applications
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top