microsoft / microsoft/sql-server-samples

Database sample install [AdventureWorks]: Bulk load data conversion error

Aperta
#765 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
PowerShell
Stelle
11.2k
Fork
9.1k
Merge medio
2g 7h
PR unite (30g)
14

Descrizione

I got the following errors when running the install script:

Loading [Person].[Address]
消息 4864,级别 16,状态 1,第 1803 行
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 1499, column 6 (PostalCode).
消息 4864,级别 16,状态 1,第 1803 行
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 1687, column 6 (PostalCode).
消息 4864,级别 16,状态 1,第 1803 行
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 5167, column 6 (PostalCode).
消息 4864,级别 16,状态 1,第 1803 行
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 6612, column 6 (PostalCode).
消息 4864,级别 16,状态 1,第 1803 行
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 7020, column 6 (PostalCode).
消息 4864,级别 16,状态 1,第 1803 行
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 7028, column 6 (PostalCode).
消息 4864,级别 16,状态 1,第 1803 行
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 7295, column 6 (PostalCode).
消息 4864,级别 16,状态 1,第 1803 行
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 7696, column 6 (PostalCode).
消息 4864,级别 16,状态 1,第 1803 行
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 9639, column 6 (PostalCode).
消息 4864,级别 16,状态 1,第 1803 行
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 11003, column 6 (PostalCode).
消息 4864,级别 16,状态 1,第 1803 行
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 14590, column 6 (PostalCode).
消息 4865,级别 16,状态 1,第 1803 行
Cannot bulk load because the maximum number of errors (10) was exceeded.
消息 7399,级别 16,状态 1,第 1803 行
The OLE DB provider "BULK" for linked server "(null)" reported an error. The provider did not give any information about the error.
消息 7330,级别 16,状态 2,第 1803 行
Cannot fetch a row from OLE DB provider "BULK" for linked server "(null)".

Though the install process completed, there is no record in the table.

Here is the version information:

SQL Server Management Studio						15.0.18330.0
SQL Server 管理对象 (SMO)						16.100.37971.0
Microsoft Analysis Services 客户端工具						15.0.19040.0
Microsoft 数据访问组件 (MDAC)						10.0.19041.1
Microsoft MSXML						3.0 6.0 
Microsoft .NET Framework						4.0.30319.42000
操作系统	(OS)					10.0.19041

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia con lo script di installazione di AdventureWorks e il caricamento in blocco di [Person].[Address], concentrandoti sulla colonna PostalCode e sulle righe segnalate come problematiche. Controlla i dati sorgente e le ipotesi relative alla code page o ai tipi del caricamento in blocco, quindi esegui nuovamente l'installazione; il lavoro è completato quando tutti i record Address vengono caricati senza errori di conversione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
sql
Ambito
databases
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.