summaryrefslogtreecommitdiff
path: root/dbtest.py
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2010-10-09 17:25:53 +0200
committerYuval Adam <yuv.adm@gmail.com>2010-10-09 17:25:53 +0200
commitcf4d957ce7c3474204cc6775d31d29edb7cdbdc0 (patch)
treec4caf921405ff3bf0cc12cddb37cdebbc96cd029 /dbtest.py
parent64ca78c63f9c021cacd212b0c3341eb5f33b3676 (diff)
renamed db utils
Diffstat (limited to 'dbtest.py')
-rw-r--r--dbtest.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/dbtest.py b/dbtest.py
deleted file mode 100644
index f073548..0000000
--- a/dbtest.py
+++ /dev/null
@@ -1,10 +0,0 @@
-import cx_Oracle
-import dbconfig
-
-connStr = '%s/%s@%s' % (dbconfig.USER, dbconfig.PASS, dbconfig.SID)
-
-with cx_Oracle.connect(connStr) as conn:
- cur = conn.cursor()
- cur.execute('SELECT COUNT(*) FROM D_CARRIL_PM_2008_01')
- for s in cur.fetchall():
- print s