Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sql = 'CREATE USER :username WITH PASSWORD :passwd'
- sql_data = {
- 'username': 'the_user_name',
- 'passwd': 'the_password',
- }
- request.db.execute(sql, sql_data)
- CREATE USER 'the_user_name' WITH PASSWORD 'the_password'
- CREATE USER "the_user_name" WITH PASSWORD 'the_password'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement