Click here to Skip to main content
15,899,937 members
Home / Discussions / Database
   

Database

 
AnswerRe: Converting rows into columns (PIVOT for string values) Pin
Mycroft Holmes17-Jul-09 16:19
professionalMycroft Holmes17-Jul-09 16:19 
QuestionHow to capture sql commands in oracle like sqlprofiler ? Pin
hdv21216-Jul-09 4:18
hdv21216-Jul-09 4:18 
AnswerRe: How to capture sql commands in oracle like sqlprofiler ? Pin
dan!sh 16-Jul-09 4:31
professional dan!sh 16-Jul-09 4:31 
Questionget from a number its real character value Pin
kKamel16-Jul-09 1:50
kKamel16-Jul-09 1:50 
AnswerRe: get from a number its real character value Pin
dan!sh 16-Jul-09 3:59
professional dan!sh 16-Jul-09 3:59 
QuestionProblem in joining 2 tables Pin
nainakarri15-Jul-09 23:30
nainakarri15-Jul-09 23:30 
AnswerRe: Problem in joining 2 tables Pin
Blue_Boy15-Jul-09 23:36
Blue_Boy15-Jul-09 23:36 
GeneralRe: Problem in joining 2 tables Pin
nainakarri16-Jul-09 0:30
nainakarri16-Jul-09 0:30 
The first table Table1 has a primary key and the foreign key is the column in the second table Table2

Now table 2 has the data like this

foreignkey col1 col2 col3 col4
1 naina 1 null null
1 karri 2 null null
1 xxxxx 3 null null
1 null null aaaa 1
1 null null bbbb 2


now i need the output to be like this

primarykey col1 col2 col3 col4
1 naina 1 aaaa 1
1 karri 2 bbbb 2

1 xxxxx 3 null null


it means that the first columns with null data should be replaced with the last columns with data for that particular primary key value

Regards
Naina
AnswerRe: Problem in joining 2 tables Pin
Vimalsoft(Pty) Ltd15-Jul-09 23:40
professionalVimalsoft(Pty) Ltd15-Jul-09 23:40 
AnswerRe: Problem in joining 2 tables Pin
ScottM115-Jul-09 23:42
ScottM115-Jul-09 23:42 
QuestionConverted sql Query to Oracle Pin
sandhya1415-Jul-09 18:50
sandhya1415-Jul-09 18:50 
AnswerRe: Converted sql Query to Oracle Pin
Vimalsoft(Pty) Ltd15-Jul-09 20:53
professionalVimalsoft(Pty) Ltd15-Jul-09 20:53 
GeneralRe: Converted sql Query to Oracle Pin
sandhya1415-Jul-09 21:00
sandhya1415-Jul-09 21:00 
GeneralRe: Converted sql Query to Oracle Pin
Vimalsoft(Pty) Ltd15-Jul-09 21:01
professionalVimalsoft(Pty) Ltd15-Jul-09 21:01 
GeneralRe: Converted sql Query to Oracle Pin
sandhya1415-Jul-09 21:07
sandhya1415-Jul-09 21:07 
GeneralRe: Converted sql Query to Oracle Pin
Vimalsoft(Pty) Ltd15-Jul-09 21:15
professionalVimalsoft(Pty) Ltd15-Jul-09 21:15 
GeneralRe: Converted sql Query to Oracle Pin
Vimalsoft(Pty) Ltd15-Jul-09 21:24
professionalVimalsoft(Pty) Ltd15-Jul-09 21:24 
GeneralRe: Converted sql Query to Oracle Pin
sandhya1415-Jul-09 21:27
sandhya1415-Jul-09 21:27 
GeneralRe: Converted sql Query to Oracle Pin
Vimalsoft(Pty) Ltd15-Jul-09 21:28
professionalVimalsoft(Pty) Ltd15-Jul-09 21:28 
GeneralRe: Converted sql Query to Oracle Pin
sandhya1415-Jul-09 21:32
sandhya1415-Jul-09 21:32 
GeneralRe: Converted sql Query to Oracle Pin
Vimalsoft(Pty) Ltd15-Jul-09 21:34
professionalVimalsoft(Pty) Ltd15-Jul-09 21:34 
GeneralRe: Converted sql Query to Oracle Pin
sandhya1415-Jul-09 21:39
sandhya1415-Jul-09 21:39 
GeneralRe: Converted sql Query to Oracle Pin
Vimalsoft(Pty) Ltd15-Jul-09 21:47
professionalVimalsoft(Pty) Ltd15-Jul-09 21:47 
GeneralRe: Converted sql Query to Oracle Pin
sandhya1415-Jul-09 21:54
sandhya1415-Jul-09 21:54 
GeneralRe: Converted sql Query to Oracle Pin
Vimalsoft(Pty) Ltd15-Jul-09 21:59
professionalVimalsoft(Pty) Ltd15-Jul-09 21:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.