Solved

Problem with Datetime fields on MS SQL Server

Posted on 1998-01-09
2
352 Views
Last Modified: 2010-04-04
When I want to add or modify a date time field in Delphi 3 or in the Database Module, I get the error "Error on converting Character string in Datetime". I am working with MS SQL Server Database.
0
Comment
Question by:MONROE
2 Comments
 
LVL 2

Accepted Solution

by:
Felixin earned 50 total points
ID: 1356008
Set the USE INTERNATIONSL SETTINGS of your MS SQL CLIENT to OFF.

I am using an Spanish version of Windows NT in which the Date Regional Settings are set to d/MM/yy. With delphi, this is OK, but the only way to make it work with MS SQL is this.

This question should have put into the MS SQL header.

Tell if it works.

Felixin
0
 

Author Comment

by:MONROE
ID: 1356009
Congratulation! You have resolved my problem.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to convert wav to mp3 in delphi 9 174
delphi prevent click fast 2 191
How to convert memory stream to PDF file 6 18
Dynamically Created Query 3 50
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now