Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/12/2009, 10:05
Avatar de Andres95
Andres95
Colaborador
 
Fecha de Ingreso: diciembre-2004
Mensajes: 1.802
Antigüedad: 19 años, 5 meses
Puntos: 38
Respuesta: problema con update

solo ponla doble por ejemplo..


Código:
DECLARE @MiVar VARCHAR(50)

SET @MiVar = 'con ''comillas'' simples en query estatico'
PRINT @MiVar

EXECUTE ('
DECLARE @MiVar VARCHAR(50)

SET @MiVar = ''con ''''comillas'''' simples en query dinamico ''
PRINT @MiVar

')
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.