Generally, the default app that Word calls to open a file is the same default app as you set for this file type in Windows.
Are there any other .sql files stored on your local computer?
Please right click it > Propertities > General > Change > More apps > Look for another app on this PC > Locate to the executable program of Notepad++ 7.8.6 > Apply > OK.
Any questions please let me know.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.