SQLExample

suggest change

For querying all the data from table MachineName we can use the command like below one.

$Query=“Select * from MachineName”

$Inst=“ServerInstance”

$DbName=“DatabaseName

$UID=“User ID”

$Password=“Password”

Invoke-Sqlcmd2 -Serverinstance $Inst -Database $DBName -query $Query -Username $UID -Password $Password

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


SQL queries:
* SQLExample

Table Of Contents
1 Loops
19 XML
22 Strings
25 Aliases
47 MongoDB
52 SQL queries
65 AWS S3