Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 default parameters for functions

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2003-07-10 : 07:25:14
Peter writes "in the manual it says to default a parameter (for a sproc) all
you dos is ad = default

e.g. @foo char(1) = '1'

however when i try this in a function i get the following

'An insufficient number of arguments were supplied for the procedure or function'

does this mean that default values for functions are not possible


thanks"

mr_mist
Grunnio

1870 Posts

Posted - 2003-07-10 : 08:17:38
Indeed, I've noticed that behaviour too.

-------
Moo. :)
Go to Top of Page
   

- Advertisement -