Apr 22, 2003 #1 Gnism Technical User Jan 9, 2003 29 US In our database the first_name field is in ALL CAPS. How can I convert/display the name JOHN to John in the query results or the report?
In our database the first_name field is in ALL CAPS. How can I convert/display the name JOHN to John in the query results or the report?
Apr 22, 2003 1 #2 carp MIS Sep 16, 1999 2,622 US This probably depends on your RDBMS. In Oracle, you could use the INITCAP function: SELECT initcap(first_name) FROM my_table WHERE first_name = 'JOHN'; INITCAP(FIRST_NAME) -------------------- John Upvote 0 Downvote
This probably depends on your RDBMS. In Oracle, you could use the INITCAP function: SELECT initcap(first_name) FROM my_table WHERE first_name = 'JOHN'; INITCAP(FIRST_NAME) -------------------- John
Apr 22, 2003 Thread starter #3 Gnism Technical User Jan 9, 2003 29 US That's what i needed - Thanks. Upvote 0 Downvote