Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: VB.NET
I am having a problem that I hope someone will be able to help. I am exporting records from SQL server 2008 using the SSIS wizard to a CSV format, but I keep getting far more records in the output than the number of records existente in the table I am getting the data from.
I have tried everything but no changes.
Thanks & Regards
Posted 7-Nov-12 0:46am
GeekForChrist at 7-Nov-12 14:24pm
Are you stuck to the SSIS wizard or are you flexible? I can't help you with SSIS because I only have SQL Server Express, but I could help you with other areas.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Try this free dataexport[^] library, it supports to export data from database to csv,excel,pdf is quite good:
Private Sub btnRUN_Click(ByVal sender As Object, ByVal e As EventArgs)
       Dim CSVExport As TXTExport = New TXTExport
       CSVExport.DataSource = Spire.DataExport.Common.ExportSource.DataTable
       CSVExport.DataTable = CType(Me.dataGridView1.DataSource,DataTable)
       CSVExport.ActionAfterExport = Spire.DataExport.Common.ActionType.OpenView
       CSVExport.FileName = "CSV0721.csv"
   End Sub

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Advertise | Privacy | Mobile
Web03 | 2.8.141022.2 | Last Updated 8 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100