Skip to content

Commit

Permalink
Merge pull request #2 from 1DontEx1st/patch-1
Browse files Browse the repository at this point in the history
slow SQL fix
  • Loading branch information
amtwo committed May 21, 2019
2 parents e90e690 + 87d63a2 commit ffe274f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Install-LatestDbaDatabase.ps1
Expand Up @@ -40,7 +40,7 @@ foreach($instance in $instanceName) {
$fileList = Get-ChildItem -Path .\tables -Recurse
Foreach ($file in $fileList){
Write-Verbose $file.FullName
Invoke-Sqlcmd -ServerInstance $instance -Database DBA -InputFile $file.FullName
Invoke-Sqlcmd -ServerInstance $instance -Database DBA -InputFile $file.FullName -QueryTimeout 300
}
#Then scalar functions
Write-Verbose "`n ***Creating/Updating Scalar Functions `n"
Expand Down Expand Up @@ -86,4 +86,4 @@ foreach($instance in $instanceName) {
}

#That's it!
}
}

0 comments on commit ffe274f

Please sign in to comment.