You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
576 B
C#
21 lines
576 B
C#
static internal class AssertSqlHelper
|
|
{
|
|
public static bool IgnoreStatement(string item)
|
|
{
|
|
if (item.Contains("COALESCE"))
|
|
return true;
|
|
if (item.Contains("CONVERT"))
|
|
return true;
|
|
if (item.Contains("WHEN"))
|
|
return true;
|
|
if (item.Contains("LEFT JOIN"))
|
|
return true;
|
|
if (item.Contains("INNER JOIN"))
|
|
return true;
|
|
if (item.Contains("CROSS JOIN"))
|
|
return true;
|
|
if (item.Contains("CHARINDEX"))
|
|
return true;
|
|
return false;
|
|
}
|
|
} |