Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oracle DB: Improve display of RAW columns #542

Merged
merged 1 commit into from May 4, 2020

Conversation

daniel-liuzzi
Copy link
Contributor

@daniel-liuzzi daniel-liuzzi commented Apr 18, 2020

Similar to #344, except for Oracle DB.

SELECT HEXTORAW('67453E129BE8D312A456426655440000') FROM DUAL;

Before

{
  "data": [
    103,
    69,
    62,
    18,
    155,
    232,
    211,
    18,
    164,
    86,
    66,
    102,
    85,
    68,
    0,
    0
  ],
  "type": "Buffer"
}

After

67453E129BE8D312A456426655440000

Format is the same as Oracle SQL Developer's.

```sql
SELECT HEXTORAW('67453E129BE8D312A456426655440000') FROM DUAL;
```

**Before**

```
{
  "data": [
    103,
    69,
    62,
    18,
    155,
    232,
    211,
    18,
    164,
    86,
    66,
    102,
    85,
    68,
    0,
    0
  ],
  "type": "Buffer"
}
```

**After**

```
67453E129BE8D312A456426655440000
```

Format is the same as Oracle SQL Developer's.
Copy link
Contributor

@mickeypearce mickeypearce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @daniel-liuzzi.

@mtxr mtxr merged commit 01fffc6 into mtxr:master May 4, 2020
@daniel-liuzzi daniel-liuzzi deleted the fix-oracle-raw branch May 4, 2020 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants