如何在MS SQL Server中管理大小可变的字段 [英] How to manage varable sized fields in MS SQL Server

查看:67
本文介绍了如何在MS SQL Server中管理大小可变的字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一张桌子,我想在其中添加一些可变大小的字段.

如果我使用varchar(X),它将始终使用X的空间量.
必须在此字段中插入的数据可能会从10个字节到几MB不等.

我想存储网页数据的这个字段..

m混淆了该字段的适当数据类型..

我该怎么办?

I have table, in which i want to add some variable sized field.

if i use varchar(X) it will always use X amount of space..

the data that have to be inserted in this field can vary from 10 bytes to few MBs..

this field i wants to store webpage data..

m confused abt an appropriate datatype for this field..

How can i do it?

推荐答案

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