Sybase ASE and functions parameters?

Is it possible to create a function that might be called with a different number of parameters (minimum two).

So, two parameters are always present and the others are optional.


Try default parameter, like this:

create function your_func (@p1 int, @p2 int, @p3 int = 123, @p4 int = 456) 

I am not sure about Sybase ASE, but this would work on MS SQL Server's T-SQL.

Need Your Help

How can you reserve a name for an application?


My small startup is planning to start development of an android app in september. My CEO wants to register the name for the app beforehand. Is it possible to do so?

B2G/android build error AudioPolicyService.cpp

android c++ porting firefox-os

I had this error while trying to port B2G/firefox os to a new (HTC desire HD) device. Can somebody explain what is the meaning of it or how to bypass it manually?