select count(*) into v_count from dual where userid=2;
此语句的意思就是根据where条件查询dual表,得到的行数存入变量v_count中(给变量赋值)

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
猜你喜欢
  • 2021-08-08
  • 2021-08-27
  • 2021-11-27
  • 2022-12-23
  • 2021-08-27
相关资源
相似解决方案