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
388 reads
In this post I will describe the helper procedure that based on metadata generates numerous database objects around views and...
2019-01-03
388 reads
In this article I continue to explore the ways to secure the data via contextual views and describe the technique...
2018-10-18
524 reads
In this post we will discuss how to fetch data from a large dataset for web applications using pagination technique....
2018-10-17
413 reads
This post helps in deciding between choosing foreign key and check constraints in case we need to constraint the data...
2018-10-16
451 reads
We are often required to pass the data between different database procedures and functions. In this post I will review...
2018-09-06
323 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,775 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,510 reads
In this post you will find two small functions that convert binary value to a decimal one and vice versa.
2018-05-19
422 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
619 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,299 reads
By HeyMo0sh
As someone who works in DevOps, I’m always focused on creating systems that are...
By Brian Kelley
I am guilty as charged. The quote was in reference to how people argue...
By Steve Jones
Learn how to tie a bowline knot. Practice in the dark. With one hand....
Comments posted to this topic are about the item Restoring On Top II
Comments posted to this topic are about the item SQL Art 2: St Patrick’s...
Comments posted to this topic are about the item Breaking Down Your Work
I have a database, DNRTest, that has a number of tables and other objects in it. The other day, I was trying to mock up a test and ran this code on the same server:
-- run yesterday CREATE DATABASE DNRTest2 GO USE DNRTest2 GO CREATE TABLE NewTable (id INT) GOToday, I realize that I need a copy of DNRTest for another mockup, and I run this:
-- run today USE Master BACKUP DATABASE DNRTest TO DISK = 'dnrtest.bak' GO RESTORE DATABASE DNRTest2 FROM DISK = 'dnrtest.bak' WITH REPLACEWhat happens? See possible answers