# Re: 请问sql的问题

Posted by linda on October 27, 1998 at 16:06:20:

In Reply to: 请问sql的问题 posted by alan on October 27, 1998 at 14:55:41:

: 请问各位高手如何将select出来的值丢到一个变数中
: 例如select count(*) from xxxxx 将select count的值丢到变数中
: 或者是 select sum(*) from xxxx 将sum 出来的值丢到变数中
: 谢谢

select a=count(*) from xxxxx即可

Follow Ups:

- Re: 请问sql的问题 Defan 19:52:16 10/28/98 (0)
- Re: 请问sql的问题 waikiki 16:17:57 10/27/98 (1)
  - Re: 还是不行 alan 09:49:32 10/28/98 (0)