mr923 发表于 2016-11-29 11:57:11

Sqlite中的字符串连接

在SQLite下
select "A"+"1" 结果为1
select "A"+1 结果为1
select 2+1 结果为3
以应该用|| 来拼接字符串的结果
  select "A"||ID AS MyStrfrom table1;
  
页: [1]
查看完整版本: Sqlite中的字符串连接