dbTalk Databases Forums  

Using dbms_ldap

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Using dbms_ldap in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
janu
 
Posts: n/a

Default Using dbms_ldap - 08-15-2008 , 01:01 PM






Hi All,

I have a task to insert employee data into a oracle table using
dbms_ldap, Could someone show me some pointers on how to achieve this
task.

..RA

Reply With Quote
  #2  
Old   
joel garry
 
Posts: n/a

Default Re: Using dbms_ldap - 08-15-2008 , 01:46 PM






On Aug 15, 11:01*am, janu <ang... (AT) gmail (DOT) com> wrote:
Quote:
Hi All,

I have a task to insert employee data into a oracle table using
dbms_ldap, Could someone show me some pointers on how to achieve this
task.

.RA
Putting dbms_ldap in the metalink knowledgebase, I poked around a bit
and came up with this: http://www.oracle.com/technology/sam...api/index.html

Of course, the zip file was empty, but what can you do?

jg
--
@home.com is bogus.
Welcome our android overseers! http://www.signonsandiego.com/uniont...b15google.html


Reply With Quote
  #3  
Old   
joel garry
 
Posts: n/a

Default Re: Using dbms_ldap - 08-15-2008 , 01:46 PM



On Aug 15, 11:01*am, janu <ang... (AT) gmail (DOT) com> wrote:
Quote:
Hi All,

I have a task to insert employee data into a oracle table using
dbms_ldap, Could someone show me some pointers on how to achieve this
task.

.RA
Putting dbms_ldap in the metalink knowledgebase, I poked around a bit
and came up with this: http://www.oracle.com/technology/sam...api/index.html

Of course, the zip file was empty, but what can you do?

jg
--
@home.com is bogus.
Welcome our android overseers! http://www.signonsandiego.com/uniont...b15google.html


Reply With Quote
  #4  
Old   
joel garry
 
Posts: n/a

Default Re: Using dbms_ldap - 08-15-2008 , 01:46 PM



On Aug 15, 11:01*am, janu <ang... (AT) gmail (DOT) com> wrote:
Quote:
Hi All,

I have a task to insert employee data into a oracle table using
dbms_ldap, Could someone show me some pointers on how to achieve this
task.

.RA
Putting dbms_ldap in the metalink knowledgebase, I poked around a bit
and came up with this: http://www.oracle.com/technology/sam...api/index.html

Of course, the zip file was empty, but what can you do?

jg
--
@home.com is bogus.
Welcome our android overseers! http://www.signonsandiego.com/uniont...b15google.html


Reply With Quote
  #5  
Old   
joel garry
 
Posts: n/a

Default Re: Using dbms_ldap - 08-15-2008 , 01:46 PM



On Aug 15, 11:01*am, janu <ang... (AT) gmail (DOT) com> wrote:
Quote:
Hi All,

I have a task to insert employee data into a oracle table using
dbms_ldap, Could someone show me some pointers on how to achieve this
task.

.RA
Putting dbms_ldap in the metalink knowledgebase, I poked around a bit
and came up with this: http://www.oracle.com/technology/sam...api/index.html

Of course, the zip file was empty, but what can you do?

jg
--
@home.com is bogus.
Welcome our android overseers! http://www.signonsandiego.com/uniont...b15google.html


Reply With Quote
  #6  
Old   
janu
 
Posts: n/a

Default Re: Using dbms_ldap - 08-16-2008 , 02:37 AM



hi jg,

thank you for your input. As recommended by you, i used dnms_ldap, but
quickly i bumped into a problem, I am getting sizeexceeded limit. so i
decided to use /usr/bin/ldapsearch to dump few fields to a text file.
but now i'm clueless on how to import data from a text file to a
table.

output(sample) looks like this
=======================

# Alex Fontana, Users, nbc.com
dn: CN=Ali Fon,CN=Users,DC=nbc,DC=com
givenName: Ali
department: Infrastructure - 19622
employeeNumber: 034636
employeeID: 034636
mail: afon (AT) nbcc (DOT) com
manager: CN=Bob Plu,CN=Users,DC=nbc,DC=com

# Aravind Pavu, Users, nbc.com
dn: CN=Aravind Pavu,CN=Users,DC=nbc,DC=com
givenName: Aravind
department: R&D: Performance - 72200
employeeNumber: 035870
employeeID: 035870
mail: apavu (AT) nbcc (DOT) com
manager: CN=Raji Kam,CN=Users,DC=nbc,DC=com

Now how do I insert each block as one row into a table. Please give me
some hints.

thank you
..ra

Reply With Quote
  #7  
Old   
janu
 
Posts: n/a

Default Re: Using dbms_ldap - 08-16-2008 , 02:37 AM



hi jg,

thank you for your input. As recommended by you, i used dnms_ldap, but
quickly i bumped into a problem, I am getting sizeexceeded limit. so i
decided to use /usr/bin/ldapsearch to dump few fields to a text file.
but now i'm clueless on how to import data from a text file to a
table.

output(sample) looks like this
=======================

# Alex Fontana, Users, nbc.com
dn: CN=Ali Fon,CN=Users,DC=nbc,DC=com
givenName: Ali
department: Infrastructure - 19622
employeeNumber: 034636
employeeID: 034636
mail: afon (AT) nbcc (DOT) com
manager: CN=Bob Plu,CN=Users,DC=nbc,DC=com

# Aravind Pavu, Users, nbc.com
dn: CN=Aravind Pavu,CN=Users,DC=nbc,DC=com
givenName: Aravind
department: R&D: Performance - 72200
employeeNumber: 035870
employeeID: 035870
mail: apavu (AT) nbcc (DOT) com
manager: CN=Raji Kam,CN=Users,DC=nbc,DC=com

Now how do I insert each block as one row into a table. Please give me
some hints.

thank you
..ra

Reply With Quote
  #8  
Old   
janu
 
Posts: n/a

Default Re: Using dbms_ldap - 08-16-2008 , 02:37 AM



hi jg,

thank you for your input. As recommended by you, i used dnms_ldap, but
quickly i bumped into a problem, I am getting sizeexceeded limit. so i
decided to use /usr/bin/ldapsearch to dump few fields to a text file.
but now i'm clueless on how to import data from a text file to a
table.

output(sample) looks like this
=======================

# Alex Fontana, Users, nbc.com
dn: CN=Ali Fon,CN=Users,DC=nbc,DC=com
givenName: Ali
department: Infrastructure - 19622
employeeNumber: 034636
employeeID: 034636
mail: afon (AT) nbcc (DOT) com
manager: CN=Bob Plu,CN=Users,DC=nbc,DC=com

# Aravind Pavu, Users, nbc.com
dn: CN=Aravind Pavu,CN=Users,DC=nbc,DC=com
givenName: Aravind
department: R&D: Performance - 72200
employeeNumber: 035870
employeeID: 035870
mail: apavu (AT) nbcc (DOT) com
manager: CN=Raji Kam,CN=Users,DC=nbc,DC=com

Now how do I insert each block as one row into a table. Please give me
some hints.

thank you
..ra

Reply With Quote
  #9  
Old   
janu
 
Posts: n/a

Default Re: Using dbms_ldap - 08-16-2008 , 02:37 AM



hi jg,

thank you for your input. As recommended by you, i used dnms_ldap, but
quickly i bumped into a problem, I am getting sizeexceeded limit. so i
decided to use /usr/bin/ldapsearch to dump few fields to a text file.
but now i'm clueless on how to import data from a text file to a
table.

output(sample) looks like this
=======================

# Alex Fontana, Users, nbc.com
dn: CN=Ali Fon,CN=Users,DC=nbc,DC=com
givenName: Ali
department: Infrastructure - 19622
employeeNumber: 034636
employeeID: 034636
mail: afon (AT) nbcc (DOT) com
manager: CN=Bob Plu,CN=Users,DC=nbc,DC=com

# Aravind Pavu, Users, nbc.com
dn: CN=Aravind Pavu,CN=Users,DC=nbc,DC=com
givenName: Aravind
department: R&D: Performance - 72200
employeeNumber: 035870
employeeID: 035870
mail: apavu (AT) nbcc (DOT) com
manager: CN=Raji Kam,CN=Users,DC=nbc,DC=com

Now how do I insert each block as one row into a table. Please give me
some hints.

thank you
..ra

Reply With Quote
  #10  
Old   
Malcolm Dew-Jones
 
Posts: n/a

Default Re: Using dbms_ldap - 08-16-2008 , 09:15 PM



janu (angani (AT) gmail (DOT) com) wrote:
: hi jg,

: thank you for your input. As recommended by you, i used dnms_ldap, but
: quickly i bumped into a problem, I am getting sizeexceeded limit. so i

google: oracle dbms_ldap size exceeded

shows some examples that might help to use the oracle supplied tool,

: decided to use /usr/bin/ldapsearch to dump few fields to a text file.
: but now i'm clueless on how to import data from a text file to a
: table.


google: oracle utl_file

for one method to get data from a file into oracle.



: output(sample) looks like this
: =======================

: # Alex Fontana, Users, nbc.com
: dn: CN=Ali Fon,CN=Users,DC=nbc,DC=com
: givenName: Ali
: department: Infrastructure - 19622
: employeeNumber: 034636
: employeeID: 034636
: mail: afon (AT) nbcc (DOT) com
: manager: CN=Bob Plu,CN=Users,DC=nbc,DC=com

: # Aravind Pavu, Users, nbc.com
: dn: CN=Aravind Pavu,CN=Users,DC=nbc,DC=com
: givenName: Aravind
: department: R&D: Performance - 72200
: employeeNumber: 035870
: employeeID: 035870
: mail: apavu (AT) nbcc (DOT) com
: manager: CN=Raji Kam,CN=Users,DC=nbc,DC=com

: Now how do I insert each block as one row into a table. Please give me
: some hints.

: thank you
: .ra


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.