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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 SQL update and Delete
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

19 Posts

Posted - 07/15/2013 :  15:07:22  Show Profile  Reply with Quote
I have to do an simple update and delete in a project for school.
I need FAST help bc I forgot this was due tonight.

So what I want to do is have 2 textboxs. Named txtEmpID, txtPhone

The user types in the info an it updates the database with the phonenumber when the button is clicked

Also, Another button that will delete the row selected by the txtEmpID.

Someone PLEASE give me the code for this.
When I get off work, I will only have 1 hour to get this into my laptop before I have to go to class.


Very Important crosS Applying yaK Herder

52326 Posts

Posted - 07/16/2013 :  01:31:14  Show Profile  Reply with Quote
whats the application you're using? you need some code in application to formulate query based on your selection and then query it against database. So unless you specify application language we cant even suggest a reference
From SQL perspective, this requires a simple update and delete queries with filter condition based on EMpID

SQL Server MVP
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000