如题,用户可以删除消息、是否已读过 系统消息,这个数据库表 该如何设计?
解决方案 »
- 把两张表的数据连接在一起
- 依然是sql server内存占用问题,急问
- 能不能自动建表
- 这个存储过程的错在哪里?怎么改呀?
- 求一条SQL,挺简单的
- 为什么我的SQL SERVER 2000企业版(标准版)不能装在WINDOWS2000Professional上?
- COLUMNS_UPDATED() 究竟是什么数据
- vc中存储过程运行总出错,拜托各位大侠帮我看看
- 请问如何在DAO数据库里使用"Select * from s1 where num like '%'"这样的语句??
- 将SQL-SEVER的库的结构导出到写字板中,分不够再加,在线等候!!!!
- 这个sql语句该怎么写啊?急!
- 急!求一条sql查询语句
http://hi.csdn.net/CSDN
create table sysmsg(
id int identity(1,1) primary key,
sender int not null,
incept int not null,
info ntext not null,
flag tinyint default 0, --是否已读
delS tinyint default 0, --是否删除
strdate smalldatetime default getdate()
)我要是这样设计的话,每次发1条系统广播,都要把【用户表】里的所有用户循环一遍,insert into sysmsg里,太麻烦了,有无好的解决方法?