Option to enter the name of data file in SQL * Loader
Hello
I have a requirement to enter the name of the data file in the staging table, is it possible that I can capture in SQL * Loader or any other way to do it.
Need suggestion of experts please.
Thank you
Genoo
Genoo salvation,
Please have the basename command in Linux to enter the name of the file that is currently running. I don't have a linux machine at the moment access, so please check at your end.
BTW, as you file name of variant data in and values not consistent, you need to change the data file to include the file name. Unless it is approved for your management I don't see alternatives like the fill source tables are the data file. If this is approved then you can do the following:
SED EI / $/ ' basename $0' /'-i '.
Thus, for example, if you have a data file name 01test.csv, and it contains data such as: 11, AAA, ABC 22, BBB, BCD The command: sed EI / $/, ' basename $0' /'-i 01test.csv will go to: 11, AAA, ABC, 01test.csv 22, BBB, BCD, 01test.csv Then use SQL Loader to load the file It is the closest solution to you, I can think. There is no way that you can achieve your goal of features SQL Loader but rather, you should use technical Linux for a work around. Best regards
Tags: Database
Similar Questions
-
Order by the name of data file.
Hi all
I use 11 GR 2 and looking to find a way where in I am able to retrieve the name of the data files so be it, one where he lists the data file in the order of mount points. first say data1 and then so on...
Excerpt from my data output files.
/DB/ptmtrain/Data1/System01.dbf
/DB/ptmtrain/data2/sysaux01.dbf
/DB/ptmtrain/Data1/undotbs01.dbf
/DB/ptmtrain/Data3/tools01.dbf
/DB/ptmtrain/data24/users01.dbf
/DB/ptmtrain/data25/USERS02.dbf
/DB/ptmtrain/data26/USERS03.dbf
/DB/ptmtrain/data2/rbs01.dbf
/DB/ptmtrain/Data3/rbs02.dbf
/DB/ptmtrain/data2/rbs03.dbf
/DB/ptmtrain/data23/sans01.dbf
should be something like
/DB/ptmtrain/Data1/System01.dbf
/DB/ptmtrain/Data1/undotbs01.dbf
/DB/ptmtrain/data2/sysaux01.dbf
/DB/ptmtrain/data2/rbs03.dbf
/DB/ptmtrain/data2/rbs01.dbf
/DB/ptmtrain/Data3/tools01.dbf
/DB/ptmtrain/Data3/rbs02.dbf
/DB/ptmtrain/data23/sans01.dbf
/DB/ptmtrain/data24/users01.dbf
/DB/ptmtrain/data25/USERS02.dbf
/DB/ptmtrain/data26/USERS03.dbf
Concerning
Maybe
with
data_files as
(select ' / db/ptmtrain/data1/system01.dbf' file_name Union double all the)
Select ' / db/ptmtrain/data2/sysaux01.dbf' of all the double union
Select ' / db/ptmtrain/data1/undotbs01.dbf' of all the double union
Select ' / db/ptmtrain/data3/tools01.dbf' of all the double union
Select ' / db/ptmtrain/data24/users01.dbf' of all the double union
Select ' / db/ptmtrain/data25/users02.dbf' of all the double union
Select ' / db/ptmtrain/data26/users03.dbf' of all the double union
Select ' / db/ptmtrain/data2/rbs01.dbf' of all the double union
Select ' / db/ptmtrain/data3/rbs02.dbf' of all the double union
Select ' / db/ptmtrain/data2/rbs03.dbf' of all the double union
Select ' / db/ptmtrain/data23/sans01.dbf' of the double
)
Select file_name
of data_files
order of to_number (substr (file_name, 18, instr(file_name,'/',-1)-18))
FILE_NAME /DB/ptmtrain/Data1/System01.dbf /DB/ptmtrain/Data1/undotbs01.dbf /DB/ptmtrain/data2/sysaux01.dbf /DB/ptmtrain/data2/rbs03.dbf /DB/ptmtrain/data2/rbs01.dbf /DB/ptmtrain/Data3/tools01.dbf /DB/ptmtrain/Data3/rbs02.dbf /DB/ptmtrain/data23/sans01.dbf /DB/ptmtrain/data24/users01.dbf /DB/ptmtrain/data25/USERS02.dbf /DB/ptmtrain/data26/USERS03.dbf Concerning
Etbin
-
Get the name of data file of sqlldr map using OMB
I am able to get a card SQLLDR to the SRC file, but unable to get file name of data, details are given as under:
OMBRETRIEVE MAPPING 'A' SOURCE_DATA_FILE GET
tony_src
OMB + > OMBRETRIEVE MAPPING 'A' SOURCE_DATA_FILE 'tony_src' GET DATA_FILE_NAME
OMB02932: Error getting child objects of type DATA_FILE_NAME has
Thanks in advance!Hello
On the top of my head, try...
OMBRETRIEVE MAPPING 'A' SOURCE_DATA_FILE 'tony_src' GET PROPERTY (DATA_FILE_NAME)See you soon
David -
What are the names of data files scratch CS6 on Mac?
I see people saying the file (or is it multiple files?) is stored at the root of the HD. I don't see anything here (I have only one drive) which resembles Photoshop, even when I check the invisible files. Anyone know where the file is, and what it is called? It is invisible?
The reason I ask, is I want to exclude from my backups Time Machine current. I'm slowly learning the various Adobe files I need to exclude manually. (AutoRecover, Application Support/Adobe... actually, records bazillion CS6 within Applications, since I will restore the cloud creative if I a failure.)
Sometimes Time Machine made a big backup for unknown reasons, and I think that the recent installation of ogf CS6 can be the culprit.
Thanks in advance!
He uses the device virtual standard temp / folder, which is already excluded from Timemachine.
Mylenium
-
When I get an attachment to an email (using Zimbra Imail, Firefox, Windows XP Pro) and I click on it and select 'Download', I get the dialog box "enter the name of the file to save on...» "(because I already have the option"always ask me where to save files. "But the view of default file always in a 'list '. At least recently. I don't remember it always does this. In any case, I want the value default to a 'Détails' view, in ascending order, I can find then things so much faster that way. (I often use the 'Update' tab to bring up, the latest version of a file.) I know that I can go to the Menu 'view' icon and select 'Détails', but whenever I go in a sub-folder in this dialog box, I have to do this all over again and it wastes a lot of time and attention.
I did some research on the internet but have not found a way to solve this problem.
Try this:
a. open my documents, press the alt key.
b. click on Tools. Click on folder options.
c. click on the view tab and select Reset and check records.
-
Name of data file in the file results correlate
Hello
My vi carried out statistics on multiple data files, and I was wondering if it is possible to correlate the new file names (of the results) of their original datasets. For example: names of data files: data1 & data2 will display results files: data1_result & data2_result.
Is this possible to do?
Thank you?
Just for future use, if someone will have a similar question, see attachment.
-
Print to PDF without having to enter the name of the file
Hello
I need to print (NOT of EXPORT) to PDF without having to enter the name of the file manually.
Any ideas?
See http://forums.Adobe.com/message/5224900#5224900#5224900 for more information
Thank you Trevor
straight form indesign, do not think you can. But if on windows, you can try with this: http://www.autoitscript.com/site/autoit/
-
Original title: question of recovery of Windows 8I have a Toshiba laptop with windows 8. and this morning when I tried to turn it on, it's the message that is displayed:"RECOVERY".your PC needs to be repairedThe boot configuration data file is missing some required informationFile \BCDError code: 0xc000000d
you will need to use the tools of recovery on your installation media. "If you, etc.".There is no USB or CV came with the laptop. It is automatically installed when I first turned on.I was looking at a trip to this topic last night and everything was perfect, now, this morning, I get this message.I restarted the computer a few things, but this message is still there.My question is how can I get my laptop to work again, because I can't go in the computer to change the settings or options.Help, pleaseThank youWinnieHello
We are here to help.
You can perform the troubleshooting steps below:
Option 1: Windows startup parameters in the Windows recovery environment .
- Windows recovery environment, enter in safe mode. After you have successfully loaded in safe mode, perform the clean boot.
Option 2: restore your PC to an earlier point in time .
- Enter in the right edge of the screen and then click on Search.
- Enter the Control Panel in the search box, and then tap or click Control Panel.
- Enter the collection in the control panel search box, and then tap or click recovery.
- Press or click open system restore, and then follow the instructions.
Let us know how it goes.
-
The names of source files are larger than is supported by the file system...
"The names of source files are larger than is supported by the file system. Try to move to a location that has a shorter path name, or try renaming to name more short (s) before performing this operation. »
There are about 10 subfolders on the computer. None can be deleted, moved, or renamed without one appearing in the message. I tried UNLOCKER ASSISTANT & DELINVFILE get rid of this file. Once more, none worked. Command prompt did not work as well. Please help me, this issue will not go away on my desk.
Try first to remove bypassing the Recycle Bin using SHIFT-DEL(thanks, Michael Murphy) rather than just led
Try to use one of the following free products to remove the file/folder. Unlocker to: http://www.softpedia.com/get/System/System-Miscellaneous/Unlocker.shtml or file Assassin http://www.malwarebytes.org/fileassassin.php (with or without forcing the deletion and you have to force the deletion in this case: http://www.mydigitallife.info/2008/12/27/force-delete-cannot-delete-locked-or-in-used-files-or-folders-with-fileassassin/). These programs often work when normal functions remove Vista not work correctly. Have you tried Unlocker (I don't know if it's the same as Unlocker Assistant) but if this if it is different, gives it a try.
Here is an article on this topic (related to another topic, but essentially the same problem) with a number of suggestions - which can work for you: http://www.howtogeek.com/forum/topic/how-to-delete-source-file-names-are-larger-than-is.
I hope that one of these options help. If this isn't the case, after return and we will see if we can find another answer.
Good luck!
Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
-
Jobs recording under the name of temporary file
Hello fellow Scripting Guys!
// Save the open file to the new direct to print folder as EPS with artboard enabled. #target illustrator-19; var newName = prompt ('enter in the new file name', "DJ", "Saveing to STE with new name"); saveFileToEPS(); var w = new Window("palette","Saved To STE Printer",undefined,{closeButton:false}); w.add("statictext",undefined,"File has been saved to STE Printer"); w.show(); $.sleep(100); w.close(); function saveFileToEPS() // saves the file to the server as a .EPS document. { var thisDoc = app.activeDocument; if ( app.documents.length > 0 ) { var saveName = new File ("folder location" + newName); saveOpts = new EPSSaveOptions(); saveOpts.compatibility = Compatibility.ILLUSTRATOR13; saveOpts.generateThumbnails = true; saveOpts.preserveEditability = true; saveOpts.artBoardClipping = true; saveOpts.saveMultipleArtboards = true; var currentArtboard = app.activeDocument.artboards.getActiveArtboardIndex(); saveOpts.artboardRange = currentArtboard + 1; // artboard # of the currently active artboard thisDoc.saveAs( saveName, saveOpts ); } }
I got the code above and when she runs 2/3 of the time, it runs great but the other 1/3 of the time it fails to rename and files are saved under the name of temporary file A1 #. Is it possible to add a fail safe module to this? Maybe do create the new file in a folder, make sure that the file has the file, and THEN move the file in this folder into the right pair?
I annotated the popup code section and I don't see the problem more. Something in the code below was he locked up and renaming does not... Good times with the scripts!
appreciate your help Silly-V.
/* var w = new Window("palette","Saved To STE Printer",undefined,{closeButton:false}); w.add("statictext",undefined,"File has been saved to STE Printer"); w.show(); $.sleep(100); w.close(); */
-
SUMIFS (data: $C, data: $B, $A2, given: $A, "> =" & B$ 1, data: $A, "<" & (EOMONTH(A1,0) will GET ($1.0 B) + 1))
It's the formula that I used until I changed the names of "data Plan". The original names were:
A1
A6
A12
B1
B6
etc...
I changed the plan of names... I want to start all over again... The original formula still works?
The original formula should still work as long as the new plan names are spelled the same in both tables.
SG
-
I do a fileupload page and it seems that FFv.12 does not allow for Scandinavian letters in the names of downloaded files, given that the browser gets stuck trying to communicate with the local host. Fix? This behavior differs from that of other browsers (IE, Chrome, Opera and Safari).
That are Unicode characters in the name of the file or the characters in the top 0 x 80-0xFF range?
-
Enter the name or the grayed out number in phone dialer
Hello! I want to ask you if this has also happened to you. In phone dialer, the box where you can enter the name or number manually does not work. He was grey out. It happened when I upgraded to lollipop. Hope you can help me. Thank you.
I just checked for you, and yes they are exactly the same.
I hope this helps.
-
Why windows media player displays only the names of original files?
Windows Media Player only shows the original file names that can be confusing if I changed the name of a file. The name of the file (usually audio files) is correct in Windows Explorer, but in the component list of WMP, it's often the old file name. Why is this and what can I do about it? Advice would be appreciated. TA. Kevin.
What the file type of these music files (MP3, WMA, WAV...)?
WMP usually displays the title tags of the music file, which is independent of the file name. However, WMP always displays the current file name in the path column of the file, which can be activated by right clicking on a column header and select choose columns.
-
To-do bar display of the names of open files
In Windows Vista, it used to display my documents open in the taskbar with all instances of applications (such as IE) and the names of open files. Windows 7 is not that. Is it possible to restore that? I find it really useful to the click on the right app or the document I want to open.
David
Anchorage Alaska
Right click on the taskbar-> properties-> Taskbar Button :-> select never combine-> Apply-> OK
See if that helps.
Maybe you are looking for
-
Xoom 3 g 3.2 updated. Is no longer able to view attachments in e-mail
Hey, got the update 3.2 for my 3g Xoom. And now, when you use my exchange account I can't not watch e-mail attachments. I save the file to the device and the view using a file reader. It was working perfectly before, but now seems broken. Does anyone
-
need help with the process running on my laptop, taking control of the laptop
-
Invoke the target application does not work
Hello I want to integrate the call framework in my application to call Facebook, twitter. I tried executing the example provided on github, but it does not always give error call target failed. I also want to know is - this fully functional invocatio
-
How to get the coordinates of the highest "current view" on the screen?
Picture the following scenario: We have an application full screen has a vertical field with a few dozen Manager fields. This screen will be much bigger, then the physical blackberry screen, scrolling, etc. What I need to findout corresponds to the
-
GuestEndpoints ISE Cisco and licensing
Small question. If a device is placed in the Group GuestEndpoint automatically through the Hotspot portal in 2.0 of ISE. If we do strategies based on group identity GuestEndpoint should I use a license? I know this license is used if we pass through