Esempio n. 1
0
def delete_old_data():
    sql = """
    truncate table security_concept_info_detail
    """
    store_data(sql)
def delete_old_data():
    sql = """
    truncate table future_basic_info_data
    """
    store_data(sql)
Esempio n. 3
0
def delete_old_data():
    sql = """
    truncate table security_status
    """
    store_data(sql)
Esempio n. 4
0
def delete_old_data():
    sql = """
    truncate table s_info
    """
    store_data(sql)
def insert_new_data(date, is_workday_flag):
    sql = """
    insert into sec_date_info(date, is_workday_flag) values(:date, :is_workday_flag)
    """
    args = {"date": date, "is_workday_flag": is_workday_flag}
    store_data(sql, args)