Hi,
I use
Invoke-SqlScalar to call a store procedure in MySQL
The store procedure do a lot of update and takes for example 3700 seconds.
I have trace the process of the store procedure, see the last command (logged in a table that the Store procedure is completed)
The issue:
- i suse the followig to call store procedure :
$result = Invoke-SqlScalar -Query $query -ConnectionName $this.Connection.ConnectionName -CommandTimeout 4800 -ErrorAction SilentlyContinue -ErrorVariable SqlError -WarningAction SilentlyContinue
so after 3700 the strore procedure complte on MySQL side, but the run of the Invode-SqlScalar is completed/finish when reach the time of of 4800
Why is the invoke-scalar not notify about the completion/end of the Store Procedure ?
regards
Hi,
I use
Invoke-SqlScalar to call a store procedure in MySQL
The store procedure do a lot of update and takes for example 3700 seconds.
I have trace the process of the store procedure, see the last command (logged in a table that the Store procedure is completed)
The issue:
$result = Invoke-SqlScalar -Query $query -ConnectionName $this.Connection.ConnectionName -CommandTimeout 4800 -ErrorAction SilentlyContinue -ErrorVariable SqlError -WarningAction SilentlyContinue
so after 3700 the strore procedure complte on MySQL side, but the run of the Invode-SqlScalar is completed/finish when reach the time of of 4800
Why is the invoke-scalar not notify about the completion/end of the Store Procedure ?
regards