Click here to Skip to main content
15,904,935 members
Home / Discussions / Database
   

Database

 
GeneralRe: Connection Timeout Pin
Mycroft Holmes17-Sep-11 22:05
professionalMycroft Holmes17-Sep-11 22:05 
GeneralRe: Connection Timeout Pin
DaveAuld17-Sep-11 22:11
professionalDaveAuld17-Sep-11 22:11 
GeneralRe: Connection Timeout Pin
jschell19-Sep-11 7:59
jschell19-Sep-11 7:59 
GeneralRe: Connection Timeout Pin
Mycroft Holmes19-Sep-11 12:51
professionalMycroft Holmes19-Sep-11 12:51 
GeneralRe: Connection Timeout Pin
jschell20-Sep-11 8:45
jschell20-Sep-11 8:45 
QuestionOracle Range Partitioning Pin
Paladin200014-Sep-11 5:28
Paladin200014-Sep-11 5:28 
QuestionSql Server Table Partitioning Pin
countmein13-Sep-11 4:38
countmein13-Sep-11 4:38 
AnswerRe: Sql Server Table Partitioning Pin
Blue_Boy13-Sep-11 5:59
Blue_Boy13-Sep-11 5:59 
GeneralRe: Sql Server Table Partitioning Pin
Eddy Vluggen13-Sep-11 6:51
professionalEddy Vluggen13-Sep-11 6:51 
AnswerRe: Sql Server Table Partitioning Pin
David Mujica13-Sep-11 6:12
David Mujica13-Sep-11 6:12 
GeneralRe: Sql Server Table Partitioning Pin
countmein15-Sep-11 7:23
countmein15-Sep-11 7:23 
AnswerRe: Sql Server Table Partitioning Pin
Eddy Vluggen13-Sep-11 6:52
professionalEddy Vluggen13-Sep-11 6:52 
GeneralRe: Sql Server Table Partitioning Pin
countmein15-Sep-11 7:23
countmein15-Sep-11 7:23 
QuestionRe: Sql Server Table Partitioning Pin
Jörgen Andersson13-Sep-11 9:15
professionalJörgen Andersson13-Sep-11 9:15 
AnswerRe: Sql Server Table Partitioning Pin
countmein15-Sep-11 7:22
countmein15-Sep-11 7:22 
GeneralRe: Sql Server Table Partitioning Pin
Jörgen Andersson15-Sep-11 8:46
professionalJörgen Andersson15-Sep-11 8:46 
QuestionHow To Write Database Backup Pin
black0712-Sep-11 20:05
black0712-Sep-11 20:05 
AnswerRe: How To Write Database Backup Pin
Pravin Patil, Mumbai12-Sep-11 21:05
Pravin Patil, Mumbai12-Sep-11 21:05 
GeneralRe: How To Write Database Backup Pin
Pradeep Shukla17-Sep-11 15:19
professionalPradeep Shukla17-Sep-11 15:19 
GeneralRe: How To Write Database Backup Pin
Pravin Patil, Mumbai23-Sep-11 7:15
Pravin Patil, Mumbai23-Sep-11 7:15 
QuestionCDC and views Pin
Gennady Oster12-Sep-11 1:57
Gennady Oster12-Sep-11 1:57 
QuestionThis should be simple Pin
Andy_L_J11-Sep-11 23:19
Andy_L_J11-Sep-11 23:19 
I have the following table structure:

Company:
Id (Int),
Name (VarChar)

Group:
Id (Int),
Name (VarChar)

Division:
Id (Int),
GroupId (Int) FK,
Name

Company_Group:
CompanyId (Int) FK,
GroupId (Int) FK

Team:
Id (Int),
DivisionId (Int) FK,
Name (VarChar)

I am trying to retrieve the Team Id and Name according to the CompanyId and DivisionId supplied.
Note that it is entirely possible that a team may belong to a division in multiple Company's.

I have tried various things but seem to get always get unwanted Teams in the results.
I don't speak Idiot - please talk slowly and clearly

'This space for rent'

Driven to the arms of Heineken by the wife

AnswerRe: This should be simple Pin
Blue_Boy11-Sep-11 23:44
Blue_Boy11-Sep-11 23:44 
GeneralRe: This should be simple Pin
Andy_L_J12-Sep-11 0:37
Andy_L_J12-Sep-11 0:37 
GeneralRe: This should be simple Pin
Blue_Boy12-Sep-11 0:48
Blue_Boy12-Sep-11 0:48 

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.