<?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: Batch reading from sql server tables with cdc on ssql server tables in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/batch-reading-from-sql-server-tables-with-cdc-on-ssql-server/m-p/135812#M50437</link>
    <description>&lt;P&gt;For Q1,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Consider this approach or a watermark based approach:&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/ldp/cdc" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/ldp/cdc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For Q2,&lt;/P&gt;&lt;P&gt;You have few options:&amp;nbsp;Pushdown via JDBC Query,&amp;nbsp;Use a SQL View instead if you want to avoid replicating the logic in spark.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Oct 2025 10:06:52 GMT</pubDate>
    <dc:creator>AbhaySingh</dc:creator>
    <dc:date>2025-10-23T10:06:52Z</dc:date>
    <item>
      <title>Batch reading from sql server tables with cdc on ssql server tables</title>
      <link>https://community.databricks.com/t5/data-engineering/batch-reading-from-sql-server-tables-with-cdc-on-ssql-server/m-p/119567#M45913</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I need to do a batch load from sql server into Databricks. I have CC enabled on some tables. The simple appears to be union CDC and regular table to get a single set of records to load, but this appears to be fraught with risk of out of sequence data and potentially leaving the last state of the table in Databricks not reflecting the true state of the source table. Also, does anyone know how I can use SQL server table valued functions? My query appeared to fail from the existence of the function in the query when run from Databricks.&lt;/P&gt;</description>
      <pubDate>Sun, 18 May 2025 23:38:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/batch-reading-from-sql-server-tables-with-cdc-on-ssql-server/m-p/119567#M45913</guid>
      <dc:creator>turagittech</dc:creator>
      <dc:date>2025-05-18T23:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Batch reading from sql server tables with cdc on ssql server tables</title>
      <link>https://community.databricks.com/t5/data-engineering/batch-reading-from-sql-server-tables-with-cdc-on-ssql-server/m-p/135812#M50437</link>
      <description>&lt;P&gt;For Q1,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Consider this approach or a watermark based approach:&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/ldp/cdc" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/ldp/cdc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For Q2,&lt;/P&gt;&lt;P&gt;You have few options:&amp;nbsp;Pushdown via JDBC Query,&amp;nbsp;Use a SQL View instead if you want to avoid replicating the logic in spark.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 10:06:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/batch-reading-from-sql-server-tables-with-cdc-on-ssql-server/m-p/135812#M50437</guid>
      <dc:creator>AbhaySingh</dc:creator>
      <dc:date>2025-10-23T10:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Batch reading from sql server tables with cdc on ssql server tables</title>
      <link>https://community.databricks.com/t5/data-engineering/batch-reading-from-sql-server-tables-with-cdc-on-ssql-server/m-p/135911#M50460</link>
      <description>&lt;P&gt;Yes, you can use TVFs on Databricks. Please check the following link:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-syntax-qry-select-tvf#gsc.tab=0" target="_blank"&gt;https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-syntax-qry-select-tvf#gsc.tab=0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Can you please elaborate on how you are loading the SQL Server Data into Databricks? Hopefully, you are using the&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lakeflow connector for SQL Server to ingest it.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/sql-server-pipeline#gsc.tab=0" target="_blank"&gt;https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/sql-server-pipeline#gsc.tab=0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 01:38:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/batch-reading-from-sql-server-tables-with-cdc-on-ssql-server/m-p/135911#M50460</guid>
      <dc:creator>Krishna_S</dc:creator>
      <dc:date>2025-10-24T01:38:34Z</dc:date>
    </item>
  </channel>
</rss>

