psql - skip all formatting and spit just the data I'm asking for
Hi!
I'm creating a bash script and I want to get a single value from a single table in the DB... no formatting, no column name, no nothing, just the value of that column I'm asking for (single row in the table).
-q does remove a lot of stuff but I still get the column name, "-------------", and the number of rows in the result.
Thanks in advance.
|