Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: SELECTing into usertype, how to do it?



am  25.04.2006, um 14:25:50 +0200 mailte Mario Splivalo folgendes:
> > 
> > select into type_var col_a, col_b from table_a ... ;
> > 
> 
> Thnx... still, that SELECT INTO looks pretty anoying... it would be neat
> to type just: 
> 	type_var := col_a, col_b FROM ...

well-nigh:

	type_var := (col_a, col_b) FROM ...


Andreas
-- 
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47215,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    === 



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group