Oct 6, 2006 #1 lcs01 Programmer Aug 2, 2006 182 US I am relatively new to mysql. My questions are: 1) How to set SQL_BUFFER_RESULT's value? 2) How to check its value? I tried something like: SHOW VARIABLES LIKE '%BUFFER%'; It did not give me what I was looking for. Thanks for you help.
I am relatively new to mysql. My questions are: 1) How to set SQL_BUFFER_RESULT's value? 2) How to check its value? I tried something like: SHOW VARIABLES LIKE '%BUFFER%'; It did not give me what I was looking for. Thanks for you help.
Oct 6, 2006 Thread starter #2 lcs01 Programmer Aug 2, 2006 182 US I know how to set it up now. mysql> set SQL_BUFFER_RESULT=1; Query OK, 0 rows affected (0.00 sec) or mysql> set sql_buffer_result=0; Query OK, 0 rows affected (0.00 sec) Note that it is case insensitive. But I still don't know how to check its value. Can someone help? Upvote 0 Downvote
I know how to set it up now. mysql> set SQL_BUFFER_RESULT=1; Query OK, 0 rows affected (0.00 sec) or mysql> set sql_buffer_result=0; Query OK, 0 rows affected (0.00 sec) Note that it is case insensitive. But I still don't know how to check its value. Can someone help?
Oct 6, 2006 #3 TonyGroves Programmer Aug 13, 2003 2,389 IE You can use: [tt] SELECT @@sql_buffer_result [/tt] Upvote 0 Downvote
Oct 6, 2006 Thread starter #4 lcs01 Programmer Aug 2, 2006 182 US Thank you. I actually saw this on the web. But I thought it was a typo -- I did not realize '@@' could have meant something. Thanks again. Upvote 0 Downvote
Thank you. I actually saw this on the web. But I thought it was a typo -- I did not realize '@@' could have meant something. Thanks again.