i need to copy data from one table to another table..
i.e the 1st eid of employee table must be copied to the 1st eid in appusers table, 2nd eid of employee to the 2nd eid of appusers and so on...
i need these querys to use in my JSP code...
......................
String sq="insert into employee values(emp_seq.nextval,'"+ename+"','"+eadd+"','"+ephone+"','"+email+"','"+department+"',"+Integer.parseInt(ebpay)+",20,0)";
st1.executeUpdate(sq);
......................
This is the code i have and what should i add to my code to make my work done...
thanq so much.. you r really helpful for me to workout my project.
Related Tutorials/Questions & Answers:
copying data from one table to anothercopying data from one table to another i need to copy
data from one table to
another table..
i.e the 1st eid of employee
table must be copied to the 1st eid in appusers
table, 2nd eid of employee to the 2nd eid of appusers
Advertisements
update one table from another tableupdate
one table from another table hello, i need to update
one table fields by using
another table fields. I have to tables Products.... for example TotalQuantity field
from Products
table should be updated if i
Java - Copying one file to another this program for
copying files
from one hard drive to
another hard drive...
Java -
Copying one file to
another
... how to copy contents
from one
file to
another file. This topic is related
passing data from one jframe to anotherpassing
data from one jframe to another I have two JFrame,built by using the GUI Editor netbeans 6.9.i have to pass a
data from a Jtextfield in the first Jframe to
another JLabel in the other JFrame.Can you please help me,how
to bring checked data from one page to anotherto bring checked
data from one page to another thanks for your help... fetching
data from the database on second jsp page with checkbox corresponding each... there is
one jsp page , on it there is a link, on click of which it is opening second
How To Pass data from one GUI to another in java swingHow To Pass
data from one GUI to
another in java swing I'm new to java and part of our assignment is to build a GUI and display a result set
from data input. I'm stuck at how to get the user's input
from JTextFields and combobox
Java - Copying one file to another
Java -
Copying one file to
another
... which copies the contents
from one specified file to
another specified file... for buffering the contents of
one file and
write to
another specified file
from Data Conversion from int to another typeData conversion is the conversion of
data from one type to
another type.
In this section we will learn about
data conversion
from int primitive type to
another data type like String, boolean and char etc
Data Conversion from String to another typeData conversion is the conversion of
data from one type to
another type.
In this section we will learn about
data conversion
from String primitive type to
another data type like int, boolean and char etc
Data Conversion from short to another typeData conversion is the conversion of
data from one type to
another type.
In this section we will learn about
data conversion
from short primitive type to
another data type like String, boolean and char etc
Data Conversion from byte to another typeData conversion is the conversion of
data from one type to
another type.
In this section we will learn about
data conversion
from byte primitive type to
another data type like String, boolean and char etc
Data Conversion from float to another typeData conversion is the conversion of
data from one type to
another type.
In this section we will learn about
data conversion
from float primitive type to
another data type like String, boolean and char etc
Data Conversion from double to another typeData conversion is the conversion of
data from one type to
another type.
In this section we will learn about
data conversion
from double primitive type to
another data type like String, boolean and char etc
Data Conversion from long to another typeData conversion is the conversion of
data from one type to
another type.
In this section we will learn about
data conversion
from long primitive type to
another data type like String, boolean and char etc
mysql select into table from another table example from one table into
another table.
Check the example at MySQLselect into new...mysql select into
table from another table example Can you suggest the correct example of select into
table from another table example in MySQL
Copying an array to another to copy
data from one array to
another.
Here, providing you an example with code and its explanation to given below.
This is a program that follows
one dimensional...
Copying an array to
another
Copy One Database Table to Another
Copy
data from one database
table to
another!
4 row(s)affected...
Copy
One Database
Table to
Another
... to
another database
table. That means we copy
one table to a different
table File copy from one directory to another in java very good code example for
copying a file
from one directory to
another...?
Is there any size issue while
copying the file
from one directory to
another... for
copying the file
from one directory to
another directory in Java
how to pass a string from one class to another string
from one class to
another.
import java.util.*;
class A{
static String... string
from one class to
another.
import java.io.*;
class Class1 {
public...how to pass a string
from one class to another hi all, Good morning
How to forward the control from one jsp to another?How to forward the control
from one jsp to
another? Hi!
This is Prasad Jandrajupalli.
I have the 3 JSP's, but I want communicate with each... is not communicate with the Third JSP.
I want forward the control
from first jsp to second
Need to access data from another applicationNeed to access
data from another application Hi Tech masters,
I want to develop a reporting application.for that I need to access
data from a third party application.
I want to access
data from a software called service
calling one jap page from another jsp pagecalling
one jap page
from another jsp page i created a button in
one jsp page i need to call
another jsp page as an action to that button. so how can i call.. plz any
one explain. its urgent
How to pass variable from one class to another in javaHow to pass variable
from one class to
another in java How to pass variable
from one class to
another in java?
Example:
public class...;
}
}
//
Another class Class2.
public class Class2 {
public static void main(String
calling one jsp from another jsp - JSP-Servletcalling
one jsp
from another jsp Hi All,
In my web application... in two.jsp by using jsp declarative tag. Now
from one.jsp file I want to call... start
from where we call this two.jsp files method. i.e. in one.jsp file at line
How you will Show all data from a table. How you will Show all
data from a
table. How you will Show all
data from a
table.
Hi,
following query is used to show all the
data of the
table-ADS_TO_REPLACE_1
SELECT *
FROM tablename;
Thanks
Retrieve multiple data from database into Table..... Retrieve multiple
data from database into
Table..... hi...........
I want to Retrieve multiple
data from database into
Table but i am not able to....
i am only able to retrieve
one value not more than that. means
in my