我的服务器上有SQL Server 2008 R2,我有这个表:
CREATE TABLE [dbo].[rptost]
(
[ID_ost] [tinyint] NOT NULL,
[id_rpt_ost] [int] IDENTITY(1,1) NOT NULL,
[id_rptost_q] [int] NOT NULL,
[usrid] [smallint] NOT NULL,
[Confirm_id] [smallint] NOT NULL,
[date_] [int] NOT NULL,
[time_] [int] NOT NULL,
[date_create] [int] NOT NULL,
[time_create] [int] NOT NULL,
[date_read] [int] NOT NULL,
[time_read] [int] NOT NULL,
[usrid_create] [int] NOT NULL,
[sycl] [smallint] NOT NULL,
[report_type] [smallint] NOT NULL,
[activity_no] [int] NOT NULL,
[tedad] [int] NOT NULL,
[price_sycl] [bigint] NOT NULL,
[zarib] [int] NOT NULL,
[price_year] [bigint] NOT NULL,
[price_moavaq] [bigint] NOT NULL,
[price_recoverable] [bigint] NOT NULL,
[price_nonrecoverable] [bigint] NOT NULL,
[effect_company] [nvarchar](50) NOT NULL,
[effect_subcrib] [nvarchar](50) NOT NULL,
[result_] [bigint] NOT NULL,
[Financial_] [bigint] NOT NULL,
[id_incom] [int] NOT NULL,
[id_risk] [tinyint] NOT NULL,
[desc_] [nvarchar](max) NOT NULL,
[desc_analyz] [nvarchar](max) NOT NULL,
[desc_modify] [nvarchar](max) NOT NULL,
[desc_action] [nvarchar](max) NOT NULL,
[desc_return] [nvarchar](max) NULL
)
我在服务器上运行此查询:
select top 5 * from rptost
并右键单击结果并保存到服务器桌面,该服务器SQL Server排序规则为:
Polish_100_BIN
另一方面,我的客户端PC上有SLQ Server 2014,我希望使用sql server import wizard将csv文件导入我的客户端数据库,但是我在导入向导中收到此错误:
错误0xc02020a1:数据流任务1:数据转换失败。 “x29”列的数据转换返回状态值4和状态文本“文本被截断或目标代码页中的一个或多个字符不匹配。”。
(SQL Server导入和导出向导)
我该如何解决这个问题?谢谢大家。