varchar(-1) 是什么意思? [英] What does varchar(-1) mean?
本文介绍了varchar(-1) 是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
SQL Server 2008 中 varchar(-1) 是什么意思?它是 varchar(max) 的替代品吗?
What is the meaning of varchar(-1) in SQL Server 2008? Is it an alternative for varchar(max)?
推荐答案
是如何表示 .net SQLDBType 中的 varchar(max)(未明确说明,但长度为 -1)
It's how to represent varchar(max) in .net SQLDBType (not explicitly stated, but length is -1)
出于兴趣,我现在不能在 SQL Server 的 SQL 语言中尝试它:但我确定它仅用于客户端代码,因为 varchar 通常在 1 到 8000 之间进行强定义,但对于最大类型则不是.
I can't try it in SQL language in SQL Server right now for interest's sake: but I'm sure it's only for client code because varchar is normally strongly defined between 1 and 8000, but for max type it's not.
这篇关于varchar(-1) 是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文