Tabnine Logo
SqlJetDb.dropTable
Code IndexAdd Tabnine to your IDE (free)

How to use
dropTable
method
in
org.tmatesoft.sqljet.core.table.SqlJetDb

Best Java code snippets using org.tmatesoft.sqljet.core.table.SqlJetDb.dropTable (Showing top 3 results out of 315)

origin: org.tmatesoft.sqljet/sqljet

private void handleDropTable() throws SqlJetException {
  CommonTree options = (CommonTree) ast.getChild(0);
  boolean ifExists = options.getChildCount() > 0 && "exists".equalsIgnoreCase(options.getChild(0).getText());
  String tableName = ast.getChild(1).getText();
  if (db.getSchema().getTable(tableName) != null) {
    db.dropTable(tableName);
  } else if (!ifExists) {
    throw new SqlJetException(SqlJetErrorCode.ERROR, "Table does not exists.");
  }
}
origin: org.tmatesoft.svnkit/svnkit

sDb.getDb().dropTable("BASE_NODE");
sDb.getDb().dropTable("WORKING_NODE");
origin: org.tmatesoft.svnkit/svnkit

if (stmt.isDrop()) {
  if (db.getSchema().getTableNames().contains(stmt.getName())) {
    db.dropTable(stmt.getSql());
      db.dropTable(stmt.getName());
org.tmatesoft.sqljet.core.tableSqlJetDbdropTable

Javadoc

Drop table.

Popular methods of SqlJetDb

  • getTable
    Open table.
  • open
  • close
  • getOptions
  • createIndex
    Create index from SQL clause.
  • createTable
    Create table from SQL clause.
  • runWithLock
    Do some actions with locking database's internal threads synchronization mutex. It is related only w
  • runWriteTransaction
    Run modifications in write transaction.
  • beginTransaction
  • commit
  • getSchema
    Get database schema.
  • runReadTransaction
    Run read-only transaction.
  • getSchema,
  • runReadTransaction,
  • dropIndex,
  • getTemporaryDatabase,
  • isInTransaction,
  • isOpen,
  • rollback,
  • <init>,
  • alterTable

Popular in Java

  • Reading from database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setScale (BigDecimal)
  • getSharedPreferences (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • String (java.lang)
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • JButton (javax.swing)
  • JCheckBox (javax.swing)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now