简体   繁体   English

导入导出向导sql-server错误

[英]error with import Export wizard sql-server

I am using SQL-server 2012. I have a large excel file about 200 MB in size. 我正在使用SQL-server2012。我有一个很大的Excel文件,大小约为200 MB。 I normally Import data from excel file to sqlserver by using sql-server management studio (by selecting database->Tasks->Import data) then selecting microsoft excel as datasource. 我通常通过使用sql-server管理工作室(通过选择数据库->任务->导入数据)将数据从excel文件导入到sqlserver,然后选择microsoft excel作为数据源。

I have noticed several times whenever i use any excel file more than 100MB I gets this error 每当我使用超过100MB的任何excel文件时,我都注意到了几次

TITLE: SQL Server Import and Export Wizard 标题:SQL Server导入和导出向导

The operation could not be completed. 操作无法完成。


ADDITIONAL INFORMATION: 附加信息:

Unexpected error from external database driver (ڟ珉⒀珉Ɇ 䠠⁖). (Microsoft Office Access Database Engine)

BUTTONS: 纽扣:

OK

here are technical details which i don't even know what it is 这是技术细节,我什至不知道它是什么

=================================== ==================================

=================================== ==================================

Unexpected error from external database driver (ڟ珉⒀珉Ɇ 䠠⁖). 外部数据库驱动程序(ڟ珉⒀珉Ɇ)发生意外错误。 (Microsoft Office Access Database Engine) (Microsoft Office Access数据库引擎)


Program Location: 计划地点:

 at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
   at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.OleDb.OleDbConnection.Open()
   at Microsoft.SqlServer.Dts.DtsWizard.DTSWizard.GetOpenedConnection(WizardInputs wizardInputs, String connEntryName)
   at Microsoft.SqlServer.Dts.DtsWizard.Step1.OnLeavePage(LeavePageEventArgs e)

is there any other way to import data or sugession of any application that can do data insert for me 有没有其他方法可以导入数据或建议任何可以为我插入数据的应用程序

Another way to import the data is to save the Excel file as a Comma Separated Values (.csv) format. 导入数据的另一种方法是将Excel文件保存为逗号分隔值(.csv)格式。 Then import the .csv file. 然后导入.csv文件。 This simplifies the import process and allows you to get past any Excel specific issues. 这简化了导入过程,并允许您克服任何Excel特定问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM