📜  CX_Oracle - 将数据从 Oracle 导入到 Pandas 数据框 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:06.507000             🧑  作者: Mango

代码示例1
query = """SELECT* 
           FROM TRANSACTION
           WHERE DIA_DAT >=to_date('15.02.28 00:00:00',  'YY.MM.DD HH24:MI:SS')
           AND (locations <> 'PUERTO RICO'
           OR locations <> 'JAPAN')
           AND CITY='LONDON'"""
df_ora = pd.read_sql(query, con=connection)