Replication in SQL Server
Replication is a way of distribution of database and their objects from one master database to one or more recipient databases...
2012-12-31
2,121 reads
Replication is a way of distribution of database and their objects from one master database to one or more recipient databases...
2012-12-31
2,121 reads
Log Shipping:- Log Shipping is a process of keeping the latest copy of the database of the primary database server...
2012-12-31
1,518 reads
Rebuild and Reorganization of Indexes:- SQL Server has the ability of maintaining the indexes whenever we makes changes (update, Insert,...
2012-12-31
2,729 reads
Fragmentation:- Fragmentation can be defined as condition where data is stored in a non continuous manner. In can be defined into...
2012-12-31
1,441 reads
HappyNewYear2013
May this new year bring lots of Happiness in all of your life. Let welcome 2013 together with lots of...
2012-12-31
1,292 reads
Wish you all a very happy and blessed festive season. May this festival of lights brings more brightness in your...
2012-11-13
690 reads
Boyce - Codd Normal Form (BCNF) :- A normal form is said to be a Boyce - Codd Normal Form if it is in...
2012-08-19
4,215 reads
Isolation levels :- Isolation level is required to isolate a resource and protect it from other transactions. This is achieved with...
2012-08-19
22,095 reads
Merge Command:- Merge command is a new feature introduced in the SQL Server 2008. It can perform Update, Insert and...
2012-04-17
1,735 reads
Many times we need to alter the table definition by adding , deleting or updating a column in the table. In...
2012-04-15
1,415 reads
Do you know if your SQL Server is really running at its best? To...
You can find the slides of my session on the €100 DWH in Azure...
By Steve Jones
This value is something that I still hear today: our best work is done...
Hi everyone I am writing an SP where there is logic inside the SP...
Comments posted to this topic are about the item Planning for tomorrow, today -...
We have a BI-application that connects to input tables on a SQL Server 2022...
I try to run this code on SQL Server 2022. All the objects exist in the database.
CREATE OR ALTER VIEW OrderShipping AS SELECT cl.CityNameID, cl.CityName, o.OrderID, o.Customer, o.OrderDate, o.CustomerID, o.cityId FROM dbo.CityList AS cl INNER JOIN dbo.[Order] AS o ON o.cityId = cl.CityNameID GO CREATE OR ALTER FUNCTION GetShipCityForOrder ( @OrderID INT ) RETURNS VARCHAR(50) WITH SCHEMABINDING AS BEGIN DECLARE @city VARCHAR(50); SELECT @city = os.CityName FROM dbo.OrderShipping AS os WHERE os.OrderID = @OrderID; RETURN @city; END; goWhat is the result? See possible answers