In the real world. There is a real world out there and it is dangerous. For instance, a company is not very IT security aware. But they have data in tables like payment type, social Security numbers, Medical information.
Can I use to the update command to remove data in fields of the tables? I could delete rows from the table but that's not practical.
Curt Spanburgh Microsoft Certified Business Solution Specialist. Dynamics CRM MVP Contributing Editor, Windows IT Pro
He that is walking with wise persons will become wise, but he that is having dealings with the stupid ones will fare badly. Proverbs 13:20
Sure you can, as long as the application above the DB will allow the direct modification of the data without crying Just set them all to a generic value or NULL where allowed.
UPDATE [MY_SPIFFY_HR_DATABASE].[dbo].[_SUPERSECRETEMPLOYEE_DETAILS] SET [Employee_SSN] = '000-00-0000' Where IS NOT NULL [Employee_SSN] GO
Mark M. Webster
Genius may have its limitations, but stupidity is not thus handicapped. - Elbert Hubbard
A little change there Mark. I'm using the Great Plains Fabricam company database or test area.
It used to be called "The world online" thus TWO. So if I wanted to remove the card name from the table based on a set of users I could modify this. Great, and thanks for helping.
UPDATE TWO.dbo.SOP10103 SET CARDNAME = 'NONE' Where CARDNAME IS NOT NULL GO
Curt Spanburgh Microsoft Certified Business Solution Specialist. Dynamics CRM MVP Contributing Editor, Windows IT Pro
He that is walking with wise persons will become wise, but he that is having dealings with the stupid ones will fare badly. Proverbs 13:20