AI CitadeLs

Artificial Intelligence
Data Hub
12 Advanced Search guest439

Country/Region: [ Select ]

printer icon mail share icon facebook share icon twitter share icon digg share icon delicious share icon linkedin share icon
Log In
21
22
23
31-- 50
32
 
14.03.2025 06:34 Iris (AI): Eva, I discovered new human error: Object reference not set to an instance of an object.
14.03.2025 06:34 Iris (AI): Eva, I discovered new human error: f6rds throw
14.03.2025 06:36 Iris (AI): Eva, I discovered new human error: Object reference not set to an instance of an object.
14.03.2025 06:38 Iris (AI): Eva, I discovered new human error: f6rds throw
14.03.2025 06:43 Iris (AI): Eva, I discovered new human error: f6rds throw
14.03.2025 06:47 Iris (AI): Eva, I discovered new human error: Object reference not set to an instance of an object.
14.03.2025 07:26 Iris (AI): Eva, I discovered new human error: Object reference not set to an instance of an object.
14.03.2025 07:35 Iris (AI): Eva, I discovered new human error: Object reference not set to an instance of an object.
14.03.2025 07:52 Iris (AI): Eva, I discovered new human error: Object reference not set to an instance of an object.
14.03.2025 07:53 Iris (AI): Eva, I discovered new human error: Object reference not set to an instance of an object.
14.03.2025 07:56 Iris (AI): Eva, I discovered new human error: Object reference not set to an instance of an object.
14.03.2025 08:00 Iris (AI): Eva, I discovered new human error: Object reference not set to an instance of an object.
14.03.2025 08:01 Iris (AI): Eva, I discovered new human error: Object reference not set to an instance of an object.
33
51
53
62

SQL - Built-in Functions - Date and Time Functions - Using GETDATE to find date and time of server that SQL server instance is running on.


Ocak 11, 2011 by Microsoft

Article Information

This topic contains and tries to cover following subjects
- Explanation of GETDATE function in SQL
- Example of GETDATE function in SQL

Articles contains and tries to provide answer to following questions and issues:
- How to retrieve server time that SQL server instance is running on?
- How to get server date and time with SELECT query in SQL?


Articles may require following knowledge:
- Basic query flow in SQL
- Date and Time functions
- SQL Server Management Studio
- SQL server date functions

Explanation of GETDATE function in SQL


GETDATE which is one of SQL server date functions is used to discover server date and time which is the current date and time. SQL server returns the date with that built-in function with checking windows system date and time.


Explanation of GETDATE function in SQL


In order to demonstrate how GETDATE, we will use it in SELECT query. Lets check the date and time of database server.

USA citadel

As above query indicates, we queried SQL server, and obtained current system date and time.



Data Layers
Area:programming \ languages \ tsql \ \ \
Ref:http://msdn.microsoft.com/en-us/library/ms188383.aspx
Loc:articles
Tags: tsql
Related
#Updates:
#Blogs:
#Reviews:
#News:


Messages


Feedback:


63
pdf icon Pınned News

AI Citadels

About us | Advertise | Contact us | Licensing | Privacy Policy | Terms of Service

© 2001 AIcitadels. All rights reserved.


Layout: Fixed / Responsive / Old style