Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 11212

How to save the result of CE-function in a scalar variable?

$
0
0

Hi all,

 

I wonder if it is possible to return the result of a CE-function (in this case a max() aggregation) into a scalar variable instead of a table variable.

It works with SQLScript (select .. into variable..), but using a function could increase the performance.

 

Any experiences?

 

Thank you,

Fabian


Viewing all articles
Browse latest Browse all 11212

Trending Articles