Solved

How to update a record in a sql database using ADO?

Posted on 2014-07-29
2
323 Views
Last Modified: 2014-07-30
Hi,

How can I update a record in a sql database using ADO?

I would prefer not to use the SQL Update statement.

Thanks,
Ward.
0
Comment
Question by:whorsfall
  • 2
2 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 40226400
in short: you open a recordset on the specific record, and do the update:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms676529%28v=vs.85%29.aspx
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 40226403
I also see you posted another question for specifically powershell:
http://www.experts-exchange.com/Programming/Languages/Scripting/Powershell/Q_28485995.html
considering that question, I would suggest you delete this one here, as it's rather a duplicate
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This script checks a path to see if a folder exists. If the folder does exist you will get output "The folder has previously been created. No action taken" If not it will create the folder. Then adds one user modify permission to the folder. It …
This article will help you understand what HashTables are and how to use them in PowerShell.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question