Hi @Lovedeep Singh,
Thanks for the question and using MS Q&A platform.
Server less SQL:
- Serverless SQL is a feature of Azure Synapse Analytics that lets you run queries on data stored in Azure Data Lake or Blob Storage whenever you need to. You don’t have to manage any SQL server, which makes it easy to use. It's great for working with large amounts of unstructured or semi-structured data without needing to load it into a traditional database first.
- You only pay for the data processed with each query, so it's cost-effective for occasional or ad-hoc queries. You can query data directly from Azure Data Lake or Blob Storage in formats like CSV and Parquet, without having to organize or store it in traditional tables beforehand.
SQL Database:
- SQL Database is a fully managed relational database service that runs on SQL Server. It’s built for applications that need to handle transactions. You have to choose a specific size for the database, including both computing power and storage space.
- It’s ideal for applications that require a complete relational database with strong transaction features. You’ll be billed based on the resources you choose, measured in DTUs or vCores, which is great for steady workloads. You need to organize your data into tables with defined structures and relationships, and the data is stored in a traditional database format.
When using serverless SQL with Azure Synapse Analytics, you get an endpoint that allows you to query files stored in Azure Data Lake or Blob Storage. This endpoint works well in tools like Power BI and SQL Server Management Studio because they can directly access the data from the files you’ve queried.
But when you try to use Azure AI Search and choose Azure SQL Database as your data source, you might not see any data. Here are a few reasons why:
Data Types: Azure AI Search is mainly for structured data in Azure SQL Databases. Serverless SQL works with unstructured data from files, which Azure AI Search may not recognize.
File Formats: The files in Azure Data Lake or Blob Storage might be in formats like CSV or Parquet, which Azure AI Search may not read as part of an Azure SQL Database.
Connection Settings: Make sure your connection in Azure AI Search is set up correctly. It may need different settings than those used in Power BI or SQL Server Management Studio.
Indexing: Azure AI Search may need an index to find the data. If the data isn’t indexed, it won’t show up.
Hope this helps. Do let us know if you any further queries. If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.