When To Use Quotes

Поиск
Список
Период
Сортировка
От Carlos Mennens
Тема When To Use Quotes
Дата
Msg-id CAAQLLO5u5Rr5txn7Ve4a90_gtxq8pzzej44+1JgdX5e7ukPXfw@mail.gmail.com
обсуждение исходный текст
Ответы Re: When To Use Quotes
Список pgsql-sql
I'm trying to understand when in SELECT statements should and should I
not use single quotes to filter my results. For example:

SELECT * FROM people
WHERE fname = 'James';

or

SELECT * FROM price
WHERE msrb
BETWEEN 50 AND 100;

Now is it correct to say that in PostgreSQL or ANSI SQL in general I
should use 'single quotes' when the condition is strictly a numerical
data type value and everything else should be inside 'single quotes'?


В списке pgsql-sql по дате отправления:

Предыдущее
От: Samuel Gendler
Дата:
Сообщение: Fwd: i want small information regarding postgres
Следующее
От: "Plugge, Joe R."
Дата:
Сообщение: Re: When To Use Quotes