Question Locked

Trying to create a SQL function in Visual Studio – nothing happens

0 helpful
0 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm creating my first function for a SQL Server database using Visual Studio.
In the DB Explorer, I right-click Function, then Add new scalar function and amend the default script to what I want; it has no error squigglies. The script window has only one button – Update database – I click it - this produces a dialogue saying "User actions, create, [dbo].ValidateEmail] (function)" – I click the update database button.
However, when I right-click Functions in the DB explorer & choose Refresh, nothing is there.
What can I be doing wrong? Thank you for any useful help!

0 replies

No replies were posted before this discussion closed.

This discussion is closed to new replies.