İçeriğe atla
Eylül 13, 2011 / sukruerdem

Veritabanında bir kolonda sadece belli bir string’i replace etmek (REPLACE in SQL)

Bir kolonda silmek ya da değiştirmek istediğimiz bir string’i

 

UPDATE dbo.TabloAdı
SET KolonAdı = Replace(KolonAdı, ‘değiştirilmesi istenilen string’, ‘yerine yazılacak string’)

Şeklinde update edebiliriz.

Yorum yapın

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Değiştir )

Twitter picture

You are commenting using your Twitter account. Log Out / Değiştir )

Facebook photo

You are commenting using your Facebook account. Log Out / Değiştir )

Connecting to %s

Follow

Get every new post delivered to your Inbox.