Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -967,13 +967,14 @@ FROM missing m
|
|||||||
|
|
||||||
CROSS JOIN (
|
CROSS JOIN (
|
||||||
SELECT ISNULL(MAX(
|
SELECT ISNULL(MAX(
|
||||||
CASE
|
CASE
|
||||||
WHEN ISNUMERIC(Barcode)=1
|
WHEN ISNUMERIC(Barcode)=1
|
||||||
THEN CAST(Barcode AS BIGINT)
|
THEN CAST(Barcode AS BIGINT)
|
||||||
ELSE NULL
|
ELSE NULL
|
||||||
END
|
END
|
||||||
),0) MaxBarcode
|
),0) AS MaxBarcode
|
||||||
FROM dbo.prItemBarcode
|
FROM dbo.prItemBarcode
|
||||||
|
) seed
|
||||||
`, strings.Join(values, ","), orderHeaderParam, usernameParam, usernameParam)
|
`, strings.Join(values, ","), orderHeaderParam, usernameParam, usernameParam)
|
||||||
|
|
||||||
chunkStart := time.Now()
|
chunkStart := time.Now()
|
||||||
|
|||||||
Reference in New Issue
Block a user