Solved

Problem with Datetime fields on MS SQL Server

Posted on 1998-01-09
2
349 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
Comment Utility
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
Comment Utility
Congratulation! You have resolved my problem.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 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

11 Experts available now in Live!

Get 1:1 Help Now