| | |
LOAD INTO table Sybase IQ help please
Please support our Oracle advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
Good Morning all,
I need some help with loading a file into a sybase IQ table with the "LOAD INTO" statement.
I have never used it before and I cant seem to get myhead around how I am supposed to implement it in my java app.
I have a stateless ejb that does file pick up and copy.
After that I used a bufferedreader to extract the stuffs from the file, put it in an array and then used the collection to persist it.
Thing is, it still takes too much time.
I was told to use the Sybase IQ LOAD INTO table statement, but as yet, I havent come across an example of how to use it.
Can anyone either point me in the right direction to a java implemetation of this or please provide an example.
thank you,
Miyuki
I need some help with loading a file into a sybase IQ table with the "LOAD INTO" statement.
I have never used it before and I cant seem to get myhead around how I am supposed to implement it in my java app.
I have a stateless ejb that does file pick up and copy.
After that I used a bufferedreader to extract the stuffs from the file, put it in an array and then used the collection to persist it.
Thing is, it still takes too much time.
I was told to use the Sybase IQ LOAD INTO table statement, but as yet, I havent come across an example of how to use it.
Can anyone either point me in the right direction to a java implemetation of this or please provide an example.
thank you,
Miyuki
"Better a witty fool than a foolish wit."
- Shakespeare
- Shakespeare
Sure. This is run on the IQ instance.
The location is ASE_SERVER.LOCAL_DATABASE (ASE_SERVER should be in your interfaces/sql.ini file).
I cannot assist on setting up the location nor where to find more details in IQ. I am learning this at the moment.
The location is ASE_SERVER.LOCAL_DATABASE (ASE_SERVER should be in your interfaces/sql.ini file).
Oracle Syntax (Toggle Plain Text)
INSERT INTO iqTable location 'ASE.DB' ( SELECT * FROM DB..TABLE )
I cannot assist on setting up the location nor where to find more details in IQ. I am learning this at the moment.
Last edited by Stylish; Mar 31st, 2009 at 1:11 pm.
I NEED AN ADULT!
![]() |
Other Threads in the Oracle Forum
- Previous Thread: Have Your Even been to Oracle Course that Goes from 10 am to 6 pm for One Month?
- Next Thread: Replacing truncate with partitions rotation
| Thread Tools | Search this Thread |
2009predictions acquisition amazon.com bartz bernanke cia citrix cloudcomputing crm database dell economy editor enterprise enterprise2.0 enterprisesoftware federalreserve forbes hp ibm intellipedia internet larryellison layoffs linux loughridge mediawiki michaeljackson microsoft neverland nortel notebooks oil operatingsystem oracle palm rimm saas salesforce sap seagate socialcomputing sql sun sybase technologystocks virtualiron virtualization vmware wiki wikipedia xen yahoo zoho





