1
我試圖將我的SQL Server 2008 R2數據庫遷移到Windows Azure。我正在使用SQLAzureMW。但是插入幾行後,我得到了下面的錯誤。SQL Azure遷移向導問題
BCP Command: bcp.exe "mydatabase.dbo.tableTest" in "c:\SQLAzureMW\BCPData\dbo.tableTest.dat" -E -w -b 10000 -a 16384 -q -S SERVER.database.windows.net -U "[email protected]" -P "password"
*****
01/03/2013 10:18:08--> Error
Starting copy...
SQLState = 22003, NativeError = 0
Error = [Microsoft][SQL Server Native Client 10.0]Numeric value out of range
SQLState = 22005, NativeError = 0
Error = [Microsoft][SQL Server Native Client 10.0]Invalid character value for cast specification
SQLState = 22001, NativeError = 0
Error = [Microsoft][SQL Server Native Client 10.0]String data, right truncation
SQLState = 22005, NativeError = 0
Error = [Microsoft][SQL Server Native Client 10.0]Invalid character value for cast specification
10000 rows sent to SQL Server. Total sent: 10000
SQLState = 22001, NativeError = 0
Error = [Microsoft][SQL Server Native Client 10.0]String data, right truncation
SQLState = 22008, NativeError = 0
Error = [Microsoft][SQL Server Native Client 10.0]Invalid date format
我確保表腳本與SQL Server中的數據庫表完全匹配,並且數據庫排序規則在兩側也相同。
請你讓我知道如何解決這些問題?
你能告訴我們你正在使用的模式嗎?什麼是2008 R2的表,它是如何在SQLAzureMW中定義的 – 2013-03-01 13:03:54