Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Smalldatetime-Field with Time-Value
Message
De
27/04/2004 08:24:55
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Titre:
Smalldatetime-Field with Time-Value
Divers
Thread ID:
00898456
Message ID:
00898456
Vues:
49
Hi all!

I have a database which contains SMALLDATETIME-fields; the reason for SMALLDATETIME originally was that I'd like to save only a TIME-value in these fields.

The saving is handled with an stored-procedure (the parameter is of type SMALLDATETIME).
The value of the parameter is passed to the stored-proc from an aspx-webform (variable of type DATETIME converted to TOLONGTIMESTRING).

An SQL-Error is raised due to an datatype-mismatch.

I don't want to convert these SMALLDATETIME-fields in the database to CHAR-fields.

How can I save these 'times' into my SMALLDATETIME-fields???

Thanks for help!
robert.oh.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform