Search Postgresql Archives

Re: Need help on triggers - postgres 9.1.2

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

 



On 22/05/2014 13:48, Khangelani Gama wrote:
> Hi
> 
> My problem is on two lines, INSERT statements, I get an error saying c_cde
> does not exist
> 
> INSERT INTO center_changed SELECT c_cde, now();   - My problem is here: I
> get an error saying c_cde does not exist, I cant how I can give

You need to specify where c_cde is coming from - so OLD.c_cde or
NEW.c_cde (or else SELECT .... FROM... if it's coming from somewhere else).


Ray.


-- 
Raymond O'Donnell :: Galway :: Ireland
rod@xxxxxx



[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