We have found out the error occurs during searching in which partition scheme or filegroup the currently loaded unique constraint is.
In any case, it’s a mystery for us why the problem occurs.
We’re afraid, we will need your assistance.
Please check out the Private Messages section for my message.
Here’s a quick summary of what we found.
Problem 1: Problem that Tom encountered. The problem occurs during searching in which partition scheme or filegroup the currently loaded unique constraint is.
CR 68 959
Problem 2:
This part of code of function
…
UNIQUE CLUSTERED(lvl, n) – Index will be used to filter lvl
)
was loaded as
…
UNIQUE CLUSTERED(lvl, n) – Index will be used to filter lvl )
Which is not correct, because the ending parenthesis ")“ is considered as part of comment. In current TDM version you can solve this problem this way: in the RE Wizard select the "Load Some Objects as SQL Sentence Only“ checkbox.
This problem has been registered under CR 68 961.
I’m happy to inform you that both problems were already fixed and the fixes will be available in next TDM version.
Note: The fixes were done also for MS SQL 2008.
A big ‘Thank you’ goes to Tom. Tom, thanks for your great co-operation!