Sunday, October 14, 2012

PostgreSQL Contactenation

Which query is correct in PostgreSQL?

A. SELECT 'Test' . 'query';
B. SELECT cat('Test','query') FROM dual;
C. SELECT 'Test' + 'query';
D. SELECT 'Test' + 'query' FROM dual;
E. SELECT 'Test' || 'query';

Answer:[E]
Highlight to find out the answer.

No comments:

Post a Comment

Oracle Query