Hi,
I have a little stupid problem. I need transfer data from txt file (using visual basic application) direct to SQL table. The Date field in TXT table is in yymmdd format (for example: 051103). When I write into SQL data over ADO and convert date field into next format: '11/03/2005', I get in Sql table format 11-03-2005 (month: 03, day: 11, year: 2005). And this is wrong. With same logic (and same version) is the date format for 051129 correct.
Any ideas, what can be wrong?
DaT
I have a little stupid problem. I need transfer data from txt file (using visual basic application) direct to SQL table. The Date field in TXT table is in yymmdd format (for example: 051103). When I write into SQL data over ADO and convert date field into next format: '11/03/2005', I get in Sql table format 11-03-2005 (month: 03, day: 11, year: 2005). And this is wrong. With same logic (and same version) is the date format for 051129 correct.
Any ideas, what can be wrong?
DaT