Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 362
  • Last Modified:

Problem with Datetime fields on MS SQL Server

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
MONROE
Asked:
MONROE
1 Solution
 
FelixinCommented:
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
 
MONROEAuthor Commented:
Congratulation! You have resolved my problem.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now