Posted By

sanjivarunsahayamhotmailcom on 11/17/08


Tagged

jdbc Derby IJ


Versions (?)

ij and derby database


 / Published in: Java
 

common commands for connecting and using derby through ij.

  1. connect 'jdbc:derby:your_database_name;create=true;'; (connects to and optionally creates the specified database name)
  2.  
  3. show tables; (shows all tables)
  4.  
  5. describe table_name; (shows column definitions for a specified table)
  6.  
  7. run 'path_to_script_file'; (runs a script file)
  8.  
  9. exit; (exits ij)

Report this snippet  

You need to login to post a comment.