Does anyone know whether or not CTE (Common Table Expression) can be used in derived tables in a BO XIR.3 universe? Thanks
shemason1 (BOB member since 2006-05-23)
Does anyone know whether or not CTE (Common Table Expression) can be used in derived tables in a BO XIR.3 universe? Thanks
shemason1 (BOB member since 2006-05-23)
Welcome to B:bob:B!
Thats like a temporary table, right? In which case I’d say no…but that isn’t to say you may not be able to rewrite the sql to achieve the same end without a CTE. Good Luck
Nick Daniels (BOB member since 2002-08-15)
Thanks Nick. Yes, I ended up rewriting the sql of the derived table. CTE was introduced in sql server 2005.
shemason1 (BOB member since 2006-05-23)
Hi,
I have also faced same situation to write a CTE in derived tables it. Designer will not support CTE
krvin (BOB member since 2010-08-16)
select * from vDate
option (maxrecursion 0)
nicothoen (BOB member since 2008-11-20)