未验证 提交 5eaa8b2b 编写于 作者: S Serge Rider 提交者: GitHub

Merge pull request #11965 from dbeaver/sybaseComment#7394

#7394 add double slash comment for Sybase
......@@ -271,4 +271,14 @@ public class SQLServerDialect extends JDBCSQLDialect {
}
return super.getUnquotedString(string);
}
@Override
public String[] getSingleLineComments() {
if (!isSqlServer) {
// Sybase support also double slash as comment indicator (and "%" - but not recommend to use it in documentation)
return new String[]{"-- ", "//"};
} else {
return super.getSingleLineComments();
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册