Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
I read you post and looked in the database journal about how to use it. However I am still getting the same error:Incorrect syntax near '.'This is what I have:
select s.*,obyS.checkdate from (select * from vw_WCDispatch_Pass1) s cross apply (select * from fn_FindPromisedDate(s.material)) obySwhere s.part_number = '10580002 REV A'
Can someone tell me what is incorrect?ThanksLaura
mayerl
Yak Posting Veteran
95 Posts
Posted - 2010-10-20 : 08:39:42
Nevermind I think I got it. The database has to be set to 90 mine is only at 80.ThanksLaura
visakh16
Very Important crosS Applying yaK Herder
52326 Posts
Posted - 2010-10-20 : 12:37:47
yep. APPLY works only on compatibility level 90 and above------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/