 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Update SQL Server 2005 Scripts</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/update-scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/update-scripts/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 19:50:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: djandlo</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/update-scripts/#comment-95156</link>
		<dc:creator>djandlo</dc:creator>
		<pubDate>Wed, 10 Aug 2011 18:00:18 +0000</pubDate>
		<guid isPermaLink="false">#comment-95156</guid>
		<description><![CDATA[Hi Kyle,

The second part of your answer I had to tweak a little but it worked on a single record!  I guess I&#039;ll need to add commas separating if I have multiple records to update?

UPDATE iweb_conf_demo
 SET iweb_conf_demo.Attendee_ribbons = &#039;CODE&#039;
           where (iweb_conf_demo.ID = &#039;##&#039;)

Thanks!

       Darnell]]></description>
		<content:encoded><![CDATA[<p>Hi Kyle,</p>
<p>The second part of your answer I had to tweak a little but it worked on a single record!  I guess I&#8217;ll need to add commas separating if I have multiple records to update?</p>
<p>UPDATE iweb_conf_demo<br />
 SET iweb_conf_demo.Attendee_ribbons = &#8216;CODE&#8217;<br />
           where (iweb_conf_demo.ID = &#8216;##&#8217;)</p>
<p>Thanks!</p>
<p>       Darnell</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: djandlo</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/update-scripts/#comment-95145</link>
		<dc:creator>djandlo</dc:creator>
		<pubDate>Wed, 10 Aug 2011 14:23:59 +0000</pubDate>
		<guid isPermaLink="false">#comment-95145</guid>
		<description><![CDATA[Hi Carlos,

Thanks for the help.

No, I don&#039;t get these types of requests normally but, I have tried to do SQL in a development environment. Unfortunately, I don&#039;t always have a lot of time to devote to playing around with it.

Thanks again,

DJ]]></description>
		<content:encoded><![CDATA[<p>Hi Carlos,</p>
<p>Thanks for the help.</p>
<p>No, I don&#8217;t get these types of requests normally but, I have tried to do SQL in a development environment. Unfortunately, I don&#8217;t always have a lot of time to devote to playing around with it.</p>
<p>Thanks again,</p>
<p>DJ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/update-scripts/#comment-95144</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Wed, 10 Aug 2011 13:58:30 +0000</pubDate>
		<guid isPermaLink="false">#comment-95144</guid>
		<description><![CDATA[For the first part you would do something like this:

&lt;pre&gt;UPDATE iweb_conf_demo set Attendee_ribbons = NULL&lt;/pre&gt;

This would set to NULL the Attendee_ribbons field in all of the records in the table, without any condition.

This is pretty basic.  You should have a test database to try and learn.

For the second part you could write multiple updates or use a CASE construct to do it in one shot.  You didn&#039;t specify in which cases you want to update the field with 0020 and 0650.

&lt;b&gt;If you are supposed to do this kind of task, you should start learning SQL.&lt;/b&gt;]]></description>
		<content:encoded><![CDATA[<p>For the first part you would do something like this:</p>
<pre>UPDATE iweb_conf_demo set Attendee_ribbons = NULL</pre>
<p>This would set to NULL the Attendee_ribbons field in all of the records in the table, without any condition.</p>
<p>This is pretty basic.  You should have a test database to try and learn.</p>
<p>For the second part you could write multiple updates or use a CASE construct to do it in one shot.  You didn&#8217;t specify in which cases you want to update the field with 0020 and 0650.</p>
<p><b>If you are supposed to do this kind of task, you should start learning SQL.</b></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.036 seconds using memcached
Object Caching 295/301 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 21:34:03 -->