Suggestions? I hope it's simple.
DECLARE @TestTable TABLE(Seq INT IDENTITY, StringData nvarchar(100)) INSERT INTO @TestTable VALUES ( '''>'' + char(160) + ''<''' ) --non-breaking space SELECT Seq, StringData FROM @TestTable --Shows the desired result when not selected from a table SELECT '>' + char(160) + '<' AS 'Direct_Select__Desired_Results' --If I try a select statement, it doesn't work. SELECT Seq, (SELECT StringData) AS 'Subqueried_Data' FROM @TestTable --How do I get the desired results when selecting from a table? SELECT Seq, /*??*/ StringData AS '??Evaluated_StringData??' FROM @TestTable
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.