<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic pattern matching in ms access query in SQL database</title>
    <link>https://community.fabric.microsoft.com/t5/SQL-database/pattern-matching-in-ms-access-query/m-p/4743431#M375</link>
    <description>&lt;P&gt;i have table T1 with&amp;nbsp; query, name&amp;nbsp;&lt;/P&gt;&lt;P&gt;T2&amp;nbsp; table pattern , category&lt;/P&gt;&lt;P&gt;Query&amp;nbsp; can be anything&amp;nbsp;&lt;/P&gt;&lt;P&gt;t2 table&amp;nbsp;&lt;/P&gt;&lt;P&gt;pattern2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;category&lt;/P&gt;&lt;P&gt;connection*failure*&amp;nbsp; &amp;nbsp; connectivity&amp;nbsp;&lt;/P&gt;&lt;P&gt;power*failure*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;power issue&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am trying like&amp;nbsp;&lt;/P&gt;&lt;P&gt;select t1.query, t2.patter,t2.category&amp;nbsp; from t1,t2 where&amp;nbsp; query like "*"&amp;amp;t2.pattern2&amp;amp;"*"&lt;/P&gt;&lt;P&gt;but in MS access it says join does not suppport expression&amp;nbsp; . how to achieve this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jun 2025 10:01:54 GMT</pubDate>
    <dc:creator>vijaykaali811</dc:creator>
    <dc:date>2025-06-25T10:01:54Z</dc:date>
    <item>
      <title>pattern matching in ms access query</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/pattern-matching-in-ms-access-query/m-p/4743431#M375</link>
      <description>&lt;P&gt;i have table T1 with&amp;nbsp; query, name&amp;nbsp;&lt;/P&gt;&lt;P&gt;T2&amp;nbsp; table pattern , category&lt;/P&gt;&lt;P&gt;Query&amp;nbsp; can be anything&amp;nbsp;&lt;/P&gt;&lt;P&gt;t2 table&amp;nbsp;&lt;/P&gt;&lt;P&gt;pattern2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;category&lt;/P&gt;&lt;P&gt;connection*failure*&amp;nbsp; &amp;nbsp; connectivity&amp;nbsp;&lt;/P&gt;&lt;P&gt;power*failure*&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;power issue&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am trying like&amp;nbsp;&lt;/P&gt;&lt;P&gt;select t1.query, t2.patter,t2.category&amp;nbsp; from t1,t2 where&amp;nbsp; query like "*"&amp;amp;t2.pattern2&amp;amp;"*"&lt;/P&gt;&lt;P&gt;but in MS access it says join does not suppport expression&amp;nbsp; . how to achieve this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 10:01:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/pattern-matching-in-ms-access-query/m-p/4743431#M375</guid>
      <dc:creator>vijaykaali811</dc:creator>
      <dc:date>2025-06-25T10:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: pattern matching in ms access query</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/pattern-matching-in-ms-access-query/m-p/4744552#M376</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="847576" data-lia-user-login="vijaykaali811" class="lia-mention lia-mention-user"&gt;vijaykaali811&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for sharing your question here Since your issue seems to be related specifically to pattern matching in MS Access queries, I’d recommend also posting this thread in the Microsoft Access Community. There are many experienced Access developers and experts there who are more focused on Access-specific syntax and behaviour they may be able to offer more targeted assistance.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.microsoft.com/en-in/microsoft-365/access?ef_id=_k_7e1aad8e88dc1279cc04c5d26d6afea4_k_&amp;amp;OCID=AIDcmmapr1szny_SEM__k_7e1aad8e88dc1279cc04c5d26d6afea4_k_&amp;amp;msclkid=7e1aad8e88dc1279cc04c5d26d6afea4" target="_blank"&gt;Database Software and Applications | Microsoft Access&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Best Regards,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Lakshmi Narayana&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 06:36:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/pattern-matching-in-ms-access-query/m-p/4744552#M376</guid>
      <dc:creator>v-lgarikapat</dc:creator>
      <dc:date>2025-06-26T06:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: pattern matching in ms access query</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/pattern-matching-in-ms-access-query/m-p/4813112#M426</link>
      <description>&lt;P&gt;In MS Access, you can’t use LIKE in the join.&lt;/P&gt;&lt;P&gt;Do this instead:&lt;/P&gt;&lt;P&gt;SELECT t1.query, t2.pattern2, t2.category&lt;BR /&gt;FROM t1, t2&lt;BR /&gt;WHERE t1.query LIKE "*" &amp;amp; t2.pattern2 &amp;amp; "*";&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_right:"&gt;👉&lt;/span&gt; Put LIKE in the WHERE clause, not the join.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2025 08:03:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/pattern-matching-in-ms-access-query/m-p/4813112#M426</guid>
      <dc:creator>Shahid12523</dc:creator>
      <dc:date>2025-09-01T08:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: pattern matching in ms access query</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/pattern-matching-in-ms-access-query/m-p/4840773#M474</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/847576" target="_self"&gt;&lt;SPAN class=""&gt;vijaykaali811&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In MS Access, you can't use a pattern match (LIKE "*"&amp;amp;...&amp;amp;"*" ) as part of a join. Access doesn't allow expressions like that in joins.&lt;/P&gt;&lt;P&gt;But you can still do what you want by writing the query like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECT t1.query, t2.pattern2, t2.category&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FROM t1, t2&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;WHERE t1.query LIKE "*" &amp;amp; t2.pattern2 &amp;amp; "*";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how it will work :&amp;nbsp;&lt;BR /&gt;It compares every row in t1 with every row in t2, and filters them where the pattern matches.&lt;/P&gt;&lt;P&gt;BUT If t2.pattern2 has * inside (like connection*failure*), that won’t work as you expect.&lt;BR /&gt;Access uses * as a wildcard, not as a separator. So instead you can store just simple text like connection or failure&lt;/P&gt;&lt;P&gt;Or split pattern2 into multiple columns if you want to check multiple words.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;BR /&gt;Avyaktha&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2025 15:54:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/pattern-matching-in-ms-access-query/m-p/4840773#M474</guid>
      <dc:creator>Avyaktha</dc:creator>
      <dc:date>2025-10-02T15:54:03Z</dc:date>
    </item>
  </channel>
</rss>

