yfleury Active Member Licensed User Longtime User Feb 29, 2020 #1 All all, I fill a list with content of DB B4X: Copy dim listItem as list listItem.initialize dim cursor1 as Cursor cursor1=Stater.sql.ExecQuery("select * from table order by Name") for x=0 to cursor1.RowCount-1 curcor1.Position=x listItem.Add(curseur.GetString("Name")) Next Spoiler: My db content this in that order apple Zoro Google tomato zerox Spoiler: The output of query Google Zoro apple tomato zerox It is ok that order by query run upper case first and lower case after?
All all, I fill a list with content of DB B4X: Copy dim listItem as list listItem.initialize dim cursor1 as Cursor cursor1=Stater.sql.ExecQuery("select * from table order by Name") for x=0 to cursor1.RowCount-1 curcor1.Position=x listItem.Add(curseur.GetString("Name")) Next Spoiler: My db content this in that order apple Zoro Google tomato zerox Spoiler: The output of query Google Zoro apple tomato zerox It is ok that order by query run upper case first and lower case after?
M Mahares Expert Licensed User Longtime User Feb 29, 2020 #2 yfleury said: It is ok that order by query run upper case first and lower case after? Click to expand... Use this syntax: "select * from table order by Name COLLATE NOCASE" Upvote 0
yfleury said: It is ok that order by query run upper case first and lower case after? Click to expand... Use this syntax: "select * from table order by Name COLLATE NOCASE"
yfleury Active Member Licensed User Longtime User Feb 29, 2020 #3 @Mahares you are so fast... Thank you I just find that myself in https://www.sqlite.org/datatype3.html#comparisons at section 7.2. Collation Sequence Examples Upvote 0
@Mahares you are so fast... Thank you I just find that myself in https://www.sqlite.org/datatype3.html#comparisons at section 7.2. Collation Sequence Examples