Forum: MySQL Nov 8th, 2009 |
| Replies: 6 Views: 570 UTF-8 (utf8_general_ci) should work fine for that. Even for the Chinese characters.
I've created blog software in the past, using UTF-8, that I used to post content in multiple languages,... |
Forum: MySQL Nov 3rd, 2009 |
| Replies: 2 Views: 490 Hey.
How about something like:
// Create a list object for the conditions, and the query string.
List conditions = new List();
String query = "SELECT * FROM tbooks";
// Add each condition... |
Forum: MySQL Jun 11th, 2009 |
| Replies: 5 Views: 593 You could also have them bothlisted alpabetically.
SELECT name, num FROM tablename ORDER BY name, num
That might give you:
+------+-----+
| name | num |
+------+-----+
| Abc | 1 |
| Abc ... |