Solved

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

Posted on 2014-07-29
2
321 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 142

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 142

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exchange 2010 internal URLs 2 40
Find newest file of each subfolder 4 26
Quickest way to query Windows Event ID from a Linux Device 3 34
Xenapp 6.5 Powershell question 9 19
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

803 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