@ -11,5 +11,15 @@ namespace SqlSugar
{
public override string SqlTranslationLeft { get { return "["; } }
public override string SqlTranslationRight { get { return "]"; } }
public override string RemoveParentheses(string sql)
if (sql.Contains("ORDER BY"))
sql = $"SELECT * FROM {sql.Replace("(SELECT ", "(SELECT TOP 1000000")} TEMP";
}
return sql;