Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.ms-sqlserver > #2238

Re: Parameters with default values in functions

Path csiph.com!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Anton Shepelev <anton.txt@g{oogle}mail.com>
Newsgroups comp.databases.ms-sqlserver
Subject Re: Parameters with default values in functions
Date Tue, 5 Mar 2024 11:36:49 +0300
Organization A noiseless patient Spider
Lines 25
Message-ID <20240305113649.c74d0af8cfd76783e120d274@g{oogle}mail.com> (permalink)
References <20240301135310.27742ad2db04a98c37f5099e@g{oogle}mail.com> <XnsB128ED1216A95Yazorman@127.0.0.1>
MIME-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
Injection-Info dont-email.me; posting-host="04c2a4989999090e212e739008701523"; logging-data="3870569"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+PW8dTQSb3NVuUnR9iXRR+5Ykx0+xIxhY="
Cancel-Lock sha1:JfNbeeFLQbfR3LhOpYdP4YR+CwQ=
X-Newsreader Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Xref csiph.com comp.databases.ms-sqlserver:2238

Show key headers only | View raw


Erland Sommarskog:

> I'm about to say that I don't even want to talk about
> this, because it is so stupid. That is, you must supply
> the DEFAULT keyword explicitly:
>
>   SELECT * FROM dbo.test(DEFAULT)
>

This is just... terrible.

> Which of course defies quite much of the idea with a
> default parameter when you want to add a new parameter to
> an existing function.
>
> Here is a feedback item you can vote for:
> https://feedback.azure.com/d365community/idea/95dbf609-5a25-ec11-b6e6-000d3a4f0da0

Thanks, I have voted and added a comment.  I wonder why MS
have decided to deny me the basic politeness of showing my
name, and to disaply "Community user" instead...

-- 
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments

Back to comp.databases.ms-sqlserver | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Parameters with default values in functions Anton Shepelev <anton.txt@g{oogle}mail.com> - 2024-03-01 13:53 +0300
  Re: Parameters with default values in functions Erland Sommarskog <esquel@sommarskog.se> - 2024-03-01 23:18 +0100
    Re: Parameters with default values in functions Anton Shepelev <anton.txt@g{oogle}mail.com> - 2024-03-05 11:36 +0300
      Re: Parameters with default values in functions Anton Shepelev <anton.txt@g{oogle}mail.com> - 2024-03-05 11:39 +0300

csiph-web