PowerShell Development: Querying SQL Server

preview_player
Показать описание
A quick code walk through of a custom function that executes queries against a SQL Server database. Includes coverage of key concepts.

Code available at:
Рекомендации по теме
Комментарии
Автор

Very useful demonstration. Can you also demonstrante an ODBC select?

michaeldobala
Автор

Curious to know the benefits or draw backs of using the SQLPS module vs SQL Native client,


Also if you schedule a powershell job using SQL agent, what version of powershell is sql agent using? Can you change it? Am i left to invoking powershell and passing the .ps1 file on the job step if I want to use certain cmdlets?

If I loaded a function in memory would I be able to use that function in the job step and have sql agent call it given it as permission to perform said task?

alextexas
Автор

Could please come up with a course on using azure api using powershell.

sumitshanker
Автор

That was fantastic... How can you run multiple sql statements in multiple script files using invoke sql command in powershell?

TarekFaham
Автор

Can you provide the link for the code please?

tanmaysathaye