Click here to Skip to main content
15,887,135 members
Home / Discussions / Database
   

Database

 
AnswerRe: can not connect to oracle database express Pin
thatraja19-Oct-13 1:42
professionalthatraja19-Oct-13 1:42 
QuestionSQL Select Statement ? Pin
mrfalk16-Oct-13 11:32
mrfalk16-Oct-13 11:32 
AnswerRe: SQL Select Statement ? Pin
Mycroft Holmes16-Oct-13 12:48
professionalMycroft Holmes16-Oct-13 12:48 
GeneralRe: SQL Select Statement ? Pin
mrfalk16-Oct-13 13:13
mrfalk16-Oct-13 13:13 
GeneralRe: SQL Select Statement ? Pin
Kornfeld Eliyahu Peter16-Oct-13 20:06
professionalKornfeld Eliyahu Peter16-Oct-13 20:06 
GeneralRe: SQL Select Statement ? Pin
Mycroft Holmes16-Oct-13 22:01
professionalMycroft Holmes16-Oct-13 22:01 
GeneralRe: SQL Select Statement ? Pin
PIEBALDconsult18-Oct-13 13:26
mvePIEBALDconsult18-Oct-13 13:26 
AnswerRe: SQL Select Statement ? Pin
Kornfeld Eliyahu Peter16-Oct-13 20:02
professionalKornfeld Eliyahu Peter16-Oct-13 20:02 
Quote:
The description values are not in a table


SQL is designed to handle table data - so if you have a list of codes with descriptions, then put them into a table and join it to get the description.

For instance:

PERSON table
id	name	status
1	Peter	2
2	mrfalk	1
3	Larry	3


MOOD table
code	description
1	Happy
2	Sad
3	Mad


SQL
SELECT ID, NAME, DESCRIPTION
FROM PERSON
LEFT JOIN MOOD ON CODE = STATUS

I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).

QuestionNeed help in this.. Pin
codestar00710-Oct-13 21:46
professionalcodestar00710-Oct-13 21:46 
AnswerRe: Need help in this.. Pin
Eddy Vluggen10-Oct-13 22:33
professionalEddy Vluggen10-Oct-13 22:33 
QuestionCopy over a single table in sql server 2008 Pin
vkEE10-Oct-13 3:00
vkEE10-Oct-13 3:00 
AnswerRe: Copy over a single table in sql server 2008 Pin
Corporal Agarn10-Oct-13 3:13
professionalCorporal Agarn10-Oct-13 3:13 
GeneralRe: Copy over a single table in sql server 2008 Pin
vkEE10-Oct-13 3:19
vkEE10-Oct-13 3:19 
AnswerRe: Copy over a single table in sql server 2008 Pin
Richard MacCutchan10-Oct-13 3:36
mveRichard MacCutchan10-Oct-13 3:36 
GeneralRe: Copy over a single table in sql server 2008 Pin
vkEE10-Oct-13 3:44
vkEE10-Oct-13 3:44 
GeneralRe: Copy over a single table in sql server 2008 Pin
Richard MacCutchan10-Oct-13 4:11
mveRichard MacCutchan10-Oct-13 4:11 
AnswerRe: Copy over a single table in sql server 2008 Pin
Eddy Vluggen10-Oct-13 5:17
professionalEddy Vluggen10-Oct-13 5:17 
GeneralRe: Copy over a single table in sql server 2008 Pin
vkEE10-Oct-13 5:38
vkEE10-Oct-13 5:38 
GeneralRe: Copy over a single table in sql server 2008 Pin
Richard Deeming10-Oct-13 6:21
mveRichard Deeming10-Oct-13 6:21 
GeneralRe: Copy over a single table in sql server 2008 Pin
Eddy Vluggen10-Oct-13 8:41
professionalEddy Vluggen10-Oct-13 8:41 
AnswerRe: Copy over a single table in sql server 2008 Pin
Simon_Whale10-Oct-13 5:45
Simon_Whale10-Oct-13 5:45 
AnswerRe: Copy over a single table in sql server 2008 Pin
RedDk11-Oct-13 10:49
RedDk11-Oct-13 10:49 
AnswerRe: Copy over a single table in sql server 2008 Pin
coded00717-Oct-13 21:39
professionalcoded00717-Oct-13 21:39 
AnswerRe: Copy over a single table in sql server 2008 Pin
rashin ghodratzade18-Oct-13 18:55
rashin ghodratzade18-Oct-13 18:55 
Questioninsert rows into single table from two table which has different columns Pin
abu.bdt8-Oct-13 23:00
abu.bdt8-Oct-13 23:00 

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.