Re: How do i store arbitrary questions and answers in SQL?

Поиск
Список
Период
Сортировка
От Enver ALTIN
Тема Re: How do i store arbitrary questions and answers in SQL?
Дата
Msg-id 20060823131323.GB8476@golf
обсуждение исходный текст
Ответ на How do i store arbitrary questions and answers in SQL?  ("lifeisgood" <paul1brian@gmail.com>)
Ответы Re: How do i store arbitrary questions and answers in SQL?
Список pgsql-general
Hi,

On Wed, Aug 23, 2006 at 02:40:29AM -0700, lifeisgood wrote:
> CREATE TABLE Answer(ID INT, questionID INT, answer_text VARCHAR(255),
> datatype INT)

You can actually store answer_text as a BLOB in the database that is
packed in any format your application can handle. You can serialize a
class that represents the answer you need and store it, for example.

-HTH
--
Enver

Вложения

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [8.1.4] Create index on timestamp fails
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: What's special about 1916-10-01 02:25:20? Odd jump in internal timestamptz representation