sql-metadata icon indicating copy to clipboard operation
sql-metadata copied to clipboard

Statement DECLARE produces error in MSSQL.

Open cmistiloglou opened this issue 1 year ago • 0 comments

When writing a SQL query using MSSQL it does not recognize the DECLARE statement.

Example:

DECLARE @SpecifiedName NVARCHAR(10) = '%LEX%';

The produced error:

ValueError: Not supported query type!

Version: sql_metadata==2.13.0

cmistiloglou avatar Sep 04 '24 08:09 cmistiloglou