Solved

Problem with Datetime fields on MS SQL Server

Posted on 1998-01-09
2
358 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses
Course of the Month5 days, 12 hours left to enroll

627 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