hakeem777 Posted April 23, 2010 Share Posted April 23, 2010 Hi I have issued "SELECT @@GLOBAL.sql_mode;" and get empty value. Does this mean mysql is running on standard mode? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/199461-sql_mode-question/ Share on other sites More sharing options...
cags Posted April 23, 2010 Share Posted April 23, 2010 I'm not sure if you should ever get empty or not, how exactly have you determined that the result is empty? $result = mysql_query('SELECT @@GLOBAL.sql_mode;') or die(mysql_error()); var_dump(mysql_result($result, 0)); Quote Link to comment https://forums.phpfreaks.com/topic/199461-sql_mode-question/#findComment-1046940 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.