Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I've got heaps of tables in one database with lots of empty tables. How can I only export tables that have data?
Posted
Comments
Aravindba 10-Mar-14 23:34pm    
can u post ur export code

1 solution

Hai

Before exporting table ,u need to use select query and fill in datatable and get row count,if count above 0,then export table....

Use if condition and check count if it is 0 leave it,if it is more than 1 then write ur exporting code.


regards
Aravind
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900