已知学生表(学号,姓名,性别,生日),以下事件代码功能是将学生表中生日为空值的学生“性别”字段值设置为“男”。
Private Sub Command0_Click()
Dim str As String
Set db=CurrentDb()
str="______"
DoCmd.RunSQL str
End Sub
按照功能要求,在横线上应填写的是______。
A.Update学生表set性别=’男’where生日Is Null
B.Update学生表set性别=’男’where生日=Null
C.Set学生表Values性别=’男’where生日Is Null
D.Set学生表Values性别=’男’where生日=Null