tcimis
MIS
- Jun 6, 2002
- 32
We are converting a database from Oracle to SQL Server. Does anyone know what the equivalent is in SQL Server for the following Oracle syntax:
1. trunc(sysdate) In Oracle this sets the time on the date to midnight.
2. Does SQL Server have a table like the Oracle dual table?
I can always add my own just wanted to know if a similar table existed in SQL Server.
3. to_char - converts Oracle date into a character string.
4. to_date - converts character string or number into an Oracle date.
Thanks!
1. trunc(sysdate) In Oracle this sets the time on the date to midnight.
2. Does SQL Server have a table like the Oracle dual table?
I can always add my own just wanted to know if a similar table existed in SQL Server.
3. to_char - converts Oracle date into a character string.
4. to_date - converts character string or number into an Oracle date.
Thanks!