|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
INSERT = Drawing a blank...
I need to do an insert. insert the fields fname and lname from the table 'temp2' into the table 'person_master' on the fields first_name, Last_name.
i did this several times yesterday, dindt save, drawing a blank today. i know i can use dts, but i need it in SQL script for the moment |
|
#2
|
|||
|
|||
|
Without knowing what db you're using, here's a stab:
insert into person_master (first_name, Last_name) select fname, lname from temp2; If you're still having problems, then perhaps you need to wrap it in a transaction. |
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > INSERT = Drawing a blank... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|