---
title: "Comment by Frithjof Vassbø on \"Querying SQL Endpoint of Fabric Lakehouse/Warehouse In A Notebook With T-SQL\" | Hashnode"
description: "Great article! I think the Lakehouse.Contents() default behaviour is to query the SQL Analytics Endpoint, if querying a delta table in the Table section of the"
url: "https://hashnode.com/posts/querying-sql-endpoint-of-fabric-lakehousewarehouse-in-a-notebook-with-t-sql/66d8ae0a4c868ed76e2d7ce9/comment/66d9451f8f1fa93417d6e770"
---

[Discussion](https://hashnode.com/posts/querying-sql-endpoint-of-fabric-lakehousewarehouse-in-a-notebook-with-t-sql/66d8ae0a4c868ed76e2d7ce9)

Comment [Querying SQL Endpoint of Fabric Lakehouse/Warehouse In A Notebook With T-SQL](https://hashnode.com/posts/querying-sql-endpoint-of-fabric-lakehousewarehouse-in-a-notebook-with-t-sql/66d8ae0a4c868ed76e2d7ce9)

[Sep 5, 2024](https://hashnode.com/posts/querying-sql-endpoint-of-fabric-lakehousewarehouse-in-a-notebook-with-t-sql/66d8ae0a4c868ed76e2d7ce9/comment/66d9451f8f1fa93417d6e770)

Great article!

I think the Lakehouse.Contents() default behaviour is to query the SQL Analytics Endpoint, if querying a delta table in the Table section of the Lakehouse.

[reddit.com/r/MicrosoftFabric/s/55pqnnGhWz](https://www.reddit.com/r/MicrosoftFabric/s/55pqnnGhWz)

[reddit.com/r/MicrosoftFabric/s/PgWSz1bHwl](https://www.reddit.com/r/MicrosoftFabric/s/PgWSz1bHwl)

As you mention, and as Chris Webb wrote in the blog you linked to, using Value.Version can force it to bypass the SQL Analytics Endpoint. I guess query folding won't work then. And we would also need to know which table version number to query.
