SQL Server Management Studio [英] SQL Server Management Studio

查看:81
本文介绍了SQL Server Management Studio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个包含大量空表的数据库中有大量表。我怎样才能导出有数据的表?

解决方案

Hai



在导出表之前,你需要使用select查询并填入datatable并获取行数,如果count大于0,则导出表....



如果条件和检查计数是否使用0离开它,如果它超过1那么写你的出口代码。





问候

Aravind

I've got heaps of tables in one database with lots of empty tables. How can I only export tables that have data?

解决方案

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


这篇关于SQL Server Management Studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆