HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Regarding Sqlldr
Operating System - Linux
1828667
Members
1910
Online
109984
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 12:17 AM
07-31-2006 12:17 AM
Regarding Sqlldr
Posts: 3
Regarding Sqlldr
« on: Today at 05:49:45 am » Quote Modify Remove
--------------------------------------------------------------------------------
hi all
I need to read the text file and update into database
Text file samp.txt
1#arun
2#aparna
Table -Employee
Emp empname
Script
#!bin/sh
sqlldr username/password@database control=control.ctl
control.cl
load data infile 'sample.txt' into table employee fields terminated bu '#' trailing nullcols(emp.empname)
The above statements get executed
but i dont want control file to be as separate file
I want it to be part of the script
#!bin/sh
sqlldr username/password@database control=load data infile 'sample.txt' into table employee fields terminated bu '#' trailing nullcols(emp.empname)
I shows an error unexpected end of file
How to solve this
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 12:28 AM
07-31-2006 12:28 AM
Re: Regarding Sqlldr
try to add one [enter](I mean new line before EOF). Some say there's unexpected EOF when you have
code
code
codeEOF
but
code
code
code
EOF
is OK.
code
code
codeEOF
but
code
code
code
EOF
is OK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 01:19 AM
07-31-2006 01:19 AM
Re: Regarding Sqlldr
after includng EOF after the qlldr code also it shows be some error
How to make a control file to be a part of the script
How to make a control file to be a part of the script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2006 02:32 AM
07-31-2006 02:32 AM
Re: Regarding Sqlldr
well can you post here what is the error message you get.
Can you of course post actual script you are trying to debug?
Can you of course post actual script you are trying to debug?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP