SPFx and SQL

New Contributor

Hi all,


I'm currently trying to refactor our old webparts into SPFx solutions.  I'm hitting a roadblock on a couple of the webparts. Some of these older webparts are running some SqlCommands to execute a stored procedure.  Is there any way to do this with SPFx or does anyone have a better recommendation? I'm still fairly new to all of this so I'm trying to figure out what I don't know about what I don't know.


1 Reply
You cannot query a SQL Datase directly from SPFx, but you can make a call to, for instance, an Azure Function that exposes your SQL Database