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

What are the characteristics of modern DBMS?

0 Answers   Ericsson,


Explain aggregate functions?

0 Answers  


What is difference between delete and truncate commands?

0 Answers  


What is store procedure? When do you use?

0 Answers  


What are the different authentication modes in sql server?

0 Answers  


Can the query output be sorted by multiple columns in ms sql server?

0 Answers  


Define candidate key, alternate key, composite key.

13 Answers   Infosys, Software India,


Explain what is row_number function?

0 Answers  


Explain cross join or cartesian product in sql?

0 Answers  


Explain concepts of analysis services?

0 Answers  


How can I check if a view exists in a sql server database?

0 Answers  


What is a ddl statement?

0 Answers  


Categories