sybase中update

Soarin 2007-01-05 02:01:12
update cource set teacher_name = teacher.name where cource.teacher_id = teacher.id

这种update操作sybase都不支持吗?
...全文
390 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
jxym001 2007-01-16
  • 打赏
  • 举报
回复
update cource a
set (teacher_id ,teacher_name) =
(select
b.teacher_id ,b.teacher_name
from student b
where 条件1
)
where 条件2

这种语句在sybase 里面怎么处理啊?
truelie123 2007-01-07
  • 打赏
  • 举报
回复
update cource set teacher_name = teacher.name from teacher where cource.teacher_id = teacher.id
hobbylu 2007-01-05
  • 打赏
  • 举报
回复
支持的

2,596

社区成员

发帖
与我相关
我的任务
社区描述
Sybase相关技术讨论区
社区管理员
  • Sybase社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧