Meditech NPR Reports / NPR Report Writing / NPR Report Writer / Meditech NPR / Non-Procedural Report / Meditech Consulting / Meditech Reports Relational Database Programming: Update Table From Column In Table

Wednesday, April 11, 2007

Update Table From Column In Table

=== QUESTION ===
How do I update a field in a table from another field in the same table?

=== RESPONSE ===
You can perform a SET for a field from another field in the same table.

- UPDATE [Northwind].[dbo].[Employees]SET [TitleOfCourtesy]=([Firstname])
- SELECT TITLE,TITLEOFCOURTESYFROM EMPLOYEES

0 Comments:

Post a Comment

<< Home

Meditech NPR Reports / NPR Report Writing / NPR Report Writer / Meditech NPR / Non-Procedural Report / Meditech Consulting / Meditech Reports