
21/04/2008, 09:28
|
 | Colaborador | | Fecha de Ingreso: diciembre-2004
Mensajes: 1.802
Antigüedad: 20 años, 3 meses Puntos: 38 | |
Re: poner condicion en where
Código:
Select *
from Mitabla
Where (Case When MiCondicion Then Algo Else OtraCosa End) = ResultadoCondicion
 Saludos!
__________________ La sencillez y naturalidad son el supremo y último fin de la cultura...
--
MCTS : SQL Server 2008, .NET Framework 3.5, ASP.NET Applications. |