数据库中choose case语句使用方法和例题
发布网友
发布时间:2023-05-25 17:39
我来回答
共1个回答
热心网友
时间:2024-12-05 07:52
来个例子:
CHOOSE CASE Real(sle_real.Text)
CASE is < 10.99999
sle_message.Text = "Real Case < 10.99999"
CASE 11.00 to 48.99999
sle_message.Text = "Real Case 11 to 48.9999
CASE is > 48.9999
sle_message.Text = "Real Case > 48.9999"
CASE ELSE
sle_message.Text = "Cannot evaluate!"
END CHOOSE