changetable on notebook and sql query in one query

Shambhu Rai 1,411 Reputation points
2023-10-01T18:49:22.33+00:00

Hi Expert ,

how to run a query on notebook and azure sql table in one query on ADF Lookup

User's image

inside query on notebook: select col1 from table2

inside query azure sql table:select col1 from table1

select count(1) As CurrentChangeTrackingVersion

from

CHANGETABLE(CHANGES ['@{activity('Notebook1').output.runOutput}'],

@{activity('LookupLastTrackingVersionActivity').output.runOutput}) a

i am able to run single statement on notebook and sql database. but change table is not working on notbook

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.