Is there any function to count the number of query run in one sentence? i.e. select * from mytable; return 1 select * from mytable;select * from mytable2; return 2 -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GSC d- s:>++ a- C++ UL/B+++$ !P L++>+++++ E--- W+ N o-- K? w++ O? M- V- PS PE++(-) Y+ PGP-@ t 5 X R+>+++$ tv- b+++ DI++ D++ G++@ e+++>+++++ h*>--- r-- z? -----END GEEK CODE BLOCK------ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com