SQL syntax

Поиск
Список
Период
Сортировка
От Dale Seaburg
Тема SQL syntax
Дата
Msg-id ff87d197-7438-5eb5-065d-f7c52c69b741@verizon.net
обсуждение исходный текст
Ответы Re: SQL syntax
Список pgsql-general
My mind is drawing a blank.  Not sure where to go to find the answer.  
Here is the statement in C#:

sSQL = "SELECT \"Image_Filename\" FROM \"Instruments\" WHERE ";

To finish off the WHERE clause, I need to look at the first 2 letters, 
like "D:".  My question is how do I specify in the WHERE clause, to look 
at the first 2 characters in the Image_Filename column?  What is the 
correct SQL syntax for looking at just a portion of a column?

I feel so dumb...  This can't be that hard, but I am exhausted and 
running out of ideas.  I need someone to give me a boost!  ;-)

Thanks,
Dale.


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

Предыдущее
От: Gary M
Дата:
Сообщение: Re: Is there a continuous backup for pg ?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: SQL syntax