Click here to Skip to main content
15,912,977 members
Home / Discussions / Database
   

Database

 
GeneralRe: Import data from Xml to Sql in vs2003 Pin
<<Tash18>>7-Dec-09 1:15
<<Tash18>>7-Dec-09 1:15 
GeneralRe: Import data from Xml to Sql in vs2003 Pin
Mycroft Holmes7-Dec-09 13:16
professionalMycroft Holmes7-Dec-09 13:16 
Question(Reporting Services) windows services Pin
Jassim Rahma5-Dec-09 20:59
Jassim Rahma5-Dec-09 20:59 
Questionunable to view Reporting services page Pin
Jassim Rahma5-Dec-09 20:59
Jassim Rahma5-Dec-09 20:59 
Questionhow to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
AJ Hoge5-Dec-09 2:43
AJ Hoge5-Dec-09 2:43 
AnswerRe: how to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
Shameel5-Dec-09 5:06
professionalShameel5-Dec-09 5:06 
GeneralRe: how to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
AJ Hoge5-Dec-09 21:10
AJ Hoge5-Dec-09 21:10 
AnswerRe: how to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
Blue_Boy5-Dec-09 8:35
Blue_Boy5-Dec-09 8:35 
Hi,I hope this will help you

SELECT 
(SELECT top 1 m2.Clmn1 FROM mytable m2 WHERE m2.Clmn2= m.Clmn2) Clmn1 ,--by this subquery you get first value of clmn1 column 
clmn2,clmn3,clmn7
FROM mytable m
GROUP BY m.clmn2,m.clmn3,m.clm7
HAVING 
COUNT (col2) > 0 AND
COUNT (col3) > 0 AND
COUNT (col7) > 0 



I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.

www.aktualiteti.com

GeneralRe: how to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
AJ Hoge5-Dec-09 21:31
AJ Hoge5-Dec-09 21:31 
GeneralRe: how to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
Blue_Boy6-Dec-09 0:41
Blue_Boy6-Dec-09 0:41 
QuestionSQLite3 program getting name of table Pin
bbranded4-Dec-09 8:00
bbranded4-Dec-09 8:00 
AnswerRe: SQLite3 program getting name of table Pin
loyal ginger4-Dec-09 10:55
loyal ginger4-Dec-09 10:55 
GeneralRe: SQLite3 program getting name of table Pin
bbranded7-Dec-09 4:35
bbranded7-Dec-09 4:35 
QuestionT-SQL Code to parse and address [modified] Pin
korrowna4-Dec-09 3:48
korrowna4-Dec-09 3:48 
AnswerRe: T-SQL Code to parse and address Pin
Niladri_Biswas6-Dec-09 17:47
Niladri_Biswas6-Dec-09 17:47 
QuestionCursor issue Pin
AndyInUK3-Dec-09 23:28
AndyInUK3-Dec-09 23:28 
AnswerRe: Cursor issue Pin
Ashfield4-Dec-09 1:20
Ashfield4-Dec-09 1:20 
GeneralRe: Cursor issue Pin
AndyInUK4-Dec-09 1:28
AndyInUK4-Dec-09 1:28 
GeneralRe: Cursor issue Pin
Ashfield4-Dec-09 2:16
Ashfield4-Dec-09 2:16 
AnswerRe: Cursor issue Pin
Bassam Saoud4-Dec-09 10:41
Bassam Saoud4-Dec-09 10:41 
GeneralRe: Cursor issue Pin
Shameel4-Dec-09 23:42
professionalShameel4-Dec-09 23:42 
AnswerRe: Cursor issue Pin
RyanEK6-Dec-09 13:18
RyanEK6-Dec-09 13:18 
AnswerRe: Cursor issue [modified] Pin
Niladri_Biswas7-Dec-09 21:59
Niladri_Biswas7-Dec-09 21:59 
QuestionPerformance tip on multiple selects to retrieve alot of BLOBS? Pin
Thomas ST3-Dec-09 22:28
Thomas ST3-Dec-09 22:28 
AnswerRe: Performance tip on multiple selects to retrieve alot of BLOBS? Pin
Ashfield4-Dec-09 1:27
Ashfield4-Dec-09 1:27 

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.