<?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: Querying Quality Center user roles</title>
	<atom:link href="http://www.jds.net.au/tech-tips/querying-quality-center-user-roles/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jds.net.au/tech-tips/querying-quality-center-user-roles/</link>
	<description>Expert consulting services with HP Software</description>
	<lastBuildDate>Mon, 06 Feb 2012 00:24:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Riga Photos</title>
		<link>http://www.jds.net.au/tech-tips/querying-quality-center-user-roles/#comment-38295</link>
		<dc:creator>Riga Photos</dc:creator>
		<pubDate>Wed, 16 Feb 2011 12:18:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.jds.net.au/?p=1984#comment-38295</guid>
		<description>Here the better solution, which doesn&#039;t require not built-in functions:

SELECT US_USERNAME, GR_GROUP_NAME
FROM USERS, GROUPS
WHERE SUBSTRING(US_GROUP, GR_GROUP_ID + 1, 1) = 1</description>
		<content:encoded><![CDATA[<p>Here the better solution, which doesn&#8217;t require not built-in functions:</p>
<p>SELECT US_USERNAME, GR_GROUP_NAME<br />
FROM USERS, GROUPS<br />
WHERE SUBSTRING(US_GROUP, GR_GROUP_ID + 1, 1) = 1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.jds.net.au/tech-tips/querying-quality-center-user-roles/#comment-35582</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Wed, 26 Jan 2011 14:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.jds.net.au/?p=1984#comment-35582</guid>
		<description>Mirko,
You are a genius.  This was the exact query I was looking for.</description>
		<content:encoded><![CDATA[<p>Mirko,<br />
You are a genius.  This was the exact query I was looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mirko</title>
		<link>http://www.jds.net.au/tech-tips/querying-quality-center-user-roles/#comment-22853</link>
		<dc:creator>Mirko</dc:creator>
		<pubDate>Tue, 12 Oct 2010 13:34:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.jds.net.au/?p=1984#comment-22853</guid>
		<description>Thanks for this post. I found it very interesting since I was having the same issue. I figured out a simpler way to realize the join between the USERS and GROUPS table. For me it&#039;s working fine:

SELECT USERS.US_USERNAME, 
GROUPS.GR_GROUP_ID,
GROUPS.GR_GROUP_NAME
FROM USERS, GROUPS
WHERE(INSTR(US_GROUP,1,1,1)-1) =GROUPS.GR_GROUP_ID

Mirko</description>
		<content:encoded><![CDATA[<p>Thanks for this post. I found it very interesting since I was having the same issue. I figured out a simpler way to realize the join between the USERS and GROUPS table. For me it&#8217;s working fine:</p>
<p>SELECT USERS.US_USERNAME,<br />
GROUPS.GR_GROUP_ID,<br />
GROUPS.GR_GROUP_NAME<br />
FROM USERS, GROUPS<br />
WHERE(INSTR(US_GROUP,1,1,1)-1) =GROUPS.GR_GROUP_ID</p>
<p>Mirko</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart Moncrieff</title>
		<link>http://www.jds.net.au/tech-tips/querying-quality-center-user-roles/#comment-8648</link>
		<dc:creator>Stuart Moncrieff</dc:creator>
		<pubDate>Wed, 18 Nov 2009 04:43:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.jds.net.au/?p=1984#comment-8648</guid>
		<description>Actually, there is a posting on that website where someone has used the same technique to store whether an &quot;agent&quot; is allowed to sell a &quot;product line&quot;.

http://thedailywtf.com/Articles/Pretty-Simple.aspx

This makes writing a feature to &#039;Find Agency by Product Line&#039; harder than it should be.

Cheers,
Stuart.</description>
		<content:encoded><![CDATA[<p>Actually, there is a posting on that website where someone has used the same technique to store whether an &#8220;agent&#8221; is allowed to sell a &#8220;product line&#8221;.</p>
<p><a href="http://thedailywtf.com/Articles/Pretty-Simple.aspx" rel="nofollow">http://thedailywtf.com/Articles/Pretty-Simple.aspx</a></p>
<p>This makes writing a feature to &#8216;Find Agency by Product Line&#8217; harder than it should be.</p>
<p>Cheers,<br />
Stuart.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: What the...?</title>
		<link>http://www.jds.net.au/tech-tips/querying-quality-center-user-roles/#comment-7156</link>
		<dc:creator>What the...?</dc:creator>
		<pubDate>Sun, 13 Sep 2009 02:05:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.jds.net.au/?p=1984#comment-7156</guid>
		<description>This is a good example of how &lt;em&gt;NOT&lt;/em&gt; to create a database many-to-many relationship. I can&#039;t believe that a mature product that is used by thousands of people has code like this in it. Definitely deserves to be on &lt;a href=&quot;http://thedailywtf.com/&quot; rel=&quot;nofollow&quot;&gt;The Daily WTF&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>This is a good example of how <em>NOT</em> to create a database many-to-many relationship. I can&#8217;t believe that a mature product that is used by thousands of people has code like this in it. Definitely deserves to be on <a href="http://thedailywtf.com/" rel="nofollow">The Daily WTF</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

