on 07-20-2015 9:26 AM
Hello Experts
I would like to convert a GUID to rawtohex("GUID") in a SQL Script view. I was able to do it as a calc. column in the Grapical view and as bintohex("GUID") in SQL Script, but want it in the Script view. Please provide your suggestions. Thanks.
Regards.
Hi,
the below should do the job in a SQL stmt
SELECT .... cast("GUID" AS NVARCHAR(16)) AS conv_guid
FROM ...
Thanks
Jayant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.