<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Set Current Schema - PhpMyAdmin</title><link>https://community.appian.com/discussions/f/data/28461/set-current-schema---phpmyadmin</link><description>Hello Everyone, 
 How can I set current schema to a particular schema/database in phpmyAdmin to ensure I execute queries on tables within that schema only. 
 I tried with USE &amp;lt;Schema_Name&amp;gt; . This is not working. 
 Regards, 
 SG</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Set Current Schema - PhpMyAdmin</title><link>https://community.appian.com/thread/111623?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2023 11:16:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:49f8a905-454e-4d8c-b0a4-5608de5398f0</guid><dc:creator>R&amp;#243;mulo</dc:creator><description>&lt;p&gt;Hi&amp;nbsp; &lt;a href="/members/surjitg0001"&gt;surjitg&lt;/a&gt;,&lt;br /&gt;&lt;br /&gt;You could try this if you want to be more efficient in your SQL code. (set once, call always):&lt;br /&gt;&lt;br /&gt;USE Appian;&lt;br /&gt;SELECT * FROM USER;&lt;br /&gt;SELECT * FROM COUNTRY;&lt;br /&gt;.....&lt;br /&gt;&lt;br /&gt;Hope it helps,&lt;br /&gt;&lt;br /&gt;R&amp;oacute;mulo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set Current Schema - PhpMyAdmin</title><link>https://community.appian.com/thread/111598?ContentTypeID=1</link><pubDate>Sun, 23 Apr 2023 08:09:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:853398b4-596a-47f8-b92f-655271da037d</guid><dc:creator>sanchitg0002</dc:creator><description>&lt;p&gt;What are you trying to do? If your&amp;nbsp;current/desired schema is selected (which you can see at the top) then you can simply run any script without the need to define database name.&lt;/p&gt;
&lt;p&gt;Still if you want to define database name in your query then just simply but it before the table name.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;SELECT * FROM SCHEMA_NAME.TABLE_NAME WHERE 1;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set Current Schema - PhpMyAdmin</title><link>https://community.appian.com/thread/111596?ContentTypeID=1</link><pubDate>Sun, 23 Apr 2023 02:15:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aa0ab365-8f2d-461c-9cc2-d669cfef36a9</guid><dc:creator>surjitg</dc:creator><description>&lt;p&gt;Thanks Stefan,&lt;/p&gt;
&lt;p&gt;Is it possible through query?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Surjit&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set Current Schema - PhpMyAdmin</title><link>https://community.appian.com/thread/111589?ContentTypeID=1</link><pubDate>Sat, 22 Apr 2023 11:48:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:049fa2e5-0e9f-4ef7-84e9-29a4a611a713</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;As stefan said, you can simply click on the schema name and also verify the same as in the image below.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/16/pastedimage1682164174898v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set Current Schema - PhpMyAdmin</title><link>https://community.appian.com/thread/111584?ContentTypeID=1</link><pubDate>Sat, 22 Apr 2023 09:43:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2c6c2448-6e13-4de2-ba16-e92ad02bbb44</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;If this is only about executing some statements manually, then just navigate to the desired schema/table in the left hand panel.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>