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
387 reads
In this post I will describe the helper procedure that based on metadata generates numerous database objects around views and...
2019-01-03
387 reads
In this article I continue to explore the ways to secure the data via contextual views and describe the technique...
2018-10-18
523 reads
In this post we will discuss how to fetch data from a large dataset for web applications using pagination technique....
2018-10-17
412 reads
This post helps in deciding between choosing foreign key and check constraints in case we need to constraint the data...
2018-10-16
450 reads
We are often required to pass the data between different database procedures and functions. In this post I will review...
2018-09-06
322 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,772 reads
In this post you will find two small functions that convert binary value to a decimal one and vice versa.
2018-05-19
421 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
618 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,508 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,298 reads
By SQLPals
Reality (And Limits) of Instant File Initialization for Transaction Logs in SQL Server 2022 ...
By Steve Jones
Last week I spent a few days in Cambridge, UK for the Redgate Company...
By alevyinroc
This is long overdue but life and distractions happened. It’s been a little over...
Comments posted to this topic are about the item Adding and Dropping Columns II
Comments posted to this topic are about the item Leveraging DuckDB for OLAP Workloads:...
Comments posted to this topic are about the item More Documentation is Needed
I have this table in my SQL Server 2022 database:
CREATE TABLE [dbo].[CityList] ( [CityNameID] [int] NOT NULL IDENTITY(1, 1), [CityName] [varchar] (30) , [Country2] [char] (3), [stateprovince2] [char] (2), [Country] [char] (3), [stateprovince] [char] ) ON [PRIMARY] GOI decide to drop the stateprovince2 and country2 columns. What code should I use? See possible answers