我正在使用SQL-server 2012.我有一个大约200 MB的大型excel文件。我通常使用sql-server management studio(通过选择database-> Tasks-> Import data)将数据从excel文件导入sqlserver,然后选择microsoft excel作为数据源。
每当我使用任何超过100MB的excel文件时,我都注意到了几次,我得到了这个错误
无法完成操作。
其他信息:
Unexpected error from external database driver (ڟ珉⒀珉Ɇ 䠠⁖). (Microsoft Office Access Database Engine)
按钮:
这里是技术细节,我甚至不知道它是什么
===================================
===================================
外部数据库驱动程序出现意外错误(ڟ⒀珉珉珉䠠⁖)。 (Microsoft Office Access数据库引擎)
计划地点:
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)
有没有其他方法可以导入任何可以为我插入数据的应用程序的数据或sugession
答案 0 :(得分:0)
导入数据的另一种方法是将Excel文件另存为逗号分隔值(.csv)格式。然后导入.csv文件。这简化了导入过程,使您可以解决任何Excel特定问题。