|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, May 21, 2012 2:48 PM
Points: 8,
Visits: 46
|
|
Hi,
I am getting syntax error. please see below...
Msg 102, Level 15, State 1, Line 14 Incorrect syntax near '('. Msg 102, Level 15, State 1, Line 14 Incorrect syntax near '('. Msg 102, Level 15, State 1, Line 14 Incorrect syntax near '('. Msg 102, Level 15, State 1, Line 14 Incorrect syntax near '('.
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Tuesday, May 07, 2013 8:12 AM
Points: 275,
Visits: 679
|
|
The script is written such that the compatibility level all databases must be 90.
To check run select compatibility_level from sys.databases
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, May 21, 2012 2:48 PM
Points: 8,
Visits: 46
|
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Tuesday, May 07, 2013 8:12 AM
Points: 275,
Visits: 679
|
|
100 should work just fine, it's really SQL 2000 (80) that's the issue.
I use the script all the time on SQL 2005, SQL 2008 servers. If even 1 db is in mode 80 that's the error your typically get.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, May 21, 2012 2:48 PM
Points: 8,
Visits: 46
|
|
Hi Jon,
Still getting this...
Msg 102, Level 15, State 1, Line 14 Incorrect syntax near '('.
(0 row(s) affected)
(0 row(s) affected)
can you please copy and paste your script in the Article you posted, and run it in sql 2008? I hope you will get the same error as I got.
Thanks.
|
|
|
|