Created
August 25, 2017 04:10
-
-
Save hearimm/88535a2e6c69aff2cefc8157da06dad9 to your computer and use it in GitHub Desktop.
Oracle TableColumn Underscore to Camelcase
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
| SELECT LOWER(SUBSTR(COLUMN_NAME,0,1)) || SUBSTR(REPLACE(INITCAP(COLUMN_NAME),'_',''),2) | |
| FROM ALL_TAB_COLS | |
| WHERE TABLE_NAME = 'ADC_DL_MODEL' | |
| ; | |
| --from : HELLO_WORLD | |
| --to : helloWorld |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment