Quantcast
Channel: BULK INSERT /BCP with UDT
Viewing all articles
Browse latest Browse all 8

BULK INSERT /BCP with UDT

$
0
0
Here is the sample of the file:

<?xml version="1.0" encoding="windows-1250"?>
<root>
    <organizace>
        <cislo_subjektu>65673</cislo_subjektu>
        <reference_subjektu>0000002135</reference_subjektu>
        <nazev_subjektu>Martin Prudký</nazev_subjektu>
        <nazev_zkraceny>PRUDKY LOUKA U LITV.</nazev_zkraceny>
        <ulice>U nádraží</ulice>
        <psc>435 33</psc>
        <misto>Louka u Litvínova</misto>
        <ico>15137970</ico>
        <dic>CZ6011151003</dic>
        <uverovy_limit>200000</uverovy_limit>
        <stav_limitu>172081.0000</stav_limitu>
    </organizace>
    <organizace>
        <cislo_subjektu>67125</cislo_subjektu>
        <reference_subjektu>0000003301</reference_subjektu>
        <nazev_subjektu>Lesní družstvo obcí Ledec nad Sázavou</nazev_subjektu>
        <nazev_zkraceny>LESNI DRUZSTVO LEDEC</nazev_zkraceny>
        <ulice>Hnevkovice 56</ulice>
        <psc>582 94</psc>
        <misto>Ledec nad Sázavou</misto>
        <ico>25251937</ico>
        <dic>CZ25251937</dic>
        <uverovy_limit>50000</uverovy_limit>
        <stav_limitu>0.0000</stav_limitu>
    </organizace>
    <organizace>
        <cislo_subjektu>67159</cislo_subjektu>
        <reference_subjektu>0000004170</reference_subjektu>
        <nazev_subjektu>D.D.L.Servis, s.r.o.</nazev_subjektu>
        <nazev_zkraceny>D.D.L. SERVIS LOMNICE</nazev_zkraceny>
        <ulice>Želechy 37</ulice>
        <psc>512 51</psc>
        <misto>Lomnice nad Popelkou</misto>
        <ico>25291521</ico>
        <dic>CZ25291521</dic>
        <uverovy_limit>50000</uverovy_limit>
        <stav_limitu>0.0000</stav_limitu>
    </organizace>
.
.
.

It goes for next 30 000 table rows.




Here is list of errors:
Msg 4864, Level 16, State 1, Line 1
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 1, column 1 (cislo_subjektu).
Msg 4864, Level 16, State 1, Line 1
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 2, column 1 (cislo_subjektu).
Msg 4864, Level 16, State 1, Line 1
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 3, column 1 (cislo_subjektu).
Msg 4864, Level 16, State 1, Line 1
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 4, column 1 (cislo_subjektu).
Msg 4864, Level 16, State 1, Line 1
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 5, column 1 (cislo_subjektu).
Msg 4864, Level 16, State 1, Line 1
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 6, column 1 (cislo_subjektu).
Msg 4864, Level 16, State 1, Line 1
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 7, column 1 (cislo_subjektu).
Msg 4864, Level 16, State 1, Line 1
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 8, column 1 (cislo_subjektu).
Msg 4864, Level 16, State 1, Line 1
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 9, column 1 (cislo_subjektu).
Msg 4864, Level 16, State 1, Line 1
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 10, column 1 (cislo_subjektu).
Msg 4864, Level 16, State 1, Line 1
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 11, column 1 (cislo_subjektu).
Msg 4865, Level 16, State 1, Line 1
Cannot bulk load because the maximum number of errors (10) was exceeded.
Msg 7399, Level 16, State 1, Line 1
The OLE DB provider "BULK" for linked server "(null)" reported an error. The provider did not give any information about the error.
Msg 7330, Level 16, State 2, Line 1
Cannot fetch a row from OLE DB provider "BULK" for linked server "(null)".








Viewing all articles
Browse latest Browse all 8

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>