Skip to content

Commit d657dc9

Browse files
authored
Merge pull request #306 from AnshumanX304/query_fix
fix: mssql query fix
2 parents a7b85b2 + 220b6b5 commit d657dc9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dcs_core/integrations/databases/mssql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def query_get_table_columns(
175175
database = self.quote_database(self.database)
176176
query = (
177177
"SELECT column_name, data_type, ISNULL(datetime_precision, 0) AS datetime_precision, ISNULL(numeric_precision, 0) AS numeric_precision, ISNULL(numeric_scale, 0) AS numeric_scale, collation_name, ISNULL(character_maximum_length, 0) AS character_maximum_length "
178-
f"FROM {database}.information_schema.columns"
178+
f"FROM {database}.information_schema.columns "
179179
f"WHERE table_name = '{table}' AND table_schema = '{schema}'"
180180
)
181181
rows = self.fetchall(query)

0 commit comments

Comments
 (0)