Skip to content
This repository was archived by the owner on Jun 29, 2019. It is now read-only.

Commit 5152f2f

Browse files
committed
Update RunSQL_SQL_Walkthrough.ps1
Added the definition of webclient
1 parent 7f343a7 commit 5152f2f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Misc/RSQL/RunSQL_SQL_Walkthrough.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ $p = [System.Runtime.InteropServices.Marshal]::PtrToStringAuto($p1)
166166
$csvfilepath = Read-Host -Prompt 'Input the path to the csv file you want to upload to the database'
167167

168168
# Check whether BCP is intalled on the computer. If no, install it.
169+
$web_client = new-object System.Net.WebClient
169170
try
170171
{
171172
$bcp_path = SearchBCP

0 commit comments

Comments
 (0)