Hi,
I have a feature that is installed locally called SQLINSTALLATION.
For a particular SQL script I have the following condition: -
(&SQLINSTALLATION = 3) AND (PRIMARY_DATABASE_VERSION <> "000000000") AND (PRIMARY_DATABASE_VERSION < "005014000")
The primary database version is set to "006002000".
I would expect the test to be true as I have checked the feature to be installed locally.
However, I get an error because there is a reference to sys.objects in the first few lines of the sql script. This is ok I can change it to sysobjects.
My point is why is it attempting to run the script at all? Does it do a parse before checking the condition?
Regards,
John
FOLLOW US
Get the latest news in Application Packaging