Click here to Skip to main content
15,895,283 members
Home / Discussions / Database
   

Database

 
AnswerRe: Symantec Q&A File Conversion Pin
Mycroft Holmes12-Aug-12 18:18
professionalMycroft Holmes12-Aug-12 18:18 
GeneralRe: Symantec Q&A File Conversion Pin
snowman5313-Aug-12 6:36
snowman5313-Aug-12 6:36 
QuestionUsername/password protected database Pin
Kujtim Hyseni7-Aug-12 10:10
Kujtim Hyseni7-Aug-12 10:10 
AnswerRe: Username/password protected database Pin
Mycroft Holmes7-Aug-12 12:49
professionalMycroft Holmes7-Aug-12 12:49 
AnswerRe: Username/password protected database Pin
Michael Aimakhede9-Aug-12 19:42
Michael Aimakhede9-Aug-12 19:42 
GeneralRe: Username/password protected database Pin
Eddy Vluggen10-Aug-12 6:03
professionalEddy Vluggen10-Aug-12 6:03 
QuestionGet records having different data in 2 rows Pin
Vipul Mehta5-Aug-12 19:14
Vipul Mehta5-Aug-12 19:14 
AnswerRe: Get records having different data in 2 rows Pin
Vipul Mehta5-Aug-12 21:03
Vipul Mehta5-Aug-12 21:03 
Got this resolved

SQL
Create Table T1 (Col1 int, Col2 varchar(50))
Insert into T1 Select 1001,'WA'
Insert into T1 Select 1001,'CA'
Insert into T1 Select 1002,'WA'
Insert into T1 Select 1001,'WA'
Select Col1 From
(
    Select *,ROW_NUMBER()Over(partition by Col1 Order by Col1) RN
    From (Select Col1,Col2 From T1
            Group by Col1,Col2)T1
)A Where RN>1

Regards,
Vipul Mehta

AnswerRe: Get records having different data in 2 rows Pin
JammoD876-Aug-12 0:40
JammoD876-Aug-12 0:40 
GeneralRe: Get records having different data in 2 rows Pin
Bernhard Hiller6-Aug-12 21:56
Bernhard Hiller6-Aug-12 21:56 
GeneralRe: Get records having different data in 2 rows Pin
JammoD876-Aug-12 22:18
JammoD876-Aug-12 22:18 
AnswerRe: Get records having different data in 2 rows Pin
Arun Vasu6-Aug-12 3:29
Arun Vasu6-Aug-12 3:29 
GeneralRe: Get records having different data in 2 rows PinPopular
Mycroft Holmes6-Aug-12 12:42
professionalMycroft Holmes6-Aug-12 12:42 
GeneralRe: Get records having different data in 2 rows Pin
Bernhard Hiller6-Aug-12 21:58
Bernhard Hiller6-Aug-12 21:58 
GeneralRe: Get records having different data in 2 rows Pin
Mycroft Holmes6-Aug-12 23:39
professionalMycroft Holmes6-Aug-12 23:39 
GeneralRe: Get records having different data in 2 rows Pin
Simon_Whale6-Aug-12 22:21
Simon_Whale6-Aug-12 22:21 
AnswerRe: Get records having different data in 2 rows Pin
Bernhard Hiller6-Aug-12 21:45
Bernhard Hiller6-Aug-12 21:45 
AnswerRe: Get records having different data in 2 rows Pin
Niju114-Aug-12 1:15
Niju114-Aug-12 1:15 
AnswerRe: Get records having different data in 2 rows Pin
Karthik J, Coimbatore29-Aug-12 0:02
Karthik J, Coimbatore29-Aug-12 0:02 
GeneralInsert Function Inserts Only Parameternames Pin
ASPnoob3-Aug-12 10:15
ASPnoob3-Aug-12 10:15 
GeneralRe: Insert Function Inserts Only Parameternames Pin
R. Giskard Reventlov3-Aug-12 10:23
R. Giskard Reventlov3-Aug-12 10:23 
GeneralRe: Insert Function Inserts Only Parameternames Pin
ASPnoob3-Aug-12 10:49
ASPnoob3-Aug-12 10:49 
GeneralRe: Insert Function Inserts Only Parameternames Pin
R. Giskard Reventlov3-Aug-12 12:22
R. Giskard Reventlov3-Aug-12 12:22 
GeneralRe: Insert Function Inserts Only Parameternames Pin
Eddy Vluggen3-Aug-12 22:44
professionalEddy Vluggen3-Aug-12 22:44 
GeneralRe: Insert Function Inserts Only Parameternames Pin
PIEBALDconsult3-Aug-12 11:09
mvePIEBALDconsult3-Aug-12 11:09 

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.