Re: [SQL] Simple concatenation in select query

2003-09-21 Thread yogesh selukar
Hello Everybpdy, The concatination in select query u can write the query like this.    select c.status||' this '||' is '||' the '||' status ' from course_master as c; This works fine   Regards   Yogesh Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software

Re: [SQL] Simple concatenation in select query

2000-07-31 Thread Tom Lane
"Sandis" <[EMAIL PROTECTED]> writes: > Ok, i got it, after all! It took > 30 min to write this query. :( > SELECT textcat(textcat(first_name,text ' '),last_name) from table; It's a lot easier if you use the SQL-standard concatenation operator: regression=# select 'foo' || 'bar'; ?column? -

RE: [SQL] Simple concatenation in select query

2000-07-31 Thread Henry Lafleur
1, 2000 2:48 PM To: [EMAIL PROTECTED] Subject: [SQL] Simple concatenation in select query Hello, Sorry for the stupid posting, but.. There was a string concatenation function in MySQL: SELECT CONCAT(first_name, " ", last_name) FROM table; Is there a similar function in Postgres? Certain

[SQL] Simple concatenation in select query

2000-07-31 Thread Sandis
Hello, Sorry for the stupid posting, but.. There was a string concatenation function in MySQL: SELECT CONCAT(first_name, " ", last_name) FROM table; Is there a similar function in Postgres? Certainly, it's possible to live without it, but i'd like to write as above, doing concatenation in place