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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

major changes

Status
Not open for further replies.

CNTower

Programmer
Nov 17, 2006
3
CA
Are there any major changes to the actual SQL language such that older scripts will cause errors?

i.e. is there 100% backward compatibility with older versions of sqlserver?
 
Older DML should continue to work fine. The problem you will run into is that some of the commands have changed. For example BACKUP DATABASE used to be called DUMP DATABASE. sp_grantlogin is now CREATE LOGIN.

If you use system tables they can change between versions.

In SQL 2000 and SQL 7 in the sysusers table the roles column held the first role that the login was a member of. In SQL 2005 that column is always null.

Your regular SELECT, INSERT, UPDATE and DELETE commands should continue to work fine. It's the calls to the system objects and the DDL commands that have changed for the most part.

Denny
MCSA (2003) / MCDBA (SQL 2000) / MCTS (SQL 2005) / MCITP Database Administrator (SQL 2005)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
I do belive that if you used the oldstyle joins you may have problems in 2005. These are ones without explicitily using the word join in them. If you did this with outer joins, these are a problemin 200 as well as they do not correctly resolve and give the worng data in return.

Questions about posting. See faq183-874
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top