Skip to content

Commit

Permalink
Cleanup from removed column and overlooked CONCAT
Browse files Browse the repository at this point in the history
Forgot to clean comma from removed column and the very CONCAT used as an example in mtxr#440, was not converted using the ISNULL() approach.
  • Loading branch information
glha committed Nov 6, 2019
1 parent 18aba76 commit eec1e55
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/core/dialect/mssql/queries.ts
Expand Up @@ -98,10 +98,10 @@ SELECT
f.specific_name AS name,
f.routine_schema AS dbSchema,
f.routine_catalog AS dbName,
concat(
f.routine_schema,
'.',
f.routine_name
(
ISNULL(f.routine_schema, '') +
ISNULL('.', '') +
ISNULL(f.routine_name, '')
) as signature,
COALESCE(STUFF
(
Expand All @@ -123,7 +123,7 @@ SELECT
) +
ISNULL('${TREE_SEP}', '') +
ISNULL(f.specific_name, '')
) AS tree,
) AS tree
FROM
information_schema.routines AS f
LEFT JOIN information_schema.parameters AS p ON (
Expand Down

0 comments on commit eec1e55

Please sign in to comment.