Default nullability of a new column
Ever assume that when you don’t specify NULL or NOT NULL on a new column it’s going to allow NULLs?...
2014-03-31
1,174 reads
Ever assume that when you don’t specify NULL or NOT NULL on a new column it’s going to allow NULLs?...
2014-03-31
1,174 reads
Ever assume that when you don’t specify NULL or NOT NULL on a new column it’s going to allow NULLs?...
2014-03-31
1,036 reads
I had a recent run in with collation problems and it got me started reading. As I read I started...
2014-04-02 (first published: 2014-03-26)
1,721 reads
I had a recent run in with collation problems and it got me started reading. As I read I started...
2014-03-26
501 reads
I started reading about collations after I had a recent run in with them. As I read I started to...
2014-03-24
822 reads
I started reading about collations after I had a recent run in with them. As I read I started to...
2014-03-24
630 reads
I won’t be able to make it to the PASS Summit this year but I still consider myself part of...
2014-03-19
674 reads
I had a recent run in with collation problems and it got me started reading. As I read I started...
2014-03-19
1,790 reads
True story: I worked in a computer lab many years ago and one day this guy (a grad student) checked...
2014-03-17
571 reads
Those people who are familiar with SQLCMD will recognize this command. It is used to connect to an instance from...
2014-03-13
1,427 reads
By Steve Jones
This is my last week of the year working (I guess I come back...
By Steve Jones
This is my last week of the year working (I guess I come back...
Want to seriously boost your data skills? Mastering advanced SQL is the key, whether...
I have an ADF pipeline that copies Files from source to destination. Both Source...
Comments posted to this topic are about the item Function Defaults
I have created this function in SQL Server 2022:
CREATE FUNCTION dbo.AddInt (@one INT, @two INT = 1) RETURNS INT AS BEGIN RETURN @one + @two ENDHow can I call this and invoke the default value for @two? See possible answers