Guest User

Untitled

a guest
Nov 22nd, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. import groovy.sql.Sql
  2.  
  3. def sql = Sql.newInstance("jdbc:mysql://localhost:3306/test", "root","sms003", "com.mysql.jdbc.Driver")
  4.  
  5. //Drop table if it already exists
  6. sql.execute('drop TABLE users')
Add Comment
Please, Sign In to add comment