SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 Exporting data to CSV
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Informer30
Starting Member

26 Posts

Posted - 03/24/2014 :  08:22:35  Show Profile  Reply with Quote
Hi All,

I am exporting data from sql 2008 r2 db to csv, the maximum the csv is showing is 1,048,576 whilst the actual count in sql is over 2 million.

Is there an limit within SSMS db/tasks/export?

thanks in advance...

sqlsaga
Yak Posting Veteran

USA
93 Posts

Posted - 03/27/2014 :  11:52:45  Show Profile  Reply with Quote
do you have to do it only to a CSV?? Can you not do it an Excel file??
If the answer for above question is YES and you can use MS Excel 2007 or above, you can do it in the straight forward fashion but the only problem is due to the amount of data(2Million) you will encounter issues while opening the file..

You can create one sheet for 65000 records and have multiple sheets in the same excel. I think that way is a better solution for this...


Visit www.sqlsaga.com for more t-sql snippets and BI related how to's.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000