Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GETDATE in a function
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
GETDATE in a function
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01197413
Message ID:
01197413
Vues:
59
In a user defined function, you cannot use getdate(). I have a function that uses a date in a table to decide an estimate on how long a product will take to be received. If that date is empty i would like to use the current date to decide it. I do not want to have to pass the current date to the function from everywhere i am calling it. Is there a way to retrive the current date in a function?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform