Advertisement
Guest User

Untitled

a guest
Oct 7th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. sql = 'CREATE USER :username WITH PASSWORD :passwd'
  2. sql_data = {
  3. 'username': 'the_user_name',
  4. 'passwd': 'the_password',
  5. }
  6. request.db.execute(sql, sql_data)
  7.  
  8. CREATE USER 'the_user_name' WITH PASSWORD 'the_password'
  9.  
  10. CREATE USER "the_user_name" WITH PASSWORD 'the_password'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement