sql-loader

SQLLoader with a password that contains @-signs

白昼怎懂夜的黑 提交于 2019-11-29 14:34:31
In windows xp, I start sqlloader.exe to load data onto Oracle. This works great, until my password contains an @-sign, that is also used by sqlloader parameters to determine the database to connect to: sqlldr.exe userid/password@database control=ctrlfile.ctl How can I make sqlldr.exe accept a password like p@ssword? I tried with single/double quotes: sqlldr.exe "user/p@ssword"@database without success. I tried to skip the whole user/password, to type it in on the console, without success. Even google couldn't help me (though it brought me on thsi great website). It will fail using parfile as

SQLLoader with a password that contains @-signs

不羁的心 提交于 2019-11-28 08:52:51
问题 In windows xp, I start sqlloader.exe to load data onto Oracle. This works great, until my password contains an @-sign, that is also used by sqlloader parameters to determine the database to connect to: sqlldr.exe userid/password@database control=ctrlfile.ctl How can I make sqlldr.exe accept a password like p@ssword? I tried with single/double quotes: sqlldr.exe "user/p@ssword"@database without success. I tried to skip the whole user/password, to type it in on the console, without success.

Line breaking issue to move csv file in Linux

折月煮酒 提交于 2019-11-28 02:18:31
问题 [I have moved the csv file into Linux system with binary mode. File content of one field is spitted into multiple lines its comment sections,I need to remove the new line , keep the same format, Please help on shell command or perl command here is the example for three records, Actual look like] Original content of the file [After moved into linux, comments field is splitted into 4 lines , i want to keep the comment field in the same format but dont want the new line characters "First line

insert timestanp of INFILE into a column from SQLLOADER

心已入冬 提交于 2019-11-27 04:54:07
问题 I have a requirement as below, Am calling sqlldr script via shell for the CSV files present in a folder, File name also has Timestamp attached with it. I need to insert that timestamp into a column of table. Kindly suggest me how i can achieve this. eg: table: t1(c1 varchar,c2 varchar,c3 timestamp); control file : load data infile 'file.csv' append into table t1 fields terminated by "|" TRAILING NULLCOLS ( c1, c2) csv_file : cat file_csv_101010112233.csv 1111|1 2222|2 OUTPUT : select * from

Oracle: Import CSV file

♀尐吖头ヾ 提交于 2019-11-26 18:55:20
I've been searching for a while now but can't seem to find answers so here goes... I've got a CSV file that I want to import into a table in Oracle (9i/10i). Later on I plan to use this table as a lookup for another use. This is actually a workaround I'm working on since the fact that querying using the IN clause with more that 1000 values is not possible. How is this done using SQLPLUS? Thanks for your time! :) Abi SQL Loader helps load csv files into tables: SQL*Loader If you want sqlplus only, then it gets a bit complicated. You need to locate your sqlloader script and csv file, then run