Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Executing Scalar-Valued Function in SSMS
Message
 
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
01637729
Message ID:
01637730
Views:
52
Are you sure that function exists in the database?

>
>I created a Scalar-Valued Function (e.g. named 'MyFunction'). Then I try to execute it from SSMS as
>
>use [MyDatabase]
>declare @teststring char(10) = ''
>set @teststring = 'fadasfasf'
>select dbo.MyFunction( @teststring )
>
>
>The problem is that the last line (select dbo.MyFunction .. has a squiggly red under line with message 'Cannot find either column dbo or the user-define function or aggregate "dbo.MyFunction" or the name is ambiguous.
>
>What am I missing?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform