SQL scaler fn

Oct 4 2009 10:49 AM

I want to write this logic in SQL scaler Fn
bool FN(int X, int Y)
{
 int Result = X * 2;
 
 if(Y < Result)
  return true;
 
 else
  return false;
}
 
how?!!!!

Answers (1)