<?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>Question Re: How can I delete a tenant DB by using SQL command? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/how-can-i-delete-a-tenant-db-by-using-sql-command/qaa-p/12658678#M4749089</link>
    <description>&lt;P&gt;Follow below steps to delete a tenant DB. You may execute them (below commands) from SYSTEMDB as SYSTEM user.&lt;BR /&gt;1. stop the tenant DB.&lt;BR /&gt;ALTER SYSTEM STOP DATABASE &amp;lt;database_name&amp;gt;;&lt;/P&gt;
&lt;P&gt;Reference: &lt;A href="https://help.sap.com/docs/SAP_HANA_PLATFORM/4fe29514fd584807ac9f2a04f6754767/56e194dcf2f34e80a22c56483b6fcf18.html"&gt;https://help.sap.com/docs/SAP_HANA_PLATFORM/4fe29514fd584807ac9f2a04f6754767/56e194dcf2f34e80a22c56483b6fcf18.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2. delete the tenant DB.&lt;BR /&gt;DROP DATABASE &amp;lt;database_name&amp;gt;;&lt;/P&gt;
&lt;P&gt;Reference: &lt;A href="https://help.sap.com/docs/SAP_HANA_PLATFORM/4fe29514fd584807ac9f2a04f6754767/9a94cd11182345d6bf13d224905dd597.html"&gt;https://help.sap.com/docs/SAP_HANA_PLATFORM/4fe29514fd584807ac9f2a04f6754767/9a94cd11182345d6bf13d224905dd597.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Feb 2023 03:27:14 GMT</pubDate>
    <dc:creator>SAPSupport</dc:creator>
    <dc:date>2023-02-14T03:27:14Z</dc:date>
    <item>
      <title>How can I delete a tenant DB by using SQL command?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-can-i-delete-a-tenant-db-by-using-sql-command/qaq-p/12658677</link>
      <description>&lt;P&gt;Need to delete a tenant DB. &lt;BR /&gt;Referred to &lt;A href="https://help.sap.com/docs/SAP_HANA_PLATFORM/6b94445c94ae495c83a19646e7c3fd56/4437e76879564f84aaa4dc4ca6332fc9.html"&gt;&lt;/A&gt;&lt;A href="https://help.sap.com/docs/SAP_HANA_PLATFORM/6b94445c94ae495c83a19646e7c3fd56/4437e76879564f84aaa4dc4ca6332fc9.html" target="test_blank"&gt;https://help.sap.com/docs/SAP_HANA_PLATFORM/6b94445c94ae495c83a19646e7c3fd56/4437e76879564f84aaa4dc4ca6332fc9.html&lt;/A&gt;&lt;BR /&gt;However, there is no HANA Cockpit.&lt;BR /&gt;Question: how can I delete a tenant DB by using SQL command in HANA Studio?&lt;/P&gt;&lt;BR /&gt;------------------------------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;&lt;B&gt;Learn more about the SAP Support user and program &lt;A href="https://blogs.sap.com/2021/09/20/maximizing-the-power-of-sap-community-at-product-support/" target="_blank"&gt;here&lt;/A&gt;.&lt;/B&gt;</description>
      <pubDate>Tue, 14 Feb 2023 03:27:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-can-i-delete-a-tenant-db-by-using-sql-command/qaq-p/12658677</guid>
      <dc:creator>SAPSupport</dc:creator>
      <dc:date>2023-02-14T03:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I delete a tenant DB by using SQL command?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-can-i-delete-a-tenant-db-by-using-sql-command/qaa-p/12658678#M4749089</link>
      <description>&lt;P&gt;Follow below steps to delete a tenant DB. You may execute them (below commands) from SYSTEMDB as SYSTEM user.&lt;BR /&gt;1. stop the tenant DB.&lt;BR /&gt;ALTER SYSTEM STOP DATABASE &amp;lt;database_name&amp;gt;;&lt;/P&gt;
&lt;P&gt;Reference: &lt;A href="https://help.sap.com/docs/SAP_HANA_PLATFORM/4fe29514fd584807ac9f2a04f6754767/56e194dcf2f34e80a22c56483b6fcf18.html"&gt;https://help.sap.com/docs/SAP_HANA_PLATFORM/4fe29514fd584807ac9f2a04f6754767/56e194dcf2f34e80a22c56483b6fcf18.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2. delete the tenant DB.&lt;BR /&gt;DROP DATABASE &amp;lt;database_name&amp;gt;;&lt;/P&gt;
&lt;P&gt;Reference: &lt;A href="https://help.sap.com/docs/SAP_HANA_PLATFORM/4fe29514fd584807ac9f2a04f6754767/9a94cd11182345d6bf13d224905dd597.html"&gt;https://help.sap.com/docs/SAP_HANA_PLATFORM/4fe29514fd584807ac9f2a04f6754767/9a94cd11182345d6bf13d224905dd597.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 03:27:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-can-i-delete-a-tenant-db-by-using-sql-command/qaa-p/12658678#M4749089</guid>
      <dc:creator>SAPSupport</dc:creator>
      <dc:date>2023-02-14T03:27:14Z</dc:date>
    </item>
  </channel>
</rss>

