E
E
eldar_web2015-03-18 11:41:01
Yii
eldar_web, 2015-03-18 11:41:01

How to use ORDER BY TRIM(BOTH '"' FROM name); ???

I want to exclude quotes when selecting records from the database in YII (due to alphabetical sorting), but how can I use TRIM(BOTH '"' FROM name) ???

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
NO, 2015-03-18
@eldar_web

Read documentation: yiiframework.com/doc/guide/1.1/en/database.query-b... or in Russian: yiiframework.com/doc/guide/1.1/en/database.query-b...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question