Hello Avinash Vyas, per the documentation on using Azure OpenAI with your own data, you'll either have to use a supported data store to be connected directly or upload your files using Azure OpenAI Studio or the ingestion API. In the documentation, I do not see on-premises SQL Server as a supported data store and hence, you would only have to use the ingestion API to bring the content into the service. Source: https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/use-your-data?tabs=ai-search%2Ccopilot#developing-with-azure-openai-on-your-data
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.