Forum Discussion
Joshua Schmidt
Aug 17, 2018Copper Contributor
SPFx and SQL
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.
Thanks
- 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