mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 21:18:13 -05:00
cast varchar
This commit is contained in:
parent
54cca818ac
commit
2e40766255
@ -54,14 +54,14 @@ BEGIN
|
|||||||
UPDATE
|
UPDATE
|
||||||
[CTE]
|
[CTE]
|
||||||
SET
|
SET
|
||||||
[Data] = JSON_MODIFY(
|
[Data] = CAST(JSON_MODIFY(
|
||||||
[Data],
|
[Data],
|
||||||
@UrisPath,
|
@UrisPath,
|
||||||
JSON_QUERY(
|
CAST(JSON_QUERY(
|
||||||
'[{"Uri":"' + JSON_VALUE([Data], @UriPath) + '"}]',
|
'[{"Uri":"' + CAST(JSON_VALUE([Data], @UriPath) AS VARCHAR(MAX)) + '"}]',
|
||||||
'$'
|
'$'
|
||||||
)
|
) AS VARCHAR(MAX))
|
||||||
)
|
) AS VARCHAR(MAX))
|
||||||
OUTPUT INSERTED.[Id] INTO [CompletedIds]
|
OUTPUT INSERTED.[Id] INTO [CompletedIds]
|
||||||
|
|
||||||
SET @BatchSize = @@ROWCOUNT
|
SET @BatchSize = @@ROWCOUNT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user