[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] Réf. : [sqr-users] SQL Insert
- Subject: [sqr-users] Réf. : [sqr-users] SQL Insert
- From: "Thaî Le Tat" <thai.le-tat@creditlyonnais.fr>
- Date: Tue, 19 Nov 2002 08:19:58 +0100
- List-id: This list is for discussion about the SQR database reporting language from Brio Software. <sqr-users.sqrug.org>
- Sensitivity:
You have to convert your string to a date :
replace your date :
'20021119'
with :
to_date('20021119','yyyymmdd')
Regards,
Thai
"Kent Parker" <KParker@magnatrax.com>@sqrug.org le 18/11/2002 21:33:31
Veuillez répondre à sqr-users@sqrug.org
Envoyé par : sqr-users-admin@sqrug.org
Pour :
cc : (ccc : Thaî Le Tat/DED/DSTI/CLY)
Objet : [sqr-users] SQL Insert
I'm trying to insert into a date in the format of "yyyymmdd" into a sql
database & get the error below. Can anyone tell how a date should be
formatted for sql?
Could not insert the following data into the database:
SQL Error Message = [Microsoft][ODBC SQL Server Driver][SQL Server]Syntax
error converting datetime from character string.
Thanks
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users
Ce message contient des informations confidentielles ou appartenant au
Crédit Lyonnais et est établi à l'intention exclusive de ses
destinataires. Toute divulgation, utilisation, diffusion ou reproduction
(totale ou partielle) de ce message, ou des informations qu'il contient,
doit être préalablement autorisée. Tout message électronique est
susceptible d'altération et son intégrité ne peut être assurée.
Le Crédit Lyonnais décline toute responsabilité au titre de ce
message s'il a été modifié ou falsifié. Si vous n'êtes pas
destinataire de ce message, merci de le détruire immédiatement et
d'avertir l'expéditeur de l'erreur de distribution et de la destruction
du message.
Crédit Lyonnais, SA au capital de Euros 1.807.874.827 - RCS Lyon B 954 509 741
Siège Central : 19, boulevard des Italiens. 75002 Paris. France
This e-mail contains confidential information or information belonging
to Crédit Lyonnais and is intended solely for the addressees.
The unauthorised disclosure, use, dissemination or copying (either whole
or partial) of this e-mail, or any information it contains, is prohibited.
E-mails are susceptible to alteration and their integrity cannot be guaranteed.
Crédit Lyonnais shall not be liable for this e-mail if modified or falsified.
If you are not the intended recipient of this e-mail, please delete it
immediately from your system and notify the sender of the wrong delivery
and the mail deletion.
Crédit Lyonnais SA.
Share Capital of Euros 1.807.874.827.
Registered Office : Lyon (B 954 509 741)
Central and administrative Office : 19, boulevard des Italiens. 75002 Paris.
France