Try using ||
in place of +
select locationname || '<p>' from location;
From SQLite documentation:
The || operator is “concatenate” – it joins together the two strings of its operands.
More Related Contents:
- How to use GROUP BY to concatenate strings in MySQL?
- Select first row in each GROUP BY group?
- Splitting string into multiple rows in Oracle
- SQLite – UPSERT *not* INSERT or REPLACE
- Why does Oracle 9i treat an empty string as NULL?
- How can I list the tables in a SQLite database file that was opened with ATTACH?
- Update table values from another table with the same user name
- SQL Select between dates
- How to split a single column values to multiple column values?
- How to pivot in SQLite or i.e. select in wide format a table stored in long format?
- FULL OUTER JOIN with SQLite
- How can multiple rows be concatenated into one in Oracle without creating a stored procedure? [duplicate]
- sqlite database default time value ‘now’
- What’s the best way to capitalise the first letter of each word in a string in SQL Server
- SQLite – ORDER BY RAND()
- SQL string comparison, greater than and less than operators
- SQL Server convert string to datetime
- Select random row(s) in SQLite
- Splitting the string in sql server
- sqlite alter table add MULTIPLE columns in a single statement
- Drop all tables command
- SQLite auto-increment non-primary key field
- How do I remove extended ASCII characters from a string in T-SQL?
- How to create timestamp column with default value ‘now’?
- SQL Server *= Operator?
- Unfindable SQLite Syntax Error
- UPDATE and REPLACE part of a string
- Counting the number of occurrences of a substring within a string in PostgreSQL
- How to select the first N rows of each group?
- Converting String List into Int List in SQL