Basic table with empname and empdpt.
In a Sql Server table, I can do Select empname + ' ' + empdpt as expr1
no problem.
Can't do the same using Sqlite!!
When I try to combine two columns [with data], I get back a 0.
I've tried in sqliteman and sqliteadmin as well as Server Explorer in VS.
相关问题
- sqlite3 锁库的问题 (mount、Linux)
- An error occurred while installing sqlite3 (1.3.11
- Simulate ORDER BY in SQLite UPDATE to handle uniqu
- SQLite SharedCache MultiThread Reads
- how to add column in a sqlite table in SWIFT
相关文章
- 蟒3.2 UnicodeEncodeError:“字符表”编解码器不能在9629位置编码字符“\\
- 如何为Ruby在Windows上安装sqlite3的?(How do I install sqlit
- 力的Python放弃本地的sqlite3和使用(已安装)最新版本的sqlite3的(Force Py
- 导入CSV对于SQLite(Import CSV to SQLite)
- 在iOS应用使用数据(有什么选择呢?NSData的,CoreData,sqlite的,plist中,
- sqlite3 锁库的问题 (mount、Linux)
- An error occurred while installing sqlite3 (1.3.11
- Simulate ORDER BY in SQLite UPDATE to handle uniqu
Try using the following:
Update
If these are columns you can do something similar: SELECT (column1 || " " || column2) AS expr1 FROM your_table;
The sqllite concat is the same as PostGreSQL ( || ) and not MYSQL or MSSQL 'CONCAT'
for those who are trying to use the (working) solution of @merkuru
in eclipse or another editor:
you have to cancel the " with \
something like:
that's works perfect