GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  Programming  >  Java
Go To First  |  Previous Question  |  Next Question 
 Java  |  Question 591 of 875    Print  
hi,

I'm doing a project using jsp, java script, HTML as front end and sql server as backend.

i want to create my database inn runtime. while doing so ,

1. how do i check for an already existing class
2. if there is an already existing class then i need to update the table .

how do i do this. can any one guide through this.

vidhya

  
Total Answers and Comments: 4 Last Update: May 22, 2006     Asked by: vidhya165 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
April 26, 2006 02:40:21   #1  
nishant_jaina Member Since: April 2006   Contribution: 2    

RE: hi,I'm doing a project using jsp, jav...

hi vidhya

can u expalin ur question in detail.


 
Is this answer useful? Yes | No
May 03, 2006 09:57:49   #2  
vidhya        

RE: hi,I'm doing a project using jsp, jav...
my queation is:In my database i have many tables. i need to create those tables in runtime. while doing so how do i check for already existing table? it should not be overwritten . if there is a table already the data what i insert should be updated to that respective table. plz help me soon.its high i should have completed my project. but have not.with regards vidhya
 
Is this answer useful? Yes | No
May 21, 2006 13:05:40   #3  
Sita Kiran sankara        

RE: hi,I'm doing a project using jsp, jav...

Dear Vidya,

              First of all pass a database command " desc <table name> "using executeQuery() function. Depending on the value returned you can determine whether the table exists if it does not then proceed your way .....Hope it works and your problem gets solved.

Bye...


 
Is this answer useful? Yes | No
May 21, 2006 22:25:57   #4  
vidhya        

RE: hi,I'm doing a project using jsp, jav...
thanks, hope this would work.but can u give an example of what kind of value it may return and how to check it.vidhya.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape