SqlServerParser
SQL Server specific parser implementation using SqlParserCS
public sealed class SqlServerParser : ISqlParser
Methods
ParseSql(string)
public Result<SelectStatement, string> ParseSql(string sql)
Parses the specified SQL into a Result containing either a SelectStatement or an error.
Parameters:
| Name | Type | Description |
|---|---|---|
sql |
String |
The SQL text to parse. |
Returns: String> - A Result containing either a SelectStatement or an error message.