gmmastros,
Thank you again!!
you are right. I have 4 fields which are all uniqueidentifier. I only cast the hard code one. Will check all and test.
Thanks a lot.
Hi,
I need insert a hard code uniqueidentifier into a table, data type is uniqueidentifier. The value was got from another table and data type is uniqueidentifier. But when I execute the script, I got error:
"Conversion failed when converting from a character string to uniqueidentifier." the...
I am sorry.
The value that I inserted is between 0-F, I changed it incorrectly when I posted. The value I used is from another table with the same data type. But I still got the same error.
Thanks lot!!
It is working!
But a new issue comes out. I have one field which is uniqueidentifier data type and I need to hard code that field. When I insert it, I got the error "Conversion failed when converting from a character string to uniqueidentifier." even I did...
Hi,
I need insert records into table1 if condition in table2 is met. The insert values include constant values and values that are selected from table2. How can I do it?
There are 10 fields in table1, 5 fields are constant value, 5 fields need to be selected from table2 when condition, such as...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.