News:

Choose a design and let our professionals help you build a successful website   - ITAcumens

Main Menu

MySQL Tutorial » MySQL Utilities » SHOW WARNINGS

Started by VelMurugan, Apr 21, 2009, 08:08 PM

Previous topic - Next topic

VelMurugan

SHOW WARNINGS

Quotemysql>
mysql> SELECT ASIN('foo');
+-------------+
| ASIN('foo') |
+-------------+
|           0 |
+-------------+
1 row in set, 1 warning (0.00 sec)

mysql>
mysql> SHOW WARNINGS;
+---------+------+-----------------------------------------+
| Level   | Code | Message                                 |
+---------+------+-----------------------------------------+
| Warning | 1292 | Truncated incorrect DOUBLE value: 'foo' |
+---------+------+-----------------------------------------+
1 row in set (0.00 sec)

mysql>

source : java2s