i have using aqua data studio to run my query from sql server 2005. The error show when i run my sql.
This is my sql
select TO_CHAR(entered,'DD/MM/YYYY') AS DATE_D from customer
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Maybe something like this:
This will get you the format
dd/mm/yyyy. For other date format see this linkEDIT
If you want a parameter for date. Then it dependes on if you want to do the comparisen on the date or the converted varchar. Here is too examples:
Or with datetime like this: