infdeveloper
Programmer
Hello,
I am trying to solve a problem to redirect output from a sql command to a delimited file
I am doing
db2 connect to $database user $username using $password
db2 select * from x > file.out
db2 terminate
Export gives the choise but, I can use export as I dont have privilages,and it creates the file in db server for which i dont have permissions
I am struggling to get an option that allows me to write to a delimited file(file.out). The default is it is writing in a fixed width flat file
Could any of you please help me in this
any help is greatly appreciated
Thanks
I am trying to solve a problem to redirect output from a sql command to a delimited file
I am doing
db2 connect to $database user $username using $password
db2 select * from x > file.out
db2 terminate
Export gives the choise but, I can use export as I dont have privilages,and it creates the file in db server for which i dont have permissions
I am struggling to get an option that allows me to write to a delimited file(file.out). The default is it is writing in a fixed width flat file
Could any of you please help me in this
any help is greatly appreciated
Thanks