Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Powershell Invoke-Sqlcmd error

$
0
0
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.

Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>