Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with dates
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Working with dates
Divers
Thread ID:
00531688
Message ID:
00531688
Vues:
55
I pass a date into my stored procedure as '05/31/2001' and want pull all records whos datetime field match that date. It seems the time portion of my datetime field causes the comparison not to match.

Should I be using something like the datepart function and comparing the month, day and year or is there a better way.

Thanks,

Chris
Chris
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform