thanks for the reply..
here is the requirement.
suppose i have following commands in a file (script that generates 'create database user command')
select * from t1
selcet * from t2
update t3 set ..where..
select * from t4
they all return different of set of results sets.
when you have all these selects in a file and using sqlcmd (or isql for syabse etc) you can redirect the output to a file.
my questions i want to do the similar function using dbi because i don't want to rely on external program inside perl using dbi.
I am already using dbd::odbc . i was wondering how can fetch record sets if they are different formats.
pl let me know if you need further information
thx