编程论坛's Archiver

yipinwuyin 发表于 2008-1-17 10:02

求救!!!

求救!!!
如何在SQL server数据库里的列中追加新内容?
具体步骤怎样?
请高手指教!!!
本人是个菜鸟!

deleter 发表于 2008-1-17 19:26

用update语句吧
update 表名 set 列=值 where 条件
例如:
update abc set a=123 where a=" "

a67896711 发表于 2008-1-18 14:07

atler table 表名 add 字段名(就是列名) 类型 约束

例:
atler table student add sname nchar(5) unique

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.