Nick_Net2004 Posted May 27, 2004 Posted May 27, 2004 Let say I got 3 row of data in my batabase PRI FirstName LastName Position 1112 John Doe FR-45 1113 Mark Doe FR-45 1114 Dave Doe FR-45 I want to command to update the position of row 2 with PRI 1113 so that the position woul be no FR-45, but FR-02 How do I do that P.S The PRI is a primary key, so unique, and I know its value Quote
wessamzeidan Posted May 27, 2004 Posted May 27, 2004 update yourtable set [position]=FR-02 where PRI=1113 use this sql statement to update your table Quote Proudly a Palestinian Microsoft ASP.NET MVP My Blog: wessamzeidan.net
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.