When running a SQL query within SQL it runs fine. When running it within Powershell with the Invoke-Sqlcmd statement it returns the error: "A column named '***' already belongs to this DataTable". Is there a way to get round
this, or another sql connector that may be better? Thank you.
↧