Drop Table
Support Forum for database administrators and web based access to important newsgroups related to databasesThis is the result I get in Word as I handle a document that merges data from the database. The field ĞDate_Fin_Membreğ returns me this result even if the query stipulates WHERE (dbo.Membre.Date_Fin_Membre = CONVERT(Char(10), dbo.Membre.Date_Fin_Membre, 101)). I have also tried other types of conversion without any success. I just need the date not the following hours, minutes and seconds. thanks
Post Follow-up to this messageYou might be using CONVERT(Char(10), dbo.Membre.Date_Fin_Membre, 101) only for checking in where clause, you will have to specify the same in Select columns as well. something like this: Select CONVERT(Char(10), dbo.Membre.Date_Fin_Membre, 101) from XYZTable Where dbo.Membre.Date_Fin_Membre = CONVERT(Char(10), dbo.Membre.Date_Fin_Membre, 101)) Regards,
Post Follow-up to this messageThanks, it solved my problem. *** Sent via Developersdex http://www.droptable.com ***
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread