in reply to Re: CREATE TABLE DDL from DBI Statement
in thread CREATE TABLE DDL from DBI Statement
Thanks for the follow-up!
The output as CSV would look like this:
CONT_ID,DW_EFF_STRT_DT_KEY,DW_EFF_END_DT_KEY,ADMIN_CLIENT_ID,H_CREATE_ +DT,ADMIN_SYS_TP_CD,DW_ACTIVE_IND,H_ACTION_CODE 045234232344234874,42561,2234618,33ASDF948AKDH49234TI,"2005-10-03 11:0 +3:51.144836",2,1,I 002346234135653687,42556,2123123,TUIK84K9D90D0AF2L43I,"2005-11-09 06:4 +4:37.045530",2,1,I
Essentially, I have some routines that query off DB tables and output CSV files (similar to DBD::CSV). Now I want to be able to output to an embedded SQL server, like SQLlite, but I first need to create a similarly structured table.
I fully realise that I could use a simple template and fill in the blanks, but I figured maybe something like this might already exist elsewhere (?)
Thanks for any help you can provide!
Kurt
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: CREATE TABLE DDL from DBI Statement
by CountZero (Bishop) on Jul 22, 2008 at 05:24 UTC | |
by whereiskurt (Friar) on Jul 22, 2008 at 13:08 UTC | |
by whereiskurt (Friar) on Jul 22, 2008 at 21:09 UTC |