Python and Oracle Views -


can give me brief information how "connect" oracle view python?

i looked around couldn't anything. i'm new oracle db. not use connect python , info. have view connect to.

at first thought can use view below, connect:

db = sqlalchemy.create_engine('oracle://user:pass@server:1521/view_name') 

then used this:

cx_oracle.connect(user='user', password='pass',      dsn=cx_oracle.makedsn('server',1521,'view_name')) 

then realized view cannot used db name, because "tool" view existing table(s).

how can accomplish this?

a view in rdbms oracle "virtual" table. when querying it, query table. connect database/schema containing view, , select usual. view doesn't feature in connection details @ all, in query.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -