Blog Post

Long time, no posts

I was working on two publisher contracts at the same time. I highly recommend never doing that. One is done, though, and it’s officially published as of September 2022....

2022-10-27

9 reads

Blogs

Foreign Keys in SQL Data Generator

By

A customer recently asked about using FKs in SQL Data Generator, and I decided...

Humble Bundle of Java Books

By

I try to keep an eye on the Humble Bundle bundles for books. The...

How Redgate’s Test Data Manager Can Enhance Automated Testing

By

A brief overview of the benefits and challenges of automated testing and how Redgate’s...

Read the latest Blogs

Forums

DBCC CheckDB errors

By mtz676

How can I identify automatically(like email alert if error shows up) through code if...

Optional feature error

By GeorgeMayes

I have installed SQL Server Reporting Services 2019 on my Windows 10 machine, and...

SCOM alerts

By ramana3327

Hi, We are receiving alerts from SCOM regarding WMI health has errors. MP has...

Visit the forum

Question of the Day

Updatable Views II

I have this view:

CREATE OR ALTER VIEW dbo.City 
AS
SELECT TOP 10 
 cn.CityNameID, cn.CityName
 FROM dbo.CityName AS cn
 WITH CHECK OPTION
GO
How can I modify the view to make it is updatable with this code?
INSERT City (CityName) VALUES ('Dillon')

See possible answers