12.07.2015 Views

Why use ASE 15.0 - Sybase

Why use ASE 15.0 - Sybase

Why use ASE 15.0 - Sybase

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SQL User-Defined Functions<strong>15.0</strong>.2: UDFs in SQL -- no Java needed• <strong>15.0</strong>.2 supports scalar-valued UDFs (i.e. return a single value):create function f1 (@p int)returns int asreturn @p * 10select dbo.f1(my_column) from my_table• We're considering table-valued UDFs are for a post-<strong>15.0</strong>.2 releasecreate function f2 (@p int)returns table asreturn select c1, c2from t1, t2 where t1.cx = t2.cx and t2.cy = @pselect * from dbo.f2(…parameter values…)<strong>Sybase</strong> Symposium 2007 – November 15 - Brussels21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!