diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env diff --git a/app.py b/app.py index 5a2d6f4..6af71a9 100644 --- a/app.py +++ b/app.py @@ -2,9 +2,10 @@ import os from dotenv import load_dotenv import cx_Oracle +print("Usuario:", os.getenv("OraHome")) print("cx_Oracle version:", cx_Oracle.__version__) -print("Oracle Client version:", cx_Oracle.clientversion()) +print(cx_Oracle.clientversion()) load_dotenv() @@ -19,7 +20,7 @@ dsn = cx_Oracle.makedsn(host, port, sid=sid) try: connection = cx_Oracle.connect(user=user, password=password, dsn=dsn) cursor = connection.cursor() - cursor.execute("SELECT CODIGO_PERSONAL FROM FPERSONA WHERE APELLIDO1 LIKE '%ALFARO%'") + cursor.execute("SELECT CODIGO_PERSONAL FROM FPERSONA WHERE APELLIDO1 LIKE '%ALFARO%' AND NOMBRE LIKE '%JESUS%'") for row in cursor: print(row) diff --git a/oci.dll b/oci.dll new file mode 100644 index 0000000..7529f2e Binary files /dev/null and b/oci.dll differ diff --git a/ocijdbc11.dll b/ocijdbc11.dll new file mode 100644 index 0000000..04f4b05 Binary files /dev/null and b/ocijdbc11.dll differ diff --git a/ociw32.dll b/ociw32.dll new file mode 100644 index 0000000..324931d Binary files /dev/null and b/ociw32.dll differ diff --git a/orannzsbb11.dll b/orannzsbb11.dll new file mode 100644 index 0000000..07bc297 Binary files /dev/null and b/orannzsbb11.dll differ diff --git a/oraocci11.dll b/oraocci11.dll new file mode 100644 index 0000000..70061d4 Binary files /dev/null and b/oraocci11.dll differ diff --git a/oraociei11.dll b/oraociei11.dll new file mode 100644 index 0000000..73ea0c6 Binary files /dev/null and b/oraociei11.dll differ diff --git a/orasql11.dll b/orasql11.dll new file mode 100644 index 0000000..15026f7 Binary files /dev/null and b/orasql11.dll differ