Viewing 15 posts - 181 through 195 (of 748 total)
David Burrows (7/21/2014)
halifaxdal (7/17/2014)
Msg 8114, Level 16, State 5, Line 1Error converting data type varchar to bigint.
If the files were output by SSMS set to output to file then your...
July 21, 2014 at 1:44 pm
Ummmm... Would it be too much trouble to post it again here just to make life easy on the people trying to help you? I just don't have the...
July 21, 2014 at 12:19 pm
Jeff Moden (7/21/2014)
July 21, 2014 at 12:18 pm
David Burrows (7/21/2014)
halifaxdal (7/17/2014)
Msg 8114, Level 16, State 5, Line 1Error converting data type varchar to bigint.
If the files were output by SSMS set to output to file then your...
July 21, 2014 at 10:57 am
J Livingston SQL (7/21/2014)
halifaxdal (7/21/2014)
July 21, 2014 at 10:56 am
yes the wizard is straight forward, I just did it again, if I simply chose Ragged right, there is only one column defined and executing the package will error out,...
July 21, 2014 at 6:34 am
J Livingston SQL (7/18/2014)
halifaxdal (7/18/2014)
I think the issue is the last column, like I...
July 20, 2014 at 11:54 am
Here is the format file, .xml is changed to .txt to get uploaded on this forum. Thanks.
I think the issue is the last column, like I indicated in previous post,...
July 18, 2014 at 1:07 pm
ScottPletcher (7/18/2014)
Try...
July 18, 2014 at 12:23 pm
Now I think the issue happens in the last field which presumably is 20 characters but in the case the value is single digit it uses only 1 character, however,...
July 18, 2014 at 11:18 am
The format file is:
<?xml version="1.0"?>
<BCPFORMAT xmlns="http://schemas.microsoft.com/sqlserver/2004/bulkload/format" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RECORD>
<FIELD ID="1" xsi:type="CharFixed" LENGTH="12"/>
<FIELD ID="2" xsi:type="CharFixed" LENGTH="12"/>
<FIELD ID="3" xsi:type="CharFixed" LENGTH="17"/>
<FIELD ID="4" xsi:type="CharFixed" LENGTH="12"/>
...
July 18, 2014 at 11:05 am
I got some hints when I tried another file, it seems the first couple characters in the raw data file has some non-numeric character so the script throws error like:
Msg...
July 17, 2014 at 2:32 pm
Thanks ScottPletcher, I removed and also removed the last line which shows some info like "totally xxx rows"
The script returns me error:
Msg 8114, Level 16, State 5, Line 1
Error...
July 17, 2014 at 2:10 pm
ScottPletcher (7/17/2014)
I suggest using SSIS to import that data. It will of...
July 17, 2014 at 1:51 pm
I should have mentioned in the OP that I can't ask for a different format at this moment, I need to get this done for this batch of data.
Thanks.
July 17, 2014 at 8:53 am
Viewing 15 posts - 181 through 195 (of 748 total)