开发者

How can we use "Decode" functionality in SQLite?

I woul开发者_运维知识库d like to use "Decode" functionality in SQLite select statement.

From what I have read, it looks like there is no such function in SQLite.

What could be a workaround so that we use something similar to "Decode" in SQLite?


There is no decode in Sqlite. Use "case statement instead" it's standard SQL an runs on any DB - which is better anyway.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜