Home » RDBMS Server » Server Utilities » SQL LOADER (oracle 10.2.0.1.0 - windows XP)
SQL LOADER [message #491072] Fri, 28 January 2011 22:47 Go to next message
muktha_22
Messages: 527
Registered: December 2009
Senior Member
Hi All,

Can any one tell me the reason "why sql loader's CONTROL FILE is not working, if that location has space in between"

Eg - C:\practice for sqlloader\control1.ctl

But it works if we remove the space in between the path as below:
Eg - C:\practice_for_sqlloader\control1.ctl

Regards:
Muktha
Re: SQL LOADER [message #491073 is a reply to message #491072] Fri, 28 January 2011 23:04 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
spaces within filenames is strictly a Windows perversion.
Oracle & it utilities were written before Windows existed & the original command parsers did not have the requirement to accommodate spaces.
Re: SQL LOADER [message #491074 is a reply to message #491073] Fri, 28 January 2011 23:12 Go to previous messageGo to next message
muktha_22
Messages: 527
Registered: December 2009
Senior Member
Hi Blackswan,

Thanks..

Regards:
Muktha
Re: SQL LOADER [message #492344 is a reply to message #491074] Sat, 29 January 2011 14:09 Go to previous message
Barbara Boehmer
Messages: 9088
Registered: November 2002
Location: California, USA
Senior Member
You can also place the complete file name and path within single quotes:

'C:\practice for sqlloader\control1.ctl'

or use the path that you can see when you do dir/x from the sql command window, which is the first six characters followed by a tilde followed by a number (if there are multiple folders with the same first 6 characters, then windows numbers them sequentially):

C:\practi~1\control1.ctl
Previous Topic: Importing into lower version using (exp/imp)
Next Topic: Terminators and datafile of sql loader
Goto Forum:
  


Current Time: Fri Apr 19 16:09:45 CDT 2024