Automating CRUD procedures generation using T-SQL (enhanced).
In this post I will describe the helper procedure that based on metadata generates numerous database objects around views and...
2019-01-03
375 reads
In this post I will describe the helper procedure that based on metadata generates numerous database objects around views and...
2019-01-03
375 reads
In this article I continue to explore the ways to secure the data via contextual views and describe the technique...
2018-10-18
514 reads
In this post we will discuss how to fetch data from a large dataset for web applications using pagination technique....
2018-10-17
401 reads
This post helps in deciding between choosing foreign key and check constraints in case we need to constraint the data...
2018-10-16
433 reads
We are often required to pass the data between different database procedures and functions. In this post I will review...
2018-09-06
309 reads
In this post I will show how in some cases we can split a long procedure to a small and...
2018-05-23
1,754 reads
I try to avoid dynamic SQL as much as possible and consider it as a necessary evil. However, in some...
2018-05-21 (first published: 2018-05-09)
2,493 reads
In this post you will find two small functions that convert binary value to a decimal one and vice versa.
2018-05-19
410 reads
Deployment process equally responsible for deploying both database objects as well as an initial state of the database/applications. In this...
2018-05-10
612 reads
Designing implementation of interface is as critical as designing interface itself. In this post we will discuss some advice on...
2018-04-14
1,291 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...
I recently read the book Agile Data Warehouse Design – Collaborative Dimensional Modeling, from...
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