Click here to Skip to main content
15,910,123 members
Home / Discussions / Database
   

Database

 
QuestionSelecting Recent row Pin
T.RATHA KRISHNAN30-Jul-10 1:41
T.RATHA KRISHNAN30-Jul-10 1:41 
AnswerRe: Selecting Recent row Pin
R. Giskard Reventlov30-Jul-10 1:43
R. Giskard Reventlov30-Jul-10 1:43 
GeneralRe: Selecting Recent row Pin
T.RATHA KRISHNAN30-Jul-10 1:52
T.RATHA KRISHNAN30-Jul-10 1:52 
GeneralRe: Selecting Recent row Pin
R. Giskard Reventlov30-Jul-10 1:55
R. Giskard Reventlov30-Jul-10 1:55 
AnswerRe: Selecting Recent row Pin
Chris Meech30-Jul-10 1:51
Chris Meech30-Jul-10 1:51 
AnswerRe: Selecting Recent row Pin
Roger Wright30-Jul-10 20:21
professionalRoger Wright30-Jul-10 20:21 
QuestionMaking with values of two rows, two entries in a new table. Pin
neus8330-Jul-10 1:17
neus8330-Jul-10 1:17 
AnswerRe: Making with values of two rows, two entries in a new table. Pin
Corporal Agarn30-Jul-10 6:09
professionalCorporal Agarn30-Jul-10 6:09 
Maybe something like?

INSERT INTO MACandDNSnew 
SELECT NAME, ETH0 AS ETH
FROM firsttable
WHERE ETH0 IS NOT NULL 
UNION 
SELECT NAME, ETH1 AS ETH 
FROM firsttable
WHERE ETH2 IS NOT NULL 

AnswerRe: Making with values of two rows, two entries in a new table. Pin
Jörgen Andersson30-Jul-10 6:11
professionalJörgen Andersson30-Jul-10 6:11 
GeneralRe: Making with values of two rows, two entries in a new table. Pin
neus832-Aug-10 5:56
neus832-Aug-10 5:56 
QuestionVariable value in SQL Query Pin
T.RATHA KRISHNAN29-Jul-10 23:51
T.RATHA KRISHNAN29-Jul-10 23:51 
AnswerRe: Variable value in SQL Query Pin
J4amieC30-Jul-10 0:04
J4amieC30-Jul-10 0:04 
GeneralRe: Variable value in SQL Query Pin
T.RATHA KRISHNAN30-Jul-10 0:25
T.RATHA KRISHNAN30-Jul-10 0:25 
AnswerRe: Variable value in SQL Query Pin
R. Giskard Reventlov30-Jul-10 0:45
R. Giskard Reventlov30-Jul-10 0:45 
GeneralRe: Variable value in SQL Query Pin
T.RATHA KRISHNAN30-Jul-10 0:54
T.RATHA KRISHNAN30-Jul-10 0:54 
GeneralRe: Variable value in SQL Query Pin
R. Giskard Reventlov30-Jul-10 0:57
R. Giskard Reventlov30-Jul-10 0:57 
GeneralRe: Variable value in SQL Query [modified] Pin
T.RATHA KRISHNAN30-Jul-10 1:16
T.RATHA KRISHNAN30-Jul-10 1:16 
GeneralRe: Variable value in SQL Query Pin
R. Giskard Reventlov30-Jul-10 1:42
R. Giskard Reventlov30-Jul-10 1:42 
GeneralRe: Variable value in SQL Query Pin
J4amieC30-Jul-10 6:29
J4amieC30-Jul-10 6:29 
AnswerRe: Variable value in SQL Query Pin
PIEBALDconsult30-Jul-10 19:20
mvePIEBALDconsult30-Jul-10 19:20 
QuestionStored procedure not returning all the rows expected Pin
Steven J Jowett29-Jul-10 23:51
Steven J Jowett29-Jul-10 23:51 
Questionmany fields linked to one Pin
Jassim Rahma29-Jul-10 12:14
Jassim Rahma29-Jul-10 12:14 
AnswerRe: many fields linked to one Pin
Mycroft Holmes29-Jul-10 14:42
professionalMycroft Holmes29-Jul-10 14:42 
QuestionDerived Columns in where clause Pin
SatyaKeerthi1528-Jul-10 21:25
SatyaKeerthi1528-Jul-10 21:25 
AnswerRe: Derived Columns in where clause Pin
Blue_Boy28-Jul-10 21:48
Blue_Boy28-Jul-10 21:48 

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.