Nearly all databases have their own date formatting functions.
See the many questions tagged sql, date-formatting, date, format to learn more.
You can also search stackoverflow for:<your database>
date
format
Following you will find solutions for the other 4 most commonly used SQL databases (besides Oracle oracle already answered):
IBM DB2 db2
.. then you can use VARCHAR_FORMAT scalar function.
This works on LUW (Linux/Unix/Windows) as well as iSeries (formerly AS400) systems.
Your SQL query would then look like this:
SELECT
VARCHAR_FORMAT(date,'Month DD, YYYY') as formatted_date
, percent
FROM
errorpercent
WHERE
percent > 1
See also:
.. then you can use DATE_FORMAT scalar function.
Your SQL query would then look like this:
SELECT
DATE_FORMAT(date, '%M %D, %Y') as formatted_date
, percent
FROM
errorpercent
WHERE
percent > 1
See also:
Microsoft SQL Server sql-server
.. then you can use CONVERT scalar function.
Your SQL query would then look like this:
SELECT
CONVERT(VARCHAR, date, 107) as formatted_date
, percent
FROM
errorpercent
WHERE
percent > 1
See also:
.. then you can use TO_CHAR scalar function.
Your SQL query would then look like this:
SELECT
TO_CHAR(date, 'Month DD, YYYY') as formatted_date
, percent
FROM
errorpercent
WHERE
percent > 1
See also: