Help creating an INSERT INTO statement
I am inserting rows into SQL Server 2005 from PowerShell. I need to add a WHERE NOT EXISTS clause to my code to stop inserting duplicates. I am testing the SQL code in SSMS and cannot get it to work. Where is the mistake in the following code? INSERT INTO dbo.PrptyValSrce (PrptySrceName, PrptyNameSrce, PrptyValSrce, PrptyTS) VAL...