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