![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
03/02/2010, 07:37
|
![Avatar de huesos52](http://static.forosdelweb.com/customavatars/avatar287966_22.gif) | Colaborador | | Fecha de Ingreso: febrero-2009 Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 16 años Puntos: 360 | |
Respuesta: Select Case Insert o Update No existe una sentencia sencilla.
Pero puedes hacer una función que te haga las respectivas validaciones.
La función debe preguntar si el registro existe... si existe, que lo actualice o lo deje como estaba, si no existe que lo inserte.
saludos
__________________ Without data, You are another person with an opinion.
W. Edwads Deming |