字段大小帮助 [英] Field Size Help

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

问题描述

我有一个超过14,000条记录的数据库


我想换一个字段(长度为1 chr)


我会不会最好使用;


是/否?


数字1,2

或留下1个字母


不确定哪个使用的空间最小

I have a database of over 14,000 records

I want to change a field (1 chr in length)

Will I be better off using;

yes/no ?

A number 1,2

or leave as 1 char

Not sure which uses the least amount of space

推荐答案

Andrew,


布尔只需要1位,这样才能占用最少的空间。

取决于你*需要的数据类型*当然。


-

希望这会有所帮助

Arno R

" Andrew" <一个**** @ nospam.com> schreef in bericht

新闻:%c ************** @ newsfep1-gui.server.ntli.net ...
Andrew,

Boolean only needes 1 bit so that will be the least amount of space.
Depends on which datatype you *need* of course.

--
Hope this helps
Arno R
"Andrew" <an****@nospam.com> schreef in bericht
news:%c**************@newsfep1-gui.server.ntli.net...
我有一个超过14,000条记录的数据库

我想改变一个领域(1个长度)

我会更好地使用;
是/否?

数字1



不确定使用最少的空间
I have a database of over 14,000 records

I want to change a field (1 chr in length)

Will I be better off using;

yes/no ?

A number 1,2

or leave as 1 char

Not sure which uses the least amount of space








" Andrew" <一个**** @ nospam.com>在消息中写道

新闻:%c ************** @ newsfep1-gui.server.ntli.net ...

"Andrew" <an****@nospam.com> wrote in message
news:%c**************@newsfep1-gui.server.ntli.net...
我有一个超过14,000条记录的数据库

我想改变一个领域(1个长度)

我会更好地使用;
是/否?

数字1



不确定使用最少的空间
I have a database of over 14,000 records

I want to change a field (1 chr in length)

Will I be better off using;

yes/no ?

A number 1,2

or leave as 1 char

Not sure which uses the least amount of space




字节数据类型可以包含0到255之间的数字。



The Byte data type can hold a number between 0 and 255.


在大多数编程语言中Boolean表示1位,但语言

使用1个字节来存储数据。我猜测Access会做同样的事情。


" Arno R" < AR **************** @ tiscali.nl>在留言中写道

news:3f ********************** @ dreader2.news.tiscal i.nl ...
In most programming languages Boolean represents 1 bit, but the language
uses 1 byte to store the data. I''m guessing that Access would do the same.

"Arno R" <ar****************@tiscali.nl> wrote in message
news:3f**********************@dreader2.news.tiscal i.nl...
安德鲁,

布尔只有needes 1位所以这将是最小的空间。
取决于你*需要*当然​​的数据类型。

-
希望这有帮助
Arno R

" Andrew" <一个**** @ nospam.com> schreef在bericht
新闻:%c ************** @ newsfep1-gui.server.ntli.net ...
Andrew,

Boolean only needes 1 bit so that will be the least amount of space.
Depends on which datatype you *need* of course.

--
Hope this helps
Arno R
"Andrew" <an****@nospam.com> schreef in bericht
news:%c**************@newsfep1-gui.server.ntli.net...
我有一个数据库超过14,000条记录

我想改变一个领域(1个长度)

我会更好地使用;

是/否?

一个数字1





不确定哪个使用的空间最小
I have a database of over 14,000 records

I want to change a field (1 chr in length)

Will I be better off using;

yes/no ?

A number 1,2

or leave as 1 char

Not sure which uses the least amount of space




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

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