<?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 Re: Can I use SQL to create a table and set an expiration date? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/can-i-use-sql-to-create-a-table-and-set-an-expiration-date/m-p/36045#M26030</link>
    <description>&lt;P&gt;Not that I am aware of but you could create a job with a notebook task that runs a drop table &amp;lt;tablename&amp;gt; statement then set it to run on a trigger in the job when you want it to be deleted.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2023 23:30:51 GMT</pubDate>
    <dc:creator>mkm</dc:creator>
    <dc:date>2023-06-28T23:30:51Z</dc:date>
    <item>
      <title>Can I use SQL to create a table and set an expiration date?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-i-use-sql-to-create-a-table-and-set-an-expiration-date/m-p/35892#M25987</link>
      <description>&lt;P class=""&gt;Can I use SQL to create a table and set and expiration date? So that the table will be deleted automatically after the expiration date.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 21:29:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-i-use-sql-to-create-a-table-and-set-an-expiration-date/m-p/35892#M25987</guid>
      <dc:creator>whleeman</dc:creator>
      <dc:date>2023-06-28T21:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use SQL to create a table and set an expiration date?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-i-use-sql-to-create-a-table-and-set-an-expiration-date/m-p/36045#M26030</link>
      <description>&lt;P&gt;Not that I am aware of but you could create a job with a notebook task that runs a drop table &amp;lt;tablename&amp;gt; statement then set it to run on a trigger in the job when you want it to be deleted.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 23:30:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-i-use-sql-to-create-a-table-and-set-an-expiration-date/m-p/36045#M26030</guid>
      <dc:creator>mkm</dc:creator>
      <dc:date>2023-06-28T23:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use SQL to create a table and set an expiration date?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-i-use-sql-to-create-a-table-and-set-an-expiration-date/m-p/36094#M26045</link>
      <description>&lt;P&gt;Right now it i not possible. You can always create a custom trigger solution with parameter to call notebook and delete the table.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 00:10:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-i-use-sql-to-create-a-table-and-set-an-expiration-date/m-p/36094#M26045</guid>
      <dc:creator>prakash1</dc:creator>
      <dc:date>2023-06-29T00:10:04Z</dc:date>
    </item>
  </channel>
</rss>

