Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

A scalar function removes rows

$
0
0

Hello,

I have a complex scalar function which requires 2 integers and returns 1 integer.

Now if I add that function to my query I loose two rows. Is that possible ?

The function is add to the select list. I thought a scalar function would always return a 1 value or NULL.

Any idea's ?

Constantijn


Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>