Hello! I am trying to import data into my table using
INPUT INTO
The problem is my decimals is using , as a delimiter, and it expects .. So it won't work!
How can i change this? Search and replace in the input file is not an option!
I am using SQL Anywhere 10
Request clarification before answering.
Erik.
Probably you can pull the date in a staging (temporary) Table. You could read the Field in as a string value.
In as second step you can the push it into the correct destination.
insert into stageTable ...
select CAST( replace(stageTable.StrNumber,',','.') as numeric(12,4) ),....
form stageTable
HTH Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.