Hi I have recently converted my access database tables over to SQL Server 2008 and in the process of converting my queries to views on the server as well. I am having difficulties converting this access vlookup function and could use some help with the SQL Syntax:
DLookUp('Close','[ref_Stock Index]','([stockDate]) = '' & Format([VestDate],'mm\,dd\,yyyy') & '''))) AS VestRate
Any help would be appreciated.
Thanks
DLookUp('Close','[ref_Stock Index]','([stockDate]) = '' & Format([VestDate],'mm\,dd\,yyyy') & '''))) AS VestRate
Any help would be appreciated.
Thanks