SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 same date row display multiple row data
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

devpurohit
Starting Member

India
4 Posts

Posted - 04/17/2012 :  12:53:05  Show Profile  Reply with Quote
This time i got out put like this
Example:
date name Address
----------------------------
17-04-2012 test lkkk
-----------------------------
17-04-2012 abc oooi
-------------------------------
18-04-2012 xyz ftjjk
--------------------------------


i want out put like this data as date display at once for same date and their data with that

date name Address
-----------------------------------
17-04-2012 test lkkk
abc oooi
jax lkk
---------------------------------
18-04-2012 xyx gfgfg
jkj jkhk
-----------------------------------
19-04-2012 cdfs hkj

Edited by - devpurohit on 04/17/2012 13:01:58

visakh16
Very Important crosS Applying yaK Herder

India
52249 Posts

Posted - 04/17/2012 :  13:51:28  Show Profile  Reply with Quote
i hope this is for reporting need. If yes, this option is available in most of the reporting tools. Its called suppress/remove duplicates and is available within cell properties in SSRS

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

devpurohit
Starting Member

India
4 Posts

Posted - 04/18/2012 :  05:17:41  Show Profile  Reply with Quote
Not for reporting but multiple same date should appear once and that row might have multiple row which have same date
Go to Top of Page

madhivanan
Premature Yak Congratulator

India
22713 Posts

Posted - 04/18/2012 :  05:48:00  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
Where do you want to show data? This is known as Suppress if duplicated that can be easily done in front end

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

devpurohit
Starting Member

India
4 Posts

Posted - 04/18/2012 :  13:02:39  Show Profile  Reply with Quote
ok it's done now with front end
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52249 Posts

Posted - 04/19/2012 :  00:47:21  Show Profile  Reply with Quote
good...thats the right approach

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000