不要怂,就是干,撸起袖子干!

Commit cc836ba8 by Fabian Krüger Committed by GitHub

fix(mssql): cast sql_variant in query generator (#11994)

1 parent 9785c585
Showing with 1 additions and 1 deletions
...@@ -195,7 +195,7 @@ class MSSQLQueryGenerator extends AbstractQueryGenerator { ...@@ -195,7 +195,7 @@ class MSSQLQueryGenerator extends AbstractQueryGenerator {
"COLUMN_DEFAULT AS 'Default',", "COLUMN_DEFAULT AS 'Default',",
"pk.CONSTRAINT_TYPE AS 'Constraint',", "pk.CONSTRAINT_TYPE AS 'Constraint',",
"COLUMNPROPERTY(OBJECT_ID(c.TABLE_SCHEMA+'.'+c.TABLE_NAME), c.COLUMN_NAME, 'IsIdentity') as 'IsIdentity',", "COLUMNPROPERTY(OBJECT_ID(c.TABLE_SCHEMA+'.'+c.TABLE_NAME), c.COLUMN_NAME, 'IsIdentity') as 'IsIdentity',",
"prop.value AS 'Comment'", "CAST(prop.value AS NVARCHAR) AS 'Comment'",
'FROM', 'FROM',
'INFORMATION_SCHEMA.TABLES t', 'INFORMATION_SCHEMA.TABLES t',
'INNER JOIN', 'INNER JOIN',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!