0

I would like use the following sql statement in my code:

SELECT ..., DATA.EXT_ID AS NUMBER, ... FROM DATA;

But I can't since "NUMBER" is a keyword. Is there any way around this? Thanks!

anonymouse
  • 579
  • 1
  • 7
  • 17

1 Answers1

3

Use double quotes around the keyword:

SELECT DATA.EXT_ID AS "NUMBER" FROM DATA;
MT0
  • 113,669
  • 10
  • 50
  • 103