how do i add a column dynamically in a table by using java
application?



how do i add a column dynamically in a table by using java application?..

Answer / Dilip Singh

To add a dynamic column to a table in a Java application, you can use database APIs like JDBC or ORM frameworks such as Hibernate. You would create an SQL query to alter the table schema and execute it through the database connection.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Programming Languages AllOther Interview Questions

what is the filters in biztakk server? where it can use?

1 Answers   Wipro,


what is the difference between a namespace and assembly ?

4 Answers   Innominds, Polaris,


Given a cube of size n*n*n (i.e made up of n^3 smaller cubes), find the number of smaller cubes on the surface. Extend this to k-dimension.

1 Answers   Amazon,


Given a arbitrary pointer to an element in a singly linked list?what is the time complexity for its deletion .

1 Answers   Hughes,


How should a programmer decide whether to use a macro or a subroutine to accomplish a given logical function

1 Answers   R V College of Engineering, University of Jordan,


I want to insert date in the form of yyyy-mm-dd... if any changes happen while inserting date format want to show error meg...any one can solve this..??

1 Answers  


Write a Pseudo Code to find the angle between two hands of a clock for a given time.

6 Answers   Goldman Sachs, HCL,


Write a shell program to test whether a given year is leap year or not ?

1 Answers   Patni,


In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?

1 Answers  


how many languages .net is supporting now?

4 Answers  


How to change the color of a cell or a row in a datagrid on mouse hover using javascript/.net

1 Answers   Tesco, Wipro,


What is nocopy in plsql?

1 Answers   IBA Health,


Categories