05.00.01.SqlDataProvider:
-I 'Find and Replaced' databaseOwner & objectQualifier with dbo & dnn_NPC_
I copied and pasted the script into a Mangment Studio Query - and received the following errors:
Msg 102, Level 15, State 1, Line 11
Incorrect syntax near '}'.
Msg 102, Level 15, State 1, Line 13
Incorrect syntax near '}'.
Msg 102, Level 15, State 1, Line 4
Incorrect syntax near '{'.
Msg 102, Level 15, State 1, Line 5
Incorrect syntax near 'PackageID'.
Msg 102, Level 15, State 1, Line 7
Incorrect syntax near '{'.
Msg 102, Level 15, State 1, Line 2
Incorrect syntax near '{'.
Msg 137, Level 15, State 2, Line 13
Must declare the scalar variable "@ViewOrder".
...
...
...
Msg 102, Level 15, State 1, Line 3
Incorrect syntax near 'URL'.
Here is an example of the first few lines of the script:
IF (SELECT COUNT(*) FROM {dbo}{dnn_NPC_}PackageTypes WHERE [PackageType] = N'DashboardControl') = 0
BEGIN
INSERT INTO {dbo}{dnn_NPC_}PackageTypes
([PackageType], [Description], [SecurityAccessLevel])
VALUES(N'DashboardControl', N'Dashboard Control', 3)
END
---
DotNetNuke.Schema.SqlDataProvider:
I copied and pasted the script into a Mangment Studio Query - and received the following errors:
...
...
...
Msg 102, Level 15, State 1, Line 3
Incorrect syntax near '{'.
Msg 102, Level 15, State 1, Line 34
Incorrect syntax near '}'.
Msg 102, Level 15, State 1, Line 3
Incorrect syntax near '{'.
The query has exceeded the maximum number of error messages. Only the first 1000 messages will be displayed.
Example of the script:
GO
ALTER TABLE {dbo}[{dnn_NPC_}Lists]
ADD
CONSTRAINT [PK_{dnn_NPC_}Lists]
PRIMARY KEY
([ListName], [Value], [Text], [ParentID])
GO