Search Postgresql Archives

Re: query ... returned 4 columns

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorin Schwimmer wrote:
Hi All,

I'm trying to write a stored PLPG/SQL procedure:

    o:= * FROM expected_stuff WHERE packslip=$1; --
LIMIT 1;

Is this valid syntax? I'm a little surprised, but I think I can see what's happening.

Try something more like:
  SELECT * INTO o FROM expected_stuff...

See if that makes a difference
--
  Richard Huxton
  Archonet Ltd


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux