<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:evnet="http://www.mscommunities.com/rssmodule/"><channel><title>Comment Feed for Newbie question on SQL Server 2005 &amp;quot;+&amp;quot; string concatenation (TechOff on Channel 9)</title><atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/forums/techoff/401669-newbie-question-on-sql-server-2005-quotquot-string-concatenation/rss/default.aspx" /><image><url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url><title>Comment Feed for Newbie question on SQL Server 2005 &amp;quot;+&amp;quot; string concatenation (TechOff on Channel 9)</title><link>http://channel9.msdn.com/forums/TechOff/401669-Newbie-question-on-SQL-Server-2005-quotquot-string-concatenation/</link></image><description>Newbie question on SQL Server 2005 &amp;quot;+&amp;quot; string concatenation</description><link>http://channel9.msdn.com/forums/TechOff/401669-Newbie-question-on-SQL-Server-2005-quotquot-string-concatenation/</link><language>en-us</language><pubDate>Tue, 06 May 2008 22:16:50 GMT</pubDate><lastBuildDate>Tue, 06 May 2008 22:16:50 GMT</lastBuildDate><generator>EvNet (EvNet, Version=1.0.3243.35083, Culture=neutral, PublicKeyToken=null)</generator><item><title>Re: Newbie question on SQL Server 2005 &amp;quot;+&amp;quot; string concatenation</title><description>There are a few alternatives to work around the issue. Perhaps the easiest is to translate the null string in the query:&lt;br /&gt;&lt;br /&gt;SELECT ISNULL(SerialNumber.Number, '') + '-' + SerialNumber.Description AS SerialNumberInfo&lt;br /&gt;&lt;br /&gt;The other alternative is pull the raw data into the query and perform the contatenation in code:&lt;br /&gt;&lt;br /&gt;SELECT SerialNumber.Number, SerialNumber.Description&lt;br /&gt;&lt;br /&gt;string serialNumberInfo = reader["Number"] as string ?? "" + reader["Description] as string;&lt;br /&gt;&lt;br /&gt;There may be other alternatives, but I think these are the easiest to implement.&lt;br /&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/401669-Newbie-question-on-SQL-Server-2005-quotquot-string-concatenation/?CommentID=401809</link><pubDate>Tue, 06 May 2008 22:16:50 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/401669-Newbie-question-on-SQL-Server-2005-quotquot-string-concatenation/?CommentID=401809</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/401809/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>There are a few alternatives to work around the issue. Perhaps the easiest is to translate the null string in the query:SELECT ISNULL(SerialNumber.Number, '') + '-' + SerialNumber.Description AS SerialNumberInfoThe other alternative is pull the raw data into the query and perform the contatenation&amp;#8230;</evnet:previewtext><dc:creator>lothan</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/401809/Trackback.aspx</trackback:ping></item><item><title>Re: Newbie question on SQL Server 2005 &amp;quot;+&amp;quot; string concatenation</title><description>&lt;blockquote&gt;
				&lt;div&gt;Maddus Mattus wrote:&lt;/div&gt;
				&lt;div&gt;﻿Take a look at the ISNULL and the COALSESCE functions, they can help you with your problem.&lt;/div&gt;
		&lt;/blockquote&gt;
		&lt;br /&gt;
		&lt;br /&gt;Thanks a lot. Thats helped me to solve the problem [H]</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/401669-Newbie-question-on-SQL-Server-2005-quotquot-string-concatenation/?CommentID=401679</link><pubDate>Tue, 06 May 2008 08:51:24 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/401669-Newbie-question-on-SQL-Server-2005-quotquot-string-concatenation/?CommentID=401679</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/401679/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>	Maddus Mattus wrote:
				﻿Take a look at the ISNULL and the COALSESCE functions, they can help you with your problem.
		
		
		Thanks a lot. Thats helped me to solve the problem [H]</evnet:previewtext><dc:creator>t3ngf0ung</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/401679/Trackback.aspx</trackback:ping></item><item><title>Re: Newbie question on SQL Server 2005 &amp;quot;+&amp;quot; string concatenation</title><description>Take a look at the ISNULL and the COALSESCE functions, they can help you with your problem.</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/401669-Newbie-question-on-SQL-Server-2005-quotquot-string-concatenation/?CommentID=401673</link><pubDate>Tue, 06 May 2008 07:38:50 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/401669-Newbie-question-on-SQL-Server-2005-quotquot-string-concatenation/?CommentID=401673</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/401673/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Take a look at the ISNULL and the COALSESCE functions, they can help you with your problem.</evnet:previewtext><dc:creator>Maddus Mattus</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/401673/Trackback.aspx</trackback:ping></item></channel></rss>