Zbiorcza kopiowanie tekstu i danych obrazu
Duże tekst, ntext, and obraz wartości są zbiorcze skopiowane przy użyciu bcp_moretext funkcja.Kod zostanie bcp_bind for the tekst, ntext, or obraz kolumnapData wskaźnik zestaw wartość null wskazującą dane otrzymają bcp_moretext.Ważne jest określić długość dokładne dane dla każdego tekst, ntext,or obraz kolumna w każdym wierszu skopiowane zbiorczej.Jeśli długość danych dla kolumna różni się od długości kolumna określonej w bcp_bind, use bcp_collen do zestaw długości na poprawną wartość.A bcp_sendrow wysyła wszystkie nie-tekst, non-ntext, and non-obraz danych; można następnie wywołać bcp_moretext wysyłaniatekst, ntext, lub obraz dane w odrębnych.Funkcje kopiowanie masowe określają, że wszystkie dane zostały wysłane do bieżącego tekst, ntext, or obraz kolumna Suma długości danych wysyłanych przez bcp_moretext jest równe długości określonej w najnowszym bcp_collen or bcp_bind.
bcp_moretext ma nie parametrów do identyfikacji kolumna.When there are multiple text, ntext, or image columns in a row, bcp_moretext operates on the text, ntext, or image columns starting with the column having the lowest ordinal number and proceeding to the column with the highest ordinal number.bcp_moretext goes from one column to the next when the sum of the lengths of data sent equals the length specified in the latest bcp_collen or bcp_bind for the current column.