[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

How to insert a null date into Paradox 5 date field.

Posted on 2008-10-15
2
Medium Priority
?
835 Views
Last Modified: 2013-12-17
I have the task of importing data retrieved from a Paradox 5 table into another database with the exact table. Now the problem is with a Date field in this table is set to 00/00/0000 (its a delete date). The BDE has no problems creating this record with the host application but now the issue for me is that using C# with an OLEdbConnection and issuing queries such as INSERT INTO test VALUES(1,'FirstName,'LastName','00/00/0000') gives me a 'Type mismatch' error.
I do not want to list the field names in the query.

Is there any way to do this in a query?

Thanks in advance.

0
Comment
Question by:ExanSoftware
[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 5

Accepted Solution

by:
PaulKeating earned 2000 total points
ID: 22726050
INSERT INTO test VALUES(1,'FirstName,'LastName',NULL)
0
 

Author Closing Comment

by:ExanSoftware
ID: 31506503
Thanks, i had tried that but was not working for me until now. Paradox is very finicky. Nothing but a headache to be honest...
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

650 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