Skip to content

Instantly share code, notes, and snippets.

@huangt
Last active December 16, 2015 21:49
Show Gist options
  • Save huangt/5502260 to your computer and use it in GitHub Desktop.
Save huangt/5502260 to your computer and use it in GitHub Desktop.
R
sql <- "insert into mdl_report_exclude (isin,sedol,symbol,last_upd_user,last_upd_date,cusip) values ('%s','%s','%s','huangt',getdate(),'%s')"
function(row) {
sprintf(sql, row["ISIN"], row["Sedol"], row["Ticker"], row["Cusip"])
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment