I need to write a simple shell function that returns a single field from an Oracle DB. Think of it as for example SELECT \'ABC\' FROM dual; and ABC is what I a
Based on Justin's answer (which is great), when you only need to select one number (or token), I consider this a little shorter, yet more readable version: