If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > plsql

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-13-12, 02:59
Divian Divian is offline
Registered User
 
Join Date: Jan 2012
Posts: 4
Red face plsql

My when uploading I get two sets of data one with 0's and one without.
How can I join the the two toghter using a plsql script.
The id no for the users are the same but the emp no has 0's and the other emp no has no 0's

eg,
PERID | MINID|MINEMP | MAXID|MAXEMP
---------------|----------|----------|----------|---------
8105105584089 | 585|8970006 | 6825|08970006
8709270203084 | 594|8960063 | 6834|08960063
8704150399086 | 599|8947065 | 6839|08947065

Last edited by Divian; 01-13-12 at 03:04. Reason: Not enough info
Reply With Quote
  #2 (permalink)  
Old 01-13-12, 07:18
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,540
"plsql" is oracle

this forum is for microsoft sql server

which are you using?
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 01-13-12, 07:28
Divian Divian is offline
Registered User
 
Join Date: Jan 2012
Posts: 4
My apologies, I am using Oracle.
Still a newbee.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On