Skip to content

Commit 00f05ca

Browse files
Merge pull request #225608 from ggailey777/patch-10
[Functions] Link customers to SQL docs on enabling Azure connections
2 parents b696832 + 2e0faa8 commit 00f05ca

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

articles/azure-functions/functions-scenario-database-table-cleanup.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Use Azure Functions to schedule a task that connects to Azure SQL D
44
ms.assetid: 076f5f95-f8d2-42c7-b7fd-6798856ba0bb
55
ms.topic: conceptual
66
ms.custom: devx-track-csharp
7-
ms.date: 10/04/2021
7+
ms.date: 01/30/2023
88
ms.devlang: csharp
99
---
1010

@@ -123,7 +123,10 @@ Now, you can add the C# function code that connects to your SQL Database.
123123

124124
On the first execution, you should update 32 rows of data. Following runs update no data rows, unless you make changes to the SalesOrderHeader table data so that more rows are selected by the `UPDATE` statement.
125125

126-
If you plan to [publish this function](functions-develop-vs.md#publish-to-azure), remember to change the `TimerTrigger` attribute to a more reasonable [cron schedule](functions-bindings-timer.md#ncrontab-expressions) than every 15 seconds. Also, you need to ensure that the Function Apps instance has network access to the Azure SQL Database instance by granting access to Azure IP addresses.
126+
If you plan to [publish this function](functions-develop-vs.md#publish-to-azure), remember to change the `TimerTrigger` attribute to a more reasonable [cron schedule](functions-bindings-timer.md#ncrontab-expressions) than every 15 seconds. You also need to make sure that your function app can access the Azure SQL Database or Azure SQL Managed Instance. For more information, see one of the following links based on your type of Azure SQL:
127+
128+
+ [Azure SQL Database](/azure/azure-sql/database/firewall-configure#connections-from-inside-azure.)
129+
+ [Azure SQL Managed Instance](/azure/azure-sql/managed-instance/connect-application-instance#connect-azure-app-service)
127130

128131
## Next steps
129132

0 commit comments

Comments
 (0)