| От | David Bear |
|---|---|
| Тема | creating column content from entry values |
| Дата | |
| Msg-id | 200802211855.30789.david.bear@asu.edu обсуждение исходный текст |
| Ответы |
Re: creating column content from entry values
|
| Список | pgsql-admin |
I am too new to this environment to know what to call what I want to do.
Breifly, I want to do an insert where the values for three of the attributes
are combined via a function and make up the value for the fourth attribute.
The function may be a simple as a concatenation, or I may want to do other
things to manipulate the strings that are entered. I think what I want is a
function that I can call when I do the insert like this
insert into mytable (col1, col2, col3) values ('somestring', 'another
string' )
but have the insert fix col3 to be whatever it the function computes it to be.
does this make any sense?
--
David Bear
College of Public Programs/ASU
411 N Central, Phoenix, AZ 85004
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера