Ver Mensaje Individual
  #7 (permalink)  
Antiguo 25/07/2009, 14:34
Avatar de huesos52
huesos52
Colaborador
 
Fecha de Ingreso: febrero-2009
Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 15 años, 2 meses
Puntos: 360
Respuesta: vfp - postgresql

mira un ejemplo


Código sql:
Ver original
  1. CREATE OR REPLACE FUNCTION insertar(nom text, apellido text) RETURNS void AS $$
  2. BEGIN
  3.     INSERT INTO nombres VALUES(nom,apellido);
  4. END; $$
  5. LANGUAGE 'plpgsql';

Un saludo.
__________________
Without data, You are another person with an opinion.
W. Edwads Deming