Re: General coding question

Поиск
Список
Период
Сортировка
Искать
От
David Johnston
Тема
Re: General coding question
Дата
Msg-id
024101ccbf45$bdba65e0$392f31a0$@yahoo.com
Ответ на
Список
Дерево обсуждения
Re: General coding question jkells <jtkells@verizon.net>
Re: General coding question "David Johnston" <polobo@yahoo.com>
-----Original Message-----
From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of jkells
Sent: Tuesday, December 20, 2011 12:33 PM
To: pgsql-general@postgresql.org
Subject: [GENERAL] General coding question

General coding question.  Can I insert a text string into a character varying column that contains a \ as is, meaning no escaping of the character or is this a bad practice?

I.e:  Column                     data
    ==========              ====================================
    description              SUBDIV LOT 13 & N1\2 LOT  14 

Thanks

-----------------------------------------------------

You never would actually store an "escaping" black-slash in the data.  The need for an escape symbol occurs only during data entry and strictly depends on how you are entering data .  As you have not provided those details further advice cannot be given.  

David J.


В списке pgsql-general по дате отправления
От: jkells
Дата:
Сообщение: General coding question
От: Bill Moran
Дата:
Сообщение: Re: General coding question
FAQ