By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,507 Members | 1,185 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,507 IT Pros & Developers. It's quick & easy.

updating a table using other table values

P: 8
Hi,
i have a question
-------------------------------------
i have 2 tables
user_security and customer


table structures
-----------------------------
user_security
---------------------
Name Null? Type
----------------------------------------- -------- ----------------------------
LOGON_ID NOT NULL VARCHAR2(12)
LAST_NAME VARCHAR2(30)

the last name column has been added recently.


sample records
-------------------------
logon_id last_name
----------------------------------------------------
k1
q1
q2
q3
q4


customer
---------------

Name Null? Type
----------------------------------------- -------- ----------------------------
LAST_NAME VARCHAR2(30)

sample records
-----------------------
LAST_NAME
---------------------
www
wxy
zzz
....
..
...
...
scenario
---------------
i have to update the user_security table with values of last_name from customer table only for users whose logon_id starts with 'q'

Any help would be welcomed.
Aug 10 '06 #1
Share this Question
Share on Google+
1 Reply


P: 2
Which corresponding value of customer table to you want to be taken for update ?
Aug 13 '06 #2

Post your reply

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