Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Simple Query

Author  Topic 

hydtohou
Starting Member

24 Posts

Posted - 2005-10-02 : 18:38:39
I have a table like

create table sample (Column1 , Column2 int)

I want to select say 3 or 4 Column1's for each Column2 with out using a cursor.

Can u help

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-10-03 : 00:24:30
Refer point 2 here
http://weblogs.sqlteam.com/mladenp/archive/2005/08/01/7421.aspx


Madhivanan

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

- Advertisement -