Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
sql2020
Yak Posting Veteran
54 Posts |
Posted - 2011-06-08 : 23:44:53
|
HIhere the example on advisor report how analyse this difficulties for upgrade. please look on thisDatabase Server |PreOrPostUpgrade| Remove statements that modify system objects| Upgrade Advisor detected statements that update the system catalog. Direct system catalog updates are not allowed in SQL Server 2005 or later. Modify your SQL scripts to use official and documented APIs.| Source Type: Database |Database: ABCD |Object Name: sp_ResetUser |Object Type: P |sp_configure Command: allow updates sql2020 |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
sql2020
Yak Posting Veteran
54 Posts |
Posted - 2011-06-09 : 02:42:41
|
here the sp:SET QUOTED_IDENTIFIER OFF GOSET ANSI_NULLS ON GOCreate Procedure sp_ResetUser(@UserID sysname) Asexec sp_configure 'Allow Updates', 1Reconfigure With OverrideUpdate sysusersSet sid = l.SidFrom master..syslogins lWhere sysusers.Name = l.NameAnd l.Name = @UserIDexec sp_configure 'Allow Updates', 0Reconfigure With OverrideGOSET QUOTED_IDENTIFIER OFF GOSET ANSI_NULLS ON GOsql2020 |
 |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
sql2020
Yak Posting Veteran
54 Posts |
Posted - 2011-06-09 : 21:10:35
|
Can i know how?sql2020 |
 |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|