<?xml version="1.0" encoding="UTF-8" ?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>SQLQueriesNoCode at Yahoo! Groups</title>
    <link>http://tech.groups.yahoo.com/group/SQLQueriesNoCode/</link>
    <description>SQLQueriesNoCode</description>

    <item>
      <title>Re: Help-Optimize Query</title>
      <pubDate>Tue, 10 Nov 2009 10:52:57 GMT</pubDate>
      <dc:creator>John Warner</dc:creator>
      <link>http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4361</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4361</guid>
      <description>http://developer.postgresql.org/pgdocs/postgres/functions-datetime.html John Warner ... and</description>
    </item>
    <item>
      <title>Re: Help-Optimize Query</title>
      <pubDate>Tue, 10 Nov 2009 02:40:44 GMT</pubDate>
      <dc:creator>Muhammad Rafizeldi</dc:creator>
      <link>http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4360</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4360</guid>
      <description>my query become slow because i used non postgresql standard function dateadd() is mssql function, i didn&#39;t realize it before to solve my problem, i use &#43;/-</description>
    </item>
    <item>
      <title>Re: Query question</title>
      <pubDate>Tue, 10 Nov 2009 01:18:28 GMT</pubDate>
      <dc:creator>Tim Mitchell</dc:creator>
      <link>http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4359</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4359</guid>
      <description>You can use the RIGHT function to accomplish this.  Assuming your location code column is character data, use something similar to the following: RIGHT(&#39;0000&#39;</description>
    </item>
    <item>
      <title>Query question</title>
      <pubDate>Mon, 09 Nov 2009 22:55:04 GMT</pubDate>
      <dc:creator>Paul</dc:creator>
      <link>http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4358</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4358</guid>
      <description>Hello all: I am an Oracle SQL neophyte and need to be able to dothe following: My customer used to send in a location code of up to 4 characters with leading</description>
    </item>
    <item>
      <title>Re: case statement not working SQL SERVER 2005</title>
      <pubDate>Thu, 05 Nov 2009 20:13:30 GMT</pubDate>
      <dc:creator>J P</dc:creator>
      <link>http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4357</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4357</guid>
      <description>Thanks, the suggestions triggered this solution.  Thanks for all responses, it pointed me in the right direction   </description>
    </item>
    <item>
      <title>Re: case statement not working SQL SERVER 2005</title>
      <pubDate>Thu, 05 Nov 2009 20:07:49 GMT</pubDate>
      <dc:creator>dina_4ev3r</dc:creator>
      <link>http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4356</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4356</guid>
      <description>I don&#39;t have any instance of SQL server to check the query. But as far as I can recollect the syntax it should work.</description>
    </item>
    <item>
      <title>Re: case statement not working SQL SERVER 2005</title>
      <pubDate>Thu, 05 Nov 2009 19:57:24 GMT</pubDate>
      <dc:creator>John Warner</dc:creator>
      <link>http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4355</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4355</guid>
      <description>SELECT degree1, degree2, (CASE WHEN degree2 IS NULL THEN degree1 ELSE degree1 + &#39;, &#39;  + degree2 END) AS all_degrees FROM fac_facultytbl GROUP BY degree1, </description>
    </item>
    <item>
      <title>Re: case statement not working SQL SERVER 2005</title>
      <pubDate>Thu, 05 Nov 2009 19:13:46 GMT</pubDate>
      <dc:creator>pulverizers73</dc:creator>
      <link>http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4354</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4354</guid>
      <description>Msg 156, Level 15, State 1, Line 1 Incorrect syntax near the keyword &#39;is&#39;.</description>
    </item>
    <item>
      <title>Re: case statement not working SQL SERVER 2005</title>
      <pubDate>Thu, 05 Nov 2009 18:58:05 GMT</pubDate>
      <dc:creator>dina_4ev3r</dc:creator>
      <link>http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4352</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4352</guid>
      <description>I think you&#39;ll have to check Is NULL and not just NULL try this way select degree1,degree2, (case when degree2 IS NULL then degree1 else degree1+&#39;, &#39;&#43;degree2</description>
    </item>
    <item>
      <title>case statement not working SQL SERVER 2005</title>
      <pubDate>Thu, 05 Nov 2009 18:31:23 GMT</pubDate>
      <dc:creator>pulverizers73</dc:creator>
      <link>http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4350</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4350</guid>
      <description>Why is all_degrees null when degree2 is null?  what am i missing? it only works if degree2 is not null I want DEGREE1, DEGREE2 (if not null) select</description>
    </item>
    <item>
      <title>Re: SQL update help</title>
      <pubDate>Sat, 17 Oct 2009 15:05:42 GMT</pubDate>
      <dc:creator>John Warner</dc:creator>
      <link>http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4349</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4349</guid>
      <description>Actually it should have been the &quot;_&quot; underscore. I only wanted to match a single character. The &#39;%&#39; character matches zero or more characters. But you are</description>
    </item>
    <item>
      <title>Re: SQL update help - FINAL UPDATE STATEMENT</title>
      <pubDate>Sat, 17 Oct 2009 12:16:08 GMT</pubDate>
      <dc:creator>MELVYN LOPEZ</dc:creator>
      <link>http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4348</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4348</guid>
      <description>THE FINAL UPDATE STATEMENT... see, that this resolves your problem... Sometimes, it takes multiple tries.... update Table t set t.description= t2.description </description>
    </item>
    <item>
      <title>Re: SQL update help - GOOD ADVICE</title>
      <pubDate>Sat, 17 Oct 2009 11:55:05 GMT</pubDate>
      <dc:creator>MELVYN LOPEZ</dc:creator>
      <link>http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4347</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4347</guid>
      <description>BTW, it is always good practice to test your update query with a select of which rows are going to be affected by the update... here is what i do: I highlight</description>
    </item>
    <item>
      <title>Re: SQL update help - REMATCH2</title>
      <pubDate>Sat, 17 Oct 2009 11:50:45 GMT</pubDate>
      <dc:creator>MELVYN LOPEZ</dc:creator>
      <link>http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4346</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4346</guid>
      <description>REMATCH2:  I left out the non-null requirement for instance t2. ..sorry. Here it is again: update Table t set t.description= t2.description from Table t,</description>
    </item>
    <item>
      <title>Re: SQL update help</title>
      <pubDate>Sat, 17 Oct 2009 11:43:59 GMT</pubDate>
      <dc:creator>MELVYN LOPEZ</dc:creator>
      <link>http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4345</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/SQLQueriesNoCode/message/4345</guid>
      <description>REMATCH:  I left out the null requirement...sorry. Here it is again: update Table t set t.description= t2.description from Table t, Table t2 where</description>
    </item>

  </channel>
</rss>
<!-- wr2.grp.sp2.yahoo.com uncompressed/chunked Fri Dec  4 01:56:13 PST 2009 -->
