search database

Technical Article

Find and Replace a value across all tables in database

  • Script

End user has entered ‘goodmorning’ and ‘good morning’ interchangeably and it was causing logic failure at application level. So task was to replace ‘goodmorning’ with ‘good morning’ in database wherever it is there.

★ ★ ★ ★ ★ ★ ★ ★ ★ ★

(9)

You rated this post out of 5. Change rating

2017-04-28 (first published: )

1,132 reads

Blogs

Terraform Aurora PostgreSQL on Free Tier

By

I wanted to create an Amazon Aurora PostgreSQL database on AWS using Terraform. The...

The Book of Redgate: Things We Like, and Things We Less Like

By

This is a great image from the 2012 book. You don’t need to ready...

CPE Catch-Up for Charity (Online Event)

By

Annually, the IIA Palmetto Chapter puts on a 1 day on-line event in conjunction...

Read the latest Blogs

Forums

Alamat Cs BCA KCP Suncity Telp:0817781222

By Halo_BCA

WhatsApp:0817781222 Ruko Suncity, Jl. Pahlawan Mall B No.30-31, Rw6, Sidokumpul, Kec. Sidoarjo, Kabupaten Sidoarjo,...

KANTOR BCA KCP Sunandar Telp:0817781222

By layanan 24jam BCA

WhatsApp:0817781222 Jl. Sunandar Priyo Sudarmo No.138, Kuthuk, Larangan, Kec. Sidoarjo, Kabupaten Sidoarjo, Jawa Timur...

The Valuable AI Project

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Valuable AI Project

Visit the forum

Question of the Day

Adding Bits III

I have a table, dbo.bittest, where I am testing an application response. This has this structure:

CREATE TABLE [dbo].[BitTest]
(
[insertdate] [datetime] NULL CONSTRAINT [DF__BitTest__insertd__300F11AC] DEFAULT (getdate()),
[a] [bit] NULL
) ON [PRIMARY]
GO
My application runs this code:
INSERT dbo.BitTest
(
    insertdate,
    a
)
VALUES
(DEFAULT, 9)
GO
What gets inserted for the most recent date/time value?

See possible answers