如何在VB.NET中查找SQL数据适配器的行大小? [英] How to find a row size of a SQL data adaptor in VB.NET?

查看:74
本文介绍了如何在VB.NET中查找SQL数据适配器的行大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想找到一个使用vb.net代码的sql数据适配器的单行大小(以kbs为单位)。



我尝试过:



我在网上搜索过,但没有答案

解决方案

一个SQL数据适配器没有大小,它提取的DataTable或DataSet数据。并且没有固定大小,它完全依赖于底层SQL表中的数据;并且因为它可以是可变大小 - 例如NVARCHAR(MAX) - 适配器中行的大小将取决于您选择的特定行,以及您用于获取它的SQL SELECT语句。

I want to find a single row size (in kbs) of a sql data adaptor using vb.net code.

What I have tried:

I have searched the web, but there is no answer

解决方案

An SQL Data Adapter has no "size", the DataTable or DataSet data that it fetches does. And that had no "fixed size", it is totally dependant on the data in the underlying SQL table; and since that can be variable size - NVARCHAR(MAX) for example - the "size" of a row in the adapter will depend on the specific row that you select, and the SQL SELECT statement that you used to fetch it.


这篇关于如何在VB.NET中查找SQL数据适配器的行大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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