'Incorrect syntax near the keyword 'EXISTS'.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
1 ano atrás
'Incorrect syntax near the keyword 'EXISTS'

THIS ERROR ON UP() FUNCTION OF MIGRATION.CS
USING NOP 4.5.3
SQL 2019
VS 2022

ANY ONE HOW TO SOLVE THIS
1 ano atrás
What is the code - what are you doing ?

If checking for the existance of a table
if (Schema.Schema("dbo").Table(NameCompatibilityManager.GetTableName(typeof(XXX))).Exists())
{
//do something
}

Where XXX is the table name
1 ano atrás
issue fixed after upgrading sql server 2019. it was sql server issue

thank yu..
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.