473,399 Members | 3,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

how to update a record in oracle(sql) using frontend as visualbasic6.0

i used RDO connection to connect oracle as backend and visualbasic as frontend.
i prepared inventory system. For updating a record of item 'sales' i need a command. it should not add new record,but it has to update(modify) the old record
Oct 24 '09 #1
1 1901
vb5prgrmr
305 Expert 100+
Look at the update method of SQL syntax. (Found in Visual Studio 6.0 help files for Fox Pro, Access, SQL Server help files, and many places on the web)...

Expand|Select|Wrap|Line Numbers
  1. strSQL = "UPDATE tablename SET fieldname1 = newvalue1, fieldname2=newvalue2 WHERE somefield=somevalue"
  2.  


Good Luck
Oct 25 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: ViBart | last post by:
Hi, Where can I find free e-books for Oracle Sql Optimalization? Thanks in advance, ViBart
3
by: Jack | last post by:
Hi I am just trying to get a feel for what oracle SQL syntax there is that would not be covered at all in anyway from a functionality perspective in the standard ANSI SQL.. Any input is...
1
by: Mike Landis | last post by:
Hello, Has anyone a small tool or somekind of document which could help me to convert Oracle SQL scripts to SQL Server? Scripts are not very Oracle specified. Thanks, Below is a Script...
5
by: Michael | last post by:
Hi, I am migrating an application from Oracle to DB2. There is an Oracle SQL like: SELECT c1, c2 FROM table CONNECT BY c2 = PRIOR c1 START WITH c2 IN ('1','2') My question is how to...
1
by: Sharon | last post by:
Hello All, Is it possible to update Sql Table through DataGrid. I have a DataGrid which is being populated through a stored procedure, all i wanted to do is to update one field...
14
by: annecarterfredi | last post by:
ID CODE ------------- 1 XD23414 2 LKJ454678 4 0023821 5 076994 6 AG00086904 7 834292 8 PERTM98 9 M7521315
5
by: mukeshrasm | last post by:
Hi I am displaying record using php. I am giving the record structure in html format. Admin will allow user to view the no. of record user will view. <table>...
17
by: ganesh raj | last post by:
Hi, want to write an plsql code to update a single record using rowid where all the rows are duplicated could someone help me in this case. Prod_service_id Location feature ord...
7
by: Matt | last post by:
So as you all know the great thing about ADO.NET is that I can take an entire table from a database and dump it into an in memory datatable using ADO.NET. Well my question is that now that I...
2
by: iitt2007 | last post by:
I need to convert Oracle SQL SPs and functions to SQL 2005. Table and columns names do match. Is there any tool which will 'convert' Oracle script yntax to to SQL 2005 syntax? I can't install it on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.