1

I would like to convert code from T-SQL to SQLScript, here is my sample select statement in T-SQL:

select cast ( 10 as binary )

Output is: 0x0000A

When I write this code in HANA, I get this result: 3130

How can I get this input 0x0000A in Hana?

So when I type select hextobin(0xA) from dummy I get 10 but how can I get 0xA from 10?

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
Houssem Hariz
  • 55
  • 3
  • 12

0 Answers0