How do we get current date in SQL Server 2000, Oracle, MS
Access?
Answers were Sorted based on User's Feedback
In Access We USE 'Select Date()'
In Sql server 2000 'Select getdate()'
In Oracle 'Select SysDate() from dual'
| Is This Answer Correct ? | 43 Yes | 13 No |
In Access 'Select date()'
In Oracle 9i 'Select Sysdate from dual;'
In SQL Server 2000 'Select Getdate()'
| Is This Answer Correct ? | 33 Yes | 7 No |
Answer / sridhar kumar nelanti
we use getdate()in SQL server to view current date and in
oracle we use sysdate().
| Is This Answer Correct ? | 27 Yes | 7 No |
Answer / nikita
i donot abt the SQLserver2000and MSaccess.But in ORACLE we
get current date by following SQLstmt:
SELECT sysdate() FROM DUAL;
| Is This Answer Correct ? | 32 Yes | 14 No |
Answer / jayesh l lolariya
select getdate(); in sql server 2000
| Is This Answer Correct ? | 10 Yes | 5 No |
Answer / kaveesh
select sysdate from dual; It works in ORACLe 10g.
Kaveesh
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / suhel
This command is not working, I transferred MySQL database
to SQL Server 2000 database.
Please tell me the actual command to use
| Is This Answer Correct ? | 9 Yes | 7 No |
Answer / vineet yadav
In Sql Server It will be ( Select getDate() )
And in ORacler (Select SysDate() from dual;)
| Is This Answer Correct ? | 5 Yes | 3 No |
Answer / parmanand
Access 2000 , i have tried.
select date() as CurrDate
select now() as CurrNow 'This will also work but it will
give you time also.
Output
CurrDate
----------
11/17/2009
CurrNow
----------
11/17/2009 11:00:34 PM
| Is This Answer Correct ? | 2 Yes | 3 No |
What are the steps need to be take improve the speed of a SQLDATA Server?
How to use subqueries in the from clause in ms sql server?
What are actions, how many types of actions are there, explain with example? : sql server analysis services, ssas
How to find 6th highest salary from Employee table ?
What is the parse query button used for?
How to change location of errorlog in SQL?
Explain what is it unwise to create wide clustered index keys?
What is resource governor in sql server?
What is the process of normalising?
How to get a list of columns in a view using the "sp_help" stored procedure?
How send email from database?.
3 Answers CarrizalSoft Technologies, Merrill Lynch,
List some of the rules that apply to creating and using a ‘view’
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)