5

I want to export huge data(about 5 millions rows with 2 columns) from sql server management studio into excel file, but the maximum size of excel file is around 1400000 rows

i tried import and export wizard but it does not work perfectly it returns 60000 records then the error occur:

enter image description here

when i choose the destination file, i should use one of excel versions if i choose 'Microsoft Excel 2007' the message appear(the 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.(System.Date)) so i chose 'Microsoft excel 97-2003'

i want to export data to excel or access.

any suggestion?

7
  • 1
    What are you planning to do with the data? It is probably better to open Excel and import the data into a pivot table and summarize from there. This allows a lot more than a million rows of data. Commented May 30, 2017 at 11:25
  • 2
    "I want to export 5M records to Excel, but Excel's maximum is 1M rows, what can I do?". Well, not a lot, if you exceed the maximum there is very little we can do for you. Commented May 30, 2017 at 11:26
  • Let's see, "I want to pour a full pint of milk into a half pint pot".... Yeah, nothing wrong with that! Commented May 30, 2017 at 11:30
  • Access doesn't not have the 1M row limitation. Have you installed Access on the machine running the SSIS package? See social.msdn.microsoft.com/Forums/en-US/… Commented May 30, 2017 at 11:37
  • If you happen to have Excel 2010+ then you also might use the direction connection to SQL Server, with PowerPivot/PowerQuery. If so, Excel may exceed this limit. One caveat: Excel does then not store the data, it only loads it every time you open Excel. That also means that you need enough RAM available for this amount of data. Commented May 30, 2017 at 13:00

1 Answer 1

6

"i want to export data to excel or access."

Therefore import it to Access. 2007 has an overall 2GB Table size limitation, but no row limitation (that I can remember).

Excel ain't gonna work for you. 2003 (and other's when running in 2003 compatability mode) have a limitation of 65,535 rows, 2007+ 1,048,576 rows.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.