ASP中语句的关键字问题

来源:百度知道 编辑:UC知道 时间:2024/06/27 09:34:28
ASP中语句的关键字有哪些呀,比如数据库表名为user时,用sql="select * from [user]",就是加人[],那么请问还有什么是关键字,除了user以外

这个以前好像有人问过的,我再 贴一遍吧:)

这是所有的SQL关键字参考,如果有其他非官方数据库扩展,请查阅相关数据库文档,这些都需要你加[]如果能不用做字段名最好不用,在给数据库、字段等起名子的时候一定不要用以下这些词,虽然有的时候可能没有关系,但是为了避免麻烦还是不用为好。最好的办法起名子的时候都用前缀+拼音(如果不给外国人看的话)
active
add
all
after
alter
and
any
as
asc
ascending
at
auto
autoinc
avg
before
begin
between
blob
boolean
both
by
bytes
cache
cast
char
character
check
collate
column
commit
committed
computed
conditional
constraint
containing
count
create
cstring
current
cursor
database
date
day
dec
decimal
declare
default
delete
desc
descending
distinct
do
domain
double
drop
else
exists
external
extract
file
filter
float
for
foreign
from
full
function
grant
group
having
ho