Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass default value as date?
Message
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Title:
How to pass default value as date?
Miscellaneous
Thread ID:
00471760
Message ID:
00471760
Views:
47
I wrote:
CREATE PROCEDURE spCreditPointCalc 
(	@IDUser integer = 0,
	@DateNow datetime = GETDATE()
)
AS
and got
Error 170: Line 3: Incorect syntax near '('.
How to make default paramater value = now time?

Giedrius
Giedrius
Next
Reply
Map
View

Click here to load this message in the networking platform