I consistently get the errors below each time I run the "./setup.ps1" command in the "dp-203/Allfiles/labs/01" directory that is set up after running "git clone https://github.com/MicrosoftLearning/dp-203-azure-data-engineer dp-203". The errors appear to only affect the object creation on the Dedicated SQL Pool database "sqlxxxxxxx", as the database and systems objects exists, but no views or tables used in the exercise "Use a dedicated SQL Pool to query a data warehouse" are created.
All elements needed for the other exercises work perfectly after installation.
Consol text segment containing the errors:
Creating the sql20v5bin database...
sqlcmd: /home/eric/dp-203/Allfiles/labs/01/setup.ps1:208
Line |
208 | sqlcmd -S "$synapseWorkspace.sql.azuresynapse.net" -U $sqlUser -P $sq …
| ~~~~~~
| **The term 'sqlcmd' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.**
Loading data...
/home/eric/dp-203/Allfiles/labs/01/data/DimCurrency.txt
bcp: /home/eric/dp-203/Allfiles/labs/01/setup.ps1:217
Line |
217 | bcp dbo.$table in $file -S "$synapseWorkspace.sql.azuresynapse.ne …
| ~~~
| **The term 'bcp' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.**
/home/eric/dp-203/Allfiles/labs/01/data/DimCustomer.txt
bcp: /home/eric/dp-203/Allfiles/labs/01/setup.ps1:217
Line |
217 | bcp dbo.$table in $file -S "$synapseWorkspace.sql.azuresynapse.ne …
| ~~~
| **The term 'bcp' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.**
/home/eric/dp-203/Allfiles/labs/01/data/DimDate.txt
bcp: /home/eric/dp-203/Allfiles/labs/01/setup.ps1:217
Line |
217 | bcp dbo.$table in $file -S "$synapseWorkspace.sql.azuresynapse.ne …
| ~~~
| **The term 'bcp' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.**
/home/eric/dp-203/Allfiles/labs/01/data/DimGeography.txt
bcp: /home/eric/dp-203/Allfiles/labs/01/setup.ps1:217
Line |
217 | bcp dbo.$table in $file -S "$synapseWorkspace.sql.azuresynapse.ne …
| ~~~
| **The term 'bcp' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.**
/home/eric/dp-203/Allfiles/labs/01/data/DimProduct.txt
bcp: /home/eric/dp-203/Allfiles/labs/01/setup.ps1:217
Line |
217 | bcp dbo.$table in $file -S "$synapseWorkspace.sql.azuresynapse.ne …
| ~~~
| **The term 'bcp' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.**
/home/eric/dp-203/Allfiles/labs/01/data/DimProductCategory.txt
bcp: /home/eric/dp-203/Allfiles/labs/01/setup.ps1:217
Line |
217 | bcp dbo.$table in $file -S "$synapseWorkspace.sql.azuresynapse.ne …
| ~~~
| **The term 'bcp' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.**
/home/eric/dp-203/Allfiles/labs/01/data/DimProductSubCategory.txt
bcp: /home/eric/dp-203/Allfiles/labs/01/setup.ps1:217
Line |
217 | bcp dbo.$table in $file -S "$synapseWorkspace.sql.azuresynapse.ne …
| ~~~
| **The term 'bcp' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.**
/home/eric/dp-203/Allfiles/labs/01/data/DimPromotion.txt
bcp: /home/eric/dp-203/Allfiles/labs/01/setup.ps1:217
Line |
217 | bcp dbo.$table in $file -S "$synapseWorkspace.sql.azuresynapse.ne …
| ~~~
| **The term 'bcp' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.**
/home/eric/dp-203/Allfiles/labs/01/data/DimSalesTerritory.txt
bcp: /home/eric/dp-203/Allfiles/labs/01/setup.ps1:217
Line |
217 | bcp dbo.$table in $file -S "$synapseWorkspace.sql.azuresynapse.ne …
| ~~~
| **The term 'bcp' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.**
/home/eric/dp-203/Allfiles/labs/01/data/FactInternetSales.txt
bcp: /home/eric/dp-203/Allfiles/labs/01/setup.ps1:217
Line |
217 | bcp dbo.$table in $file -S "$synapseWorkspace.sql.azuresynapse.ne …
| ~~~
| **The term 'bcp' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.**
Pausing the sql20v5bin SQL Pool...
This question is related to the following Learning Module