Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Get Current System Date Time

Answers were Sorted based on User's Feedback



Get Current System Date Time..

Answer / mohammadali.info

SELECT GETDATE() AS CurrentDateTime

SELECT 'SYSDATETIME' AS FunctionName, SYSDATETIME() AS DateTimeFormat
UNION ALL
SELECT 'SYSDATETIMEOFFSET', SYSDATETIMEOFFSET()
UNION ALL
SELECT 'SYSUTCDATETIME', SYSUTCDATETIME()
UNION ALL
SELECT 'CURRENT_TIMESTAMP', CURRENT_TIMESTAMP
UNION ALL
SELECT 'GETDATE', GETDATE()
UNION ALL
SELECT 'GETUTCDATE', GETUTCDATE()

Is This Answer Correct ?    4 Yes 0 No

Get Current System Date Time..

Answer / ahamed razik

select getdate()

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SQL Server Interview Questions

Thanks to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down?

0 Answers  


What is key set driven?

0 Answers  


What are the authentication modes in SQL Server?

4 Answers   IBM, iSmart,


What are the security related catalog views? : sql server security

0 Answers  


What are different types of views?

0 Answers  


Explain different types of collation sensitivity?

0 Answers  


Introduction of rollup clause using sum and group by clause?

0 Answers  


What is a result set object returned by mssql_query()?

0 Answers  


can we call functions from stored procedure in SQL Server 2005 ? How?

3 Answers  


If a table does not have a unique index, can a cursor be opened on it?

0 Answers  


What is a Lock and let me know Different types of locks?

2 Answers  


What are the different types of normalization?

0 Answers  


Categories