日期:2014-05-18  浏览次数:20580 次

属性名后面的#号的意思?
比如关系模式 s(s#,sname,age,sex); c(c#,cname,credit)."s#","c#"中的#号是什么含义?是属性名的一部分吗?

------解决方案--------------------
字段名而已.

尽量不要用此写法.
------解决方案--------------------
SQL code
create table tb(tb# int , val int)
insert into tb values(1,1)
insert into tb values(1,1)
insert into tb values(1,1)
insert into tb values(1,1)
insert into tb values(1,1)
go

select * from tb

drop table tb

/*
tb#         val         
----------- ----------- 
1           1
1           1
1           1
1           1
1           1

(所影响的行数为 5 行)
*/