How to load a CSV file into AltibseHow does database indexing work?How can I prevent SQL injection in PHP?How to list the tables in a SQLite database file that was opened with ATTACH?How to return only the Date from a SQL Server DateTime datatypeHow to concatenate text from multiple rows into a single text string in SQL server?Save PL/pgSQL output from PostgreSQL to a CSV fileHow do I UPDATE from a SELECT in SQL Server?How to query MongoDB with “like”?How do I import an SQL file using the command line in MySQL?SQL Server Insert Statement From a CSV File

1, 2, 4, 8, 16, ... 33?

Should the average user with no special access rights be worried about SMS-based 2FA being theoretically interceptable?

My Project Manager does not accept carry-over in Scrum, Is that normal?

How to create fractional SI units (SI...sqrts)?

What are the consequences of high orphan block rate?

How to justify a team increase when the team is doing good?

Reorder a matrix, twice

Why weren't the Death Star plans transmitted electronically?

Do we have any particular tonal center in mind when we are NOT listening music?

Pi Zero Work With Embedded WIFI And Cellular USB Modem

Clear text passwords in Unix

Is there a recurrence relation which has no closed formula?

Is it a good idea to leave minor world details to the reader's imagination?

A famous scholar sent me an unpublished draft of hers. Then she died. I think her work should be published. What should I do?

Golf (6-card) Golf!

Why does (inf + 0j)*1 evaluate to inf + nanj?

Hangman Game (YAHG)

Excel Solver linear programming - Is it possible to use average of values as a constraint without #DIV/0! errors or sacrificing linearity?

Why are there two fundamental laws of logic?

How can this Stack Exchange site have an animated favicon?

Labview vs Matlab??Which one better for image processing?

Does the Way of Shadow monk's Shadow Step feature count as a magical ability?

Is differentiation as a map discontinuous?

practicality of 30 year fix mortgage at 55 years of age



How to load a CSV file into Altibse


How does database indexing work?How can I prevent SQL injection in PHP?How to list the tables in a SQLite database file that was opened with ATTACH?How to return only the Date from a SQL Server DateTime datatypeHow to concatenate text from multiple rows into a single text string in SQL server?Save PL/pgSQL output from PostgreSQL to a CSV fileHow do I UPDATE from a SELECT in SQL Server?How to query MongoDB with “like”?How do I import an SQL file using the command line in MySQL?SQL Server Insert Statement From a CSV File






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I have an extremely simple altibase database with only 1 table, the problem is i can't figure out how to load the data into the database.



As far as i am aware altibase uses the iLoader tool, so the following code should work but instead throws a syntax error. It does not specify where the error is.



CREATE TABLE SentimentData (
FinalScore DECIMAL(10,4),
maxPosScore DECIMAL(9,3),
maxNegScore DECIMAL(9,3),
commentID char(10)
);

iloader in [-T SentimentData] [-d /home/cory/SentimentData/2005/RC_2005-12.sentiment] [-rule csv];



The create table statement works perfectly i have just included it to show how the table is formatted if this is important.



To my knowledge, the iLoader line should import the data into the Table SentimentData, from the specified CSV file.



I have also tried the bulkinsert command and this gives the same error, a syntax error without specifying where the error actually is.



BULK INSERT SentimentData
FROM '/home/cory/SentimentData/2005/RC_2005-12.sentiment'
WITH
(
FIELDTERMINATOR = ' ', --field delimiter (tab)
ROWTERMINATOR = 'n', --next row is a new CSV line
);



Is there a different command I am missing in Altibase I am missing or have I just misread the manual somewhere?










share|improve this question
























  • So i can't delete the question but i have figured out the answer so i'll note it here just incase anyone else runs into the same issues i had. iLoader does not run through altibase as i was led to believe (something you'd think would be mentioned in the manuals) but must be run separately by loading the Altibase/bin/iloader file (default location). Here the iLoader commands are run and then the data can be worked with through altibase itself.

    – me910
    Apr 3 at 15:45


















0















I have an extremely simple altibase database with only 1 table, the problem is i can't figure out how to load the data into the database.



As far as i am aware altibase uses the iLoader tool, so the following code should work but instead throws a syntax error. It does not specify where the error is.



CREATE TABLE SentimentData (
FinalScore DECIMAL(10,4),
maxPosScore DECIMAL(9,3),
maxNegScore DECIMAL(9,3),
commentID char(10)
);

iloader in [-T SentimentData] [-d /home/cory/SentimentData/2005/RC_2005-12.sentiment] [-rule csv];



The create table statement works perfectly i have just included it to show how the table is formatted if this is important.



To my knowledge, the iLoader line should import the data into the Table SentimentData, from the specified CSV file.



I have also tried the bulkinsert command and this gives the same error, a syntax error without specifying where the error actually is.



BULK INSERT SentimentData
FROM '/home/cory/SentimentData/2005/RC_2005-12.sentiment'
WITH
(
FIELDTERMINATOR = ' ', --field delimiter (tab)
ROWTERMINATOR = 'n', --next row is a new CSV line
);



Is there a different command I am missing in Altibase I am missing or have I just misread the manual somewhere?










share|improve this question
























  • So i can't delete the question but i have figured out the answer so i'll note it here just incase anyone else runs into the same issues i had. iLoader does not run through altibase as i was led to believe (something you'd think would be mentioned in the manuals) but must be run separately by loading the Altibase/bin/iloader file (default location). Here the iLoader commands are run and then the data can be worked with through altibase itself.

    – me910
    Apr 3 at 15:45














0












0








0








I have an extremely simple altibase database with only 1 table, the problem is i can't figure out how to load the data into the database.



As far as i am aware altibase uses the iLoader tool, so the following code should work but instead throws a syntax error. It does not specify where the error is.



CREATE TABLE SentimentData (
FinalScore DECIMAL(10,4),
maxPosScore DECIMAL(9,3),
maxNegScore DECIMAL(9,3),
commentID char(10)
);

iloader in [-T SentimentData] [-d /home/cory/SentimentData/2005/RC_2005-12.sentiment] [-rule csv];



The create table statement works perfectly i have just included it to show how the table is formatted if this is important.



To my knowledge, the iLoader line should import the data into the Table SentimentData, from the specified CSV file.



I have also tried the bulkinsert command and this gives the same error, a syntax error without specifying where the error actually is.



BULK INSERT SentimentData
FROM '/home/cory/SentimentData/2005/RC_2005-12.sentiment'
WITH
(
FIELDTERMINATOR = ' ', --field delimiter (tab)
ROWTERMINATOR = 'n', --next row is a new CSV line
);



Is there a different command I am missing in Altibase I am missing or have I just misread the manual somewhere?










share|improve this question














I have an extremely simple altibase database with only 1 table, the problem is i can't figure out how to load the data into the database.



As far as i am aware altibase uses the iLoader tool, so the following code should work but instead throws a syntax error. It does not specify where the error is.



CREATE TABLE SentimentData (
FinalScore DECIMAL(10,4),
maxPosScore DECIMAL(9,3),
maxNegScore DECIMAL(9,3),
commentID char(10)
);

iloader in [-T SentimentData] [-d /home/cory/SentimentData/2005/RC_2005-12.sentiment] [-rule csv];



The create table statement works perfectly i have just included it to show how the table is formatted if this is important.



To my knowledge, the iLoader line should import the data into the Table SentimentData, from the specified CSV file.



I have also tried the bulkinsert command and this gives the same error, a syntax error without specifying where the error actually is.



BULK INSERT SentimentData
FROM '/home/cory/SentimentData/2005/RC_2005-12.sentiment'
WITH
(
FIELDTERMINATOR = ' ', --field delimiter (tab)
ROWTERMINATOR = 'n', --next row is a new CSV line
);



Is there a different command I am missing in Altibase I am missing or have I just misread the manual somewhere?







sql isql






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 28 at 17:36









me910me910

11 silver badge1 bronze badge




11 silver badge1 bronze badge















  • So i can't delete the question but i have figured out the answer so i'll note it here just incase anyone else runs into the same issues i had. iLoader does not run through altibase as i was led to believe (something you'd think would be mentioned in the manuals) but must be run separately by loading the Altibase/bin/iloader file (default location). Here the iLoader commands are run and then the data can be worked with through altibase itself.

    – me910
    Apr 3 at 15:45


















  • So i can't delete the question but i have figured out the answer so i'll note it here just incase anyone else runs into the same issues i had. iLoader does not run through altibase as i was led to believe (something you'd think would be mentioned in the manuals) but must be run separately by loading the Altibase/bin/iloader file (default location). Here the iLoader commands are run and then the data can be worked with through altibase itself.

    – me910
    Apr 3 at 15:45

















So i can't delete the question but i have figured out the answer so i'll note it here just incase anyone else runs into the same issues i had. iLoader does not run through altibase as i was led to believe (something you'd think would be mentioned in the manuals) but must be run separately by loading the Altibase/bin/iloader file (default location). Here the iLoader commands are run and then the data can be worked with through altibase itself.

– me910
Apr 3 at 15:45






So i can't delete the question but i have figured out the answer so i'll note it here just incase anyone else runs into the same issues i had. iLoader does not run through altibase as i was led to believe (something you'd think would be mentioned in the manuals) but must be run separately by loading the Altibase/bin/iloader file (default location). Here the iLoader commands are run and then the data can be worked with through altibase itself.

– me910
Apr 3 at 15:45













0






active

oldest

votes














Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55403771%2fhow-to-load-a-csv-file-into-altibse%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid …


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55403771%2fhow-to-load-a-csv-file-into-altibse%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to preserve electronics (computers, tablets and phones) for hundreds of years Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) The network's official Twitter account is up and running again. What content…How might modern humans leave a message for 50,000 years?How would an aquatic race develop computers?How do we make computers care for human life?Keeping supplies for 1000 yearsWhat will cell phones become in 100 years?What body armor protects against a laser?Could a society attain 1800s technology if limited to using copper and bronze?Electricity power (magic) and electronicsScavenging metal resources in post-apocalypse after 100 yearsWhy would precursors create devices that can survive and still work after hundreds of years?

155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해

Convert JSON to MapSimplest way to convert a string representing JSON array into Java array List of key value pairsHow to take String JSON values into HashMapConvert a JSON String to a HashMapCreating BSON object from JSON stringJSONObject - How to get a value ?Better Map ConstructorReading JSON from Url javaUpdate columns if input values are not null otherwise ignore and keep the existing values of column in databaseHow to store object represented as Json string into Couchbase Lite?Go JSON into MapHow do I efficiently iterate over each entry in a Java Map?Sort a Map<Key, Value> by valuesHow to round a number to n decimal places in JavaCan comments be used in JSON?How do I read / convert an InputStream into a String in Java?How can I pretty-print JSON in a shell script?What is the correct JSON content type?How can I deserialize JSON to a simple Dictionary<string,string> in ASP.NET?Why does Google prepend while(1); to their JSON responses?Parse JSON in JavaScript?