Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. var connection = Jdbc.getConnection("jdbc:mysql://...", "...", "...");
  2. var stmt = connection.createStatement().execute("INSERT INTO test (Nam, Fam, Rost, HB) values ('Иван','Петрович', '200', '2000-02-02')");
  3.  
  4. var stmt = connection.createStatement()
  5. .execute("INSERT INTO
  6. test (Nam, Fam, Rost, HB)
  7. values (N'Иван',N'Петрович', '200', '2000-02-02')");
  8.  
  9. jdbc:mysql://host:port/instance?useUnicode=true&characterEncoding=UTF-8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement