Quantcast
Channel: SQLServerCentral » Programming » Powershell » Latest topics
Viewing all articles
Browse latest Browse all 467

Application Intent with Invoke-SQLcmd

$
0
0
Are you able to specify read-only routing in invoke-SQLcmd? $dataTable = Invoke-Sqlcmd -Query $Query -Database $SourceDatabaseName -ServerInstance $SourceServerName ;maybe add something like -READONLY = TRUE? or -APPlicationintent = 'readonly'I can't seem to find anything on it.

Viewing all articles
Browse latest Browse all 467

Latest Images

Trending Articles



Latest Images