Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass default value as date?
Message
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Titre:
How to pass default value as date?
Divers
Thread ID:
00471760
Message ID:
00471760
Vues:
48
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform