Tried to remove entries from Exceptions and EventLog tables in DNN version 7.4.2 using the script mentioned in the following URL.
http://www.dnnsoftware.com/community-blog/cid/155180/howto-truncate-your-eventlog-in-dnn-740
However, it is giving the following error message in SQL management studio.
---
Msg 102, Level 15, State 1, Line 3
Incorrect syntax near '{'.
Msg 102, Level 15, State 1, Line 7
Incorrect syntax near '{'.
Msg 102, Level 15, State 1, Line 12
Incorrect syntax near '}'.
Msg 178, Level 15, State 1, Line 13
A RETURN statement with a return value cannot be used in this context.
Msg 102, Level 15, State 1, Line 17
Incorrect syntax near '}'.
Msg 102, Level 15, State 1, Line 42
Incorrect syntax near '}'.
Msg 102, Level 15, State 1, Line 43
Incorrect syntax near '{'.
Msg 102, Level 15, State 1, Line 50
Incorrect syntax near '}'.
Msg 102, Level 15, State 1, Line 52
Incorrect syntax near '{'.
Msg 102, Level 15, State 1, Line 62
Incorrect syntax near 'ACTION'.
Msg 102, Level 15, State 1, Line 66
Incorrect syntax near '{'.
---
Can someone help to solve this problem?