Created
May 18, 2015 13:41
-
-
Save ivanelson/02fed59bb184f2853230 to your computer and use it in GitHub Desktop.
Between - Diferença entre Postgres e Oracle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ORACLE: | |
- cd_chave_la varchar2(6) | |
SELECT cd_chave_la from tab_inaugura where cd_chave_la between 'TEZ 1 ' and 'TEZ 1Z'; | |
// OUTPUT: | |
"TEZ 1S" | |
POSTGRESQL | |
- cd_chave_la varchar(6) | |
SELECT cd_chave_la from tab_inaugura where cd_chave_la between 'TEZ 1 ' and 'TEZ 1Z'; | |
// OUTPÙT: | |
"TEZ 1S" | |
"TEZ15" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment