1 ; ConfiguraciĆ³n de la base de datos.
6 obtener_datos_usuario = " SELECT login, nrodoc, nombre FROM samurai.usuario "
7 obtener_datos_usuario3 = " WHERE login = ? "
8 obtener_datos_usuario4 = " ORDER BY login"
9 obtener_datos_usuario2 = " SELECT DISTINCT u.login as login FROM samurai.usuario as u, samurai.perfil_sist_usuario as psu WHERE u.login = psu.login AND id_sistema = ? "
10 obtener_perfiles_usuario = " SELECT id_perfil FROM samurai.perfil_sist_usuario WHERE login = ? AND id_sistema = ?"
12 verificar_login = " SELECT count(*) as cuenta FROM samurai.usuario WHERE login = ?"
13 verificar_login2 = " SELECT login FROM samurai.perfil_sist_usuario WHERE login = ? AND id_sistema = ?"
14 borrar = " DELETE FROM samurai.perfil_sist_usuario WHERE login = ? AND id_sistema = ?"