There are some features that are deprecated in sql server and are mentioned in Microsoft site but when i use it in both versions it parses in both , i have a question that if i have to change them or not ??? bellow are the features that is used in sqlserver 2008r2.
sysobjects : what should i use , is it right to use sys.objects instead
sysoindexes : what should i use, is it right to use sys.indexes instead