On 2/26/08, Jason Salas <[EMAIL PROTECTED]> wrote:
> I'm new to SQLite, coming over from SQL Server.  I often do string
>  concatenation like so:
>
>  lastName + ', ' + firstName as [name] from myTable
>
pretty standard SQL way is

lastName || ', ' || firstName AS name



>  But it tries to run a math computation and returns '0.0' for each
>  field.  I've tried some other concat operators that I know of, but none
>  work.  How is this achieved in SQLite?
>
>  Thanks!
>
>
>  _______________________________________________
>  sqlite-users mailing list
>  sqlite-users@sqlite.org
>  http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>


-- 
Puneet Kishor http://punkish.eidesis.org/
Nelson Institute for Environmental Studies http://www.nelson.wisc.edu/
Open Source Geospatial Foundation (OSGeo) http://www.osgeo.org/
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to