• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How can we Extract from database and assign it to a variable

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI Everyone,

Is it possible to retrieve content from database and assign the content extracted to a variable in java??
if yes please explain how to do it with example.

I'm trying to make online Test taking system
and Suppose Student table has fields
(Student_name,id,school,test_assigned_id)

I want to give a privilege to student assigned to test
to take test and debar others from this privilege.
Therefore I want to check if (test_assigned_id !='NA')
Then show take test option in UI.



with humble regards
Ravi
 
Ranch Hand
Posts: 679
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JDBC tutorial
 
reply
    Bookmark Topic Watch Topic
  • New Topic