Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Trigger that replaces...

Author  Topic 

melih
Starting Member

7 Posts

Posted - 2007-03-27 : 15:55:08
Hi Guys,

I need a trigger that replaces some text in a nvarchar data field.

for example:
field names: name,email,profile
insert: asdf, asdf@asdf.com, asdffff

I want to remove fff from profile...

it looks simple but I could not find the right code...

thanks in advance

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2007-03-27 : 16:39:05
Why would you think a trigger is appropriate here?

Tara Kizer
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

melih
Starting Member

7 Posts

Posted - 2007-03-27 : 16:47:19
I do not have the access to code but I have access to db. I have to prevent users entring specific data in to tables. I think this is the best way to do it...

quote:
Originally posted by tkizer

Why would you think a trigger is appropriate here?

Tara Kizer
http://weblogs.sqlteam.com/tarad/

Go to Top of Page
   

- Advertisement -