I need to remove time for the date column I dont why the time is coming can any one help me
Asked
Active
Viewed 185 times
1 Answers
0
You can convert datetime to string in your SQL procedure. Here you can find the formats.
For example, if you want to convert datetime to format dd-MM-yyyy, use query:
CONVERT(NVARCHAR(10), GETDATE(), 105)
If you want to sort data using date, leave the actual date in your SQL procedure. This date you will use for sorting, and string for display. Don't use string for sorting because it will use alphanumeric rules.

Marko Radivojević
- 458
- 2
- 7
- 11
-
i am using oracle sql – Keshav Raj Apr 17 '20 at 09:04
-
@KeshavRaj Sorry for the late reply. Maybe this article can help you: https://stackoverflow.com/questions/13591546/oracle-date-to-string-conversion – Marko Radivojević Apr 24 '20 at 20:28