ApexSQL Diff cannot recognize 'forcescan' keywords

Hi,

   I just download and evaluate ApexSQL for my company. I export one of our DB to SQL script, modify it and compare with the original script directory 

 One of our databases got the following parse error.

Parsing errors: Parse error: [Incorrect syntax near 'forcescan'] at [position: 47009, line: 554, column: 56]

...
dbo.sdct_OR_MailClassLookup mcl3 with (forcescan) on mcl3.MailClassID = upl.MailClassID left join
dbo.sdct_OR_TrackingEventMapGlobalPost
mgp with (forceseek) on pu.TrackingName = mgp.OriginalEventName and

...

<DatabaseSettings>
<Collation>SQL_Latin1_General_CP1_CI_AS</Collation>
<ServerVersion>Sql2014</ServerVersion>
<ServerName>xxx</ServerName>
<DatabaseName>ClientSupportServicesDb</DatabaseName>
</DatabaseSettings>

Let me know this keyword is supported or not.

Thanks.

- Kelvin

Parents
  • Another issue, I check "Script USE for database" and Add header but it is no different in the sync script output. i.e. There is no USE statement generate at the start of file. 

  • Hi Kelvin, we might have an bug here but to handtle this the proper way, please go to support.quest.com and log a Service Request. We will be involving def on this.

  • I did send the request to support, see  Message ID: [QSE001ENU] in your system. 

    It is obvious whenever my SP has 'forcescan' keywords I will got a parse error.

    However, the support staff return me 2 times and told me it may be a file or database "Permission error" and said he can't reproduce it even though I give him the file.

    Hello, first there is no database involves, I compare file folders with other file folders. Second, if the file has permission will not able to open that file and report parse error for that line at the beginning.

    I am starting to lose confidence for the support.

Reply
  • I did send the request to support, see  Message ID: [QSE001ENU] in your system. 

    It is obvious whenever my SP has 'forcescan' keywords I will got a parse error.

    However, the support staff return me 2 times and told me it may be a file or database "Permission error" and said he can't reproduce it even though I give him the file.

    Hello, first there is no database involves, I compare file folders with other file folders. Second, if the file has permission will not able to open that file and report parse error for that line at the beginning.

    I am starting to lose confidence for the support.

Children