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
415 reads
In this post I will describe the helper procedure that based on metadata generates numerous database objects around views and...
2019-01-03
415 reads
In this article I continue to explore the ways to secure the data via contextual views and describe the technique...
2018-10-18
557 reads
In this post we will discuss how to fetch data from a large dataset for web applications using pagination technique....
2018-10-17
434 reads
This post helps in deciding between choosing foreign key and check constraints in case we need to constraint the data...
2018-10-16
469 reads
We are often required to pass the data between different database procedures and functions. In this post I will review...
2018-09-06
346 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,802 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,541 reads
In this post you will find two small functions that convert binary value to a decimal one and vice versa.
2018-05-19
448 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
646 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,325 reads
Continuing with my takeaways from SQLCon and FabCon Europe in Barcelona, let’s talk about...
By Steve Jones
Next year the PASS Data Community Summit is in DENVER! and London, but Denver...
By Steve Jones
Yesterday was the first day of sessions at the PASS Data Community Summit (after...
Comments posted to this topic are about the item Pay for Performance, which is...
Comments posted to this topic are about the item Switching Schemas I
Comments posted to this topic are about the item Enforcing Unique Customer Emails When...
I run this query:
SELECT s.name AS schemaname , o.name AS objectname FROM sys.objects o INNER JOIN sys.schemas s ON s.schema_id = o.schema_id WHERE o.name = 'Beer'I get one row back for an object named dbo.beer. There is an ETL schema and both of these are nonpartitioned tables. I run this code:
ALTER TABLE dbo.beer switch TO etl.beerWhat happens? See possible answers