Click here to Skip to main content
15,915,093 members
Home / Discussions / Database
   

Database

 
GeneralSQL 2000: Index manager hangs while adding Index Pin
Chris Maunder3-Feb-05 11:15
cofounderChris Maunder3-Feb-05 11:15 
GeneralRe: SQL 2000: Index manager hangs while adding Index Pin
Mike Dimmick3-Feb-05 23:54
Mike Dimmick3-Feb-05 23:54 
GeneralRe: SQL 2000: Index manager hangs while adding Index Pin
Chris Maunder4-Feb-05 0:23
cofounderChris Maunder4-Feb-05 0:23 
GeneralRe: SQL 2000: Index manager hangs while adding Index Pin
Mike Dimmick4-Feb-05 5:53
Mike Dimmick4-Feb-05 5:53 
GeneralRe: SQL 2000: Index manager hangs while adding Index Pin
Chris Maunder4-Feb-05 17:02
cofounderChris Maunder4-Feb-05 17:02 
GeneralCreating a subset Pin
numbrel3-Feb-05 9:12
numbrel3-Feb-05 9:12 
GeneralRe: Creating a subset Pin
Just Greeky Creek3-Feb-05 21:45
Just Greeky Creek3-Feb-05 21:45 
GeneralINNER join question Pin
Imtiaz Murtaza3-Feb-05 1:36
Imtiaz Murtaza3-Feb-05 1:36 
Friends,
I have two tables A and B, the id is the primary key field of table A and is a foreign key of table B. There is one-to-many relation b/w the tables. It means that id can repeated in second table many times.

I am using inner join to join the tables on the basis on id. As such the result is that: for each id of table A, all matching id records of table B gets printed. So far, so simple and so good.

Now the problem is that in the result set, same id is repeated many times because there is one-to-many relationship b/w tables. What i want is that in result set each id should appear only once. How can i do so ???



Imtiaz
GeneralRe: INNER join question Pin
Colin Angus Mackay3-Feb-05 2:04
Colin Angus Mackay3-Feb-05 2:04 
GeneralRe: INNER join question Pin
Mike Dimmick4-Feb-05 0:12
Mike Dimmick4-Feb-05 0:12 
GeneralRe: INNER join question Pin
Colin Angus Mackay4-Feb-05 0:28
Colin Angus Mackay4-Feb-05 0:28 
GeneralRe: INNER join question Pin
Just Greeky Creek3-Feb-05 2:25
Just Greeky Creek3-Feb-05 2:25 
GeneralFirehose Mode Pin
Shady Aly3-Feb-05 1:05
Shady Aly3-Feb-05 1:05 
GeneralRe: Firehose Mode Pin
Colin Angus Mackay3-Feb-05 2:08
Colin Angus Mackay3-Feb-05 2:08 
GeneralautoNumber and Max+1 which is Best Pin
TariqMahmood2-Feb-05 18:52
TariqMahmood2-Feb-05 18:52 
GeneralRe: autoNumber and Max+1 which is Best Pin
Just Greeky Creek2-Feb-05 20:56
Just Greeky Creek2-Feb-05 20:56 
GeneralRe: autoNumber and Max+1 which is Best Pin
David Salter3-Feb-05 22:39
David Salter3-Feb-05 22:39 
GeneralConfused about Subqueries grammer. Pin
denniskang20042-Feb-05 16:34
denniskang20042-Feb-05 16:34 
GeneralRe: Confused about Subqueries grammer. Pin
Just Greeky Creek2-Feb-05 21:16
Just Greeky Creek2-Feb-05 21:16 
Generalpassing DataReader obj Pin
DFrag2-Feb-05 11:32
DFrag2-Feb-05 11:32 
GeneralRe: passing DataReader obj Pin
Yulianto.2-Feb-05 17:19
Yulianto.2-Feb-05 17:19 
GeneralRe: passing DataReader obj Pin
DFrag3-Feb-05 3:39
DFrag3-Feb-05 3:39 
Generalxml importing and exporting Pin
lornej2-Feb-05 10:30
lornej2-Feb-05 10:30 
GeneralGeneral network error Pin
Marix2-Feb-05 4:01
Marix2-Feb-05 4:01 
GeneralRe: General network error Pin
David Salter3-Feb-05 22:41
David Salter3-Feb-05 22:41 

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.