microsoft / microsoft/sql-server-samples

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

Offen
#765 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
PowerShell
Sterne
11.2k
Forks
9.1k
Ø Merge
2 T. 7 Std.
Gemergte PRs (30 T.)
14

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginnen Sie mit dem AdventureWorks-Installationsskript und dem Massenladen von [Person].[Address], wobei Sie sich auf die Spalte PostalCode und die gemeldeten fehlschlagenden Zeilen konzentrieren. Überprüfen Sie die Quelldaten sowie die Codepage- oder Typannahmen beim Massenladen und führen Sie die Installation anschließend erneut aus. Als abgeschlossen gilt die Aufgabe, wenn alle Address-Datensätze ohne Konvertierungsfehler geladen werden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
sql
Bereich
databases
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.