ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
How do we get current date in SQL Server 2000, Oracle, MS
Access?
 Question Submitted By :: Honeysukumar
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How do we get current date in SQL Server 2000, Oracle, MS Access?
Answer
# 1
SELECT GETDATE() AS 'Current Date'
GO
 
Is This Answer Correct ?    27 Yes 7 No
Lrk
 
  Re: How do we get current date in SQL Server 2000, Oracle, MS Access?
Answer
# 2
i donot abt the SQLserver2000and MSaccess.But in ORACLE we 
get current date by following SQLstmt:
SELECT sysdate() FROM DUAL;
 
Is This Answer Correct ?    17 Yes 5 No
Nikita
 
 
 
  Re: How do we get current date in SQL Server 2000, Oracle, MS Access?
Answer
# 3
we use getdate()in SQL server to view current date and in 
oracle we use sysdate().
 
Is This Answer Correct ?    10 Yes 2 No
Sridhar Kumar Nelanti
 
  Re: How do we get current date in SQL Server 2000, Oracle, MS Access?
Answer
# 4
In Access We USE 'Select Date()'
In Sql server 2000 'Select getdate()'
In Oracle 'Select SysDate() from dual'
 
Is This Answer Correct ?    17 Yes 4 No
Rajiv Rohilla
 
  Re: How do we get current date in SQL Server 2000, Oracle, MS Access?
Answer
# 5
In Access 'Select date()'
In Oracle 9i 'Select Sysdate from dual;'
In SQL Server 2000 'Select Getdate()'
 
Is This Answer Correct ?    14 Yes 1 No
Selvaraj.v
 
  Re: How do we get current date in SQL Server 2000, Oracle, MS Access?
Answer
# 6
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 ?    5 Yes 2 No
Suhel
 
  Re: How do we get current date in SQL Server 2000, Oracle, MS Access?
Answer
# 7
To display current systems date
 
 DateTime.Now
 
Is This Answer Correct ?    2 Yes 5 No
Swetha
 
  Re: How do we get current date in SQL Server 2000, Oracle, MS Access?
Answer
# 8
select getdate(); in sql server 2000
 
Is This Answer Correct ?    5 Yes 1 No
Jayesh L Lolariya
 
  Re: How do we get current date in SQL Server 2000, Oracle, MS Access?
Answer
# 9
slect TO-CHAR(syssdate,'dd-mm-yy h:mipm') from dual; this is
oracle query..
 
Is This Answer Correct ?    3 Yes 4 No
Abhirams
 
  Re: How do we get current date in SQL Server 2000, Oracle, MS Access?
Answer
# 10
select date() does not work in Access 97.
 
Is This Answer Correct ?    1 Yes 3 No
Smithers
 
  Re: How do we get current date in SQL Server 2000, Oracle, MS Access?
Answer
# 11
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 ?    0 Yes 0 No
Parmanand
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
1.How to check the backup file details if we do not have access to that folder 2.how to check the backup file size without connecting to the folder IBM1
How to restart SQL Server in single user mode? How to start SQL Server in minimal configuration mode? HCL2
1.Describe way(s) to tune the SQL table in order to optimize performance. 2. Explain SQL Injection and how can you prevent them? Techno-Solutions1
wht's the differece between sqlserver05 and sqlserver2000  3
how can i store resumes in database? HCL2
what are file groups? Evalueserve3
what is the Surrogate key?and wt is the diff between Primary key and Surrogate Key?  2
We create an index to fast the search. How it fast the query? Do we write any special keyword with query?  3
what is curser.  9
what are three different authentications to connect linked servers? CitiGroup1
can you anybody tell me the how can you restore the master database. while migraion(one server to onther server)?  1
What is excution Plan in sql server TCS1
What is Deadlock? Satyam3
I have a table EMP in which the values will be like this EmpId Ename Sal DeptId 11 Ram 10000 10 11 Ram 10000 10 22 Raj 20000 20 22 Raj 20000 20 33 Anil 15000 30 33 Anil 15000 30 I want to delete only duplicate Rows. After Delete I want the output like this EmpId Ename Sal DeptId 11 Ram 10000 10 22 Raj 20000 20 33 Anil 15000 30 DELL10
can you any body tell me which service pack is installed in the sql server?  3
I am Having tables T1 and T2 both having same data how to check (or) compare the data in both table are same?  2
There is a trigger defined for INSERT operations on a table, in an OLTP system. The trigger is written to instantiate a COM object and pass the newly insterted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better? HCL1
What is the Query of getting last 10 transaction Reports (like insert, update, Delete Data from Tabele) ? Wipro4
What is the use of MOVE keyword in restore command IBM2
Explain Different types of Projects?  1
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com