set fd [open bigfile.txt] set content [read $fd] close $fd db eval {INSERT INTO t1 VALUES(1,2,$content)}