Invoke VSQL through java program
I am using below command to extract the data from vertica db,
vsql -h XX -U XX -W -c "select * from emp" -o "c:/test1.dat" -t -F "|" -At
but how do i invoke this from Java, when i look at the documents all ref. to only Copy and Stm to be processed, If we can invoke VSQL then it might be pretty easy to get the data from Vertica database. or locate me the .jar file of VSQL which could help me to invoke? any thoughts?
vsql -h XX -U XX -W -c "select * from emp" -o "c:/test1.dat" -t -F "|" -At
but how do i invoke this from Java, when i look at the documents all ref. to only Copy and Stm to be processed, If we can invoke VSQL then it might be pretty easy to get the data from Vertica database. or locate me the .jar file of VSQL which could help me to invoke? any thoughts?
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.

)