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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a transaction and what are acid properties? : Sql server database administration

1089


How to use subqueries with the in operators in ms sql server?

1124


How do you create a data source?

959


define and explain the differences between clustered and non-clustered indexes.

1248


What is the ‘fillfactor’?

1013


What is a database in ms sql server?

1103


can you implement data mining in SSRS?

157


What is a unique key constraint?

1085


What are the different Authentication modes in SQL Server and how can you change authentication mode?

1123


Can you explain important index characteristics?

1029


Do you know what are the reporting services components?

1019


What is a recursive stored procedure in sql server?

1243


Why do we use sql limitations? Which constraints can we use while making a database in sql?

1124


What is an indexing technique?

980


Can you roll back the ddl statement in a trigger?

1019