sql query to convert date to mm/dd/yyyy hh:mi:ss including AM/PM.
SELECT to_char(sysdate,'mm/dd/yyyy hh:mi:ss PM')Alias from dual;
output-
11/14/2012 07:56:46 AM
SQLQueriesCollection is blog for all sql queries in SqlServer at one place.SQL,SQL Query,SQL Queries,SQL Query Code,SQL Query Example,SQL Query Syntax,Basic Sql Queries,Query,SQL Examples,SQL Basic Queries,Structured Query Language,sql oracle queries,oracle sql queries,sql queries in oracle,sql-oracle,oracle sql.oracle basics,sql basics,oracle sql examples,sql orqcle examples
No comments:
Post a Comment