Question : Novell ODBC Driver for NDS

Using an older driver version I was able to run a query against NDS and output it to Excel. I would use this to compile a list of all the application objects in the tree and thier respective GUIDs.

The output of said query using the older driver version would look like this:

NDS_Name      App:GUID
Application X      5AD6CF70-DE04-11D1-8E8A-00AA002F5283

Using the currently available driver, and running the same query my output looks like this:

NDS_Name      App:GUID
Application X             35414436434637302D444530342D313144312D384538412D303041413030324635323833

How do I convert this string into format in the frist example?

Thanks in advance.

Answer : Novell ODBC Driver for NDS

I guess I am the only one here who can "see" the code by looking at it!  :)  All those years coding in Hex (assembler anyone?) has finally paid off...

original:

5AD6CF70-DE04-11D1-8E8A-00AA002F5283

new:

35414436434637302D444530342D313144312D384538412D303041413030324635323833


anyone else see it?  Want a hint?

Here is the hint: "2D" is for Dash...

5AD6CF70-
35414436434637302D

DE04-
444530342D

11D1-
313144312D

8E8A-
384538412D

00AA002F5283
303041413030324635323833

It's ANSI people!

You know - code 41 is "A", code 42 is "B", code 30 is "0", code 31 is "1"
Launch Character Map in Windows, put your cursor over the dash - you'll see it come up with U+002D

2D is for Dash...

:)
Random Solutions  
 
programming4us programming4us