数据库原理与应用第三版何玉洁第十二章部分课后习题答案(不含游标)
1
getdate
dateadd
datediff
datename
datepart
day
month
year
2
cast
convert
3
三种
标量函数 sql 返回值
内联表值函数 查询语句 返回表
多语句表值函数 sql 返回表
4
1
select datediff(day,‘2000/1/1’,getdate()),
datediff(month,‘2000/1/1’,getdate()),
datediff(yy,‘2000/1/1’,getdate())
2
select dateadd(day,100,getdate()),
dateadd(day,-100,getdate())
3
select substring(‘you are a student’,11,7)
4
select len(‘you are a student’)
5
select LEFT(‘i am a teacher and you are students’,14),right(‘i am a teacher and you are students’,16)

相关文章:

  • 2021-05-25
  • 2021-11-23
  • 2021-11-12
  • 2021-04-01
  • 2021-06-05
  • 2021-04-08
  • 2021-05-20
  • 2021-04-07
猜你喜欢
  • 2022-01-05
  • 2021-06-27
  • 2021-04-30
  • 2021-05-21
  • 2021-11-12
  • 2021-10-09
  • 2021-08-07
相关资源
相似解决方案