android - Where can I find SQL keywords constants in Java, for example "DESC"? -


i have sort criteria looks following:

mediastore.mediacolumns.date_added + " desc" 

i'd replace desc constant.

another option use statement builder. knows of such?

i'd replace desc constant.

why. is constant, sql language point of view. nobody going change it. java point of view, it's pooled string literal.

java doesn't provide keywords of other languages constants. sisyohean task.

don't worry it.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -