开发者

What to use to store in postgresql a string with no specific upper limit?

开发者 https://www.devze.com 2023-04-09 06:32 出处:网络
On the postgresql manual page: If you desire to store long strings with no specific upper limit, use text or character varying without开发者_如何学JAVA a length specifier.

On the postgresql manual page: If you desire to store long strings with no specific upper limit, use text or character varying without开发者_如何学JAVA a length specifier.

My question is: when to use which ? Or it doesn't matter ?


They are the same. Use what you prefer :)

Although text is not SQL standard I prefer it because is sorter.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号