Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

GETDATE (SQL Server Compact)

Returns the current system date and time in the standard internal format for datetime values that are supported by SQL Server Compact 3.5.


GETDATE ( ) 

datetime

The following example uses GETDATE to supply information for a date column.

CREATE TABLE MyOrders (OrderID int IDENTITY(100, 1) PRIMARY KEY, CompanyName nvarchar(50), OrderDate datetime);
INSERT INTO MyOrders (CompanyName, OrderDate) VALUES ('A. Datum Corporation', GETDATE());
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.