Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

The multi-part identifier "dbo.ufnGetAccountingEndDate" could not be bound.

$
0
0
Hi Folks,I am experimenting with functions on a SQL Server 2014 box and with the AdventureWorks2014 database.Within the database is a function called 'ufnGetAccountingEndDate' and no parameters need to be passed to it.To execute the function I run as a member of the SYSADMIN group....[code="sql"]SELECT ufnGetAccountingEndDate[/code]....while in the correct database context.Unfortunately the execution results in the following error:[b]Msg 4104, Level 16, State 1, Line 1The multi-part identifier "dbo.ufnGetAccountingEndDate" could not be bound.[/b]I have no idea what the problem could be.I have tried:1. Checking syntax and semantics2. Ensuring permissions on the database are appropriate3. Using Intellisense to search for the function (it also couldn't see it!)Although the function is most definately there, I can't find a way to reference it.I owuld be grateful for any help you could offer!Regards,Kev

Viewing all articles
Browse latest Browse all 3145

Trending Articles