I am trying to delete a record from a SQL server table using a GUID. The WHERE clause in my sql statement uses a field in the table that is defined as a uniqueidentifier and the GUID that i am passing is a string value.
I am get the error "Conversion failed when converting from a character string to uniqueidentifier". How can i convert the string GUID value so that i can delete this record. I am using vb.net and SQL Server 2008
Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!