<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "cannot build equivalent search using SQL?"]]></title>
		<link>http://www.ldapsoft.com/forum/posts/list/7.page</link>
		<description><![CDATA[Latest messages posted in the topic "cannot build equivalent search using SQL?"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>cannot build equivalent search using SQL?</title>
				<description><![CDATA[ I am having trouble translating a working LDAP query into <br /> something equivalent in the SQL editor.  My reason for wanting<br /> this is to get control over which attributes are displayed in the <br /> search results.<br /> <br /> my "normal" search uses this criteria:<br /> <br /> Search Base: [  ou=People,o=my.com  ]<br /> <br /> Filter Preview: [  (&(JobFunctionCode=LRD)(buildingName=mycity*))<br /> <br /> Running this search correctly returns a list of 40 -some odd matching entries<br /> <br /> <br /> I cannot duplicate this query in SQL ... problem (I think) is in the syntax<br /> for the "FROM" clause.  <br /> <br /> I've tried "FROM dc=my,dc=com" w/ no results.<br /> <br /> What is the proper syntax to use to correctly specify the target of my FROM clause?<br /> <br /> Thanks!<br /> Paul<br /> <br /> ]]></description>
				<guid isPermaLink="true">http://www.ldapsoft.com/forum/posts/preList/21/100.page</guid>
				<link>http://www.ldapsoft.com/forum/posts/preList/21/100.page</link>
				<pubDate><![CDATA[Wed, 3 Dec 2008 19:58:46]]> GMT</pubDate>
				<author><![CDATA[ PaulG]]></author>
			</item>
			<item>
				<title>Re:cannot build equivalent search using SQL?</title>
				<description><![CDATA[ Try the following Statement<br /> <br /> SELECT FROM ou=People,o=my.com where buildingName like  'mycity%' and  JobFunctionCode= 'LRD'<br /> subtreescope<br /> <br /> whenever there is wildcard character you have to use like.<br /> <br /> <br /> <br /> ]]></description>
				<guid isPermaLink="true">http://www.ldapsoft.com/forum/posts/preList/21/101.page</guid>
				<link>http://www.ldapsoft.com/forum/posts/preList/21/101.page</link>
				<pubDate><![CDATA[Thu, 4 Dec 2008 17:25:40]]> GMT</pubDate>
				<author><![CDATA[ support]]></author>
			</item>
	</channel>
</rss>