Click here to Skip to main content
15,888,579 members
Home / Discussions / Database
   

Database

 
QuestionGrant permissions to role on another role Pin
Danzy8329-Dec-11 13:27
Danzy8329-Dec-11 13:27 
AnswerRe: Grant permissions to role on another role Pin
coded00729-Dec-11 15:23
professionalcoded00729-Dec-11 15:23 
QuestionHow Can We Avoid Creatng Closed Pathes in our Design Pin
yousefshokati29-Dec-11 1:15
yousefshokati29-Dec-11 1:15 
AnswerRe: How Can We Avoid Creatng Closed Pathes in our Design Pin
Chris Meech29-Dec-11 7:04
Chris Meech29-Dec-11 7:04 
AnswerRe: How Can We Avoid Creatng Closed Pathes in our Design Pin
SilimSayo29-Dec-11 8:43
SilimSayo29-Dec-11 8:43 
AnswerRe: How Can We Avoid Creatng Closed Pathes in our Design Pin
Eddy Vluggen29-Dec-11 8:54
professionalEddy Vluggen29-Dec-11 8:54 
GeneralRe: How Can We Avoid Creatng Closed Pathes in our Design Pin
yousefshokati30-Dec-11 22:56
yousefshokati30-Dec-11 22:56 
AnswerRe: How Can We Avoid Creatng Closed Pathes in our Design Pin
Eddy Vluggen31-Dec-11 4:31
professionalEddy Vluggen31-Dec-11 4:31 
yousefshokati wrote:
Hi And tanks for your answer

You're welcome Smile | :)

yousefshokati wrote:
You say that When we design our database , we should design in a way that we do not have any closed path ?

Am I right?

I'm saying that you should normalize the design; that will eliminate all weird stuff from the design and give you something you can work with. I know that it's a bit of an investment in terms of time, but it repays itself rather quickly.

yousefshokati wrote:
We have MembersTable Which represents the members of teams and we have TeamsTable That represents the Team Entity Now We have to relations between these 2 . The First relation is "Plays For" which means that "Member Plays for team A for example " and the second is "Captain Of" which stands for "Members x is captain of team A" . Now if we update one of these FK s that are in tables for creating the relationships then we will get an error , won't be?

Yes, you will. Normalization would state that you don't need the second entity.

MembersTable
MemberId
MemberName
IsCaptain

Best wishes for the year to come Smile | :)
Bastard Programmer from Hell Suspicious | :suss:

QuestionSending Column Name From SP to C# App Pin
AmbiguousName28-Dec-11 1:04
AmbiguousName28-Dec-11 1:04 
AnswerRe: Sending Column Name From SP to C# App Pin
hypermellow28-Dec-11 2:03
professionalhypermellow28-Dec-11 2:03 
AnswerRe: Sending Column Name From SP to C# App Pin
AmbiguousName28-Dec-11 2:18
AmbiguousName28-Dec-11 2:18 
AnswerRe: Sending Column Name From SP to C# App Pin
Karthik Harve28-Dec-11 18:44
professionalKarthik Harve28-Dec-11 18:44 
AnswerAS Pin
Luc Pattyn28-Dec-11 23:41
sitebuilderLuc Pattyn28-Dec-11 23:41 
GeneralRe: AS PinPopular
SilimSayo29-Dec-11 4:44
SilimSayo29-Dec-11 4:44 
Questionhow to loop over results of a select statement ? Pin
yousefshokati27-Dec-11 19:40
yousefshokati27-Dec-11 19:40 
AnswerRe: how to loop over results of a select statement ? Pin
gvprabu27-Dec-11 21:25
gvprabu27-Dec-11 21:25 
AnswerRe: how to loop over results of a select statement ? Pin
jschell29-Dec-11 14:39
jschell29-Dec-11 14:39 
Questionhow to loop over results of a select statement ? Pin
yousefshokati27-Dec-11 19:39
yousefshokati27-Dec-11 19:39 
AnswerRe: how to loop over results of a select statement ? Pin
Shameel27-Dec-11 19:42
professionalShameel27-Dec-11 19:42 
AnswerRe: how to loop over results of a select statement ? Pin
PIEBALDconsult28-Dec-11 2:33
mvePIEBALDconsult28-Dec-11 2:33 
QuestionMicrosoft SQL Server 2008 R2 (between) Pin
Framework .l.27-Dec-11 16:59
Framework .l.27-Dec-11 16:59 
AnswerRe: Microsoft SQL Server 2008 R2 (between) Pin
R. Giskard Reventlov27-Dec-11 17:17
R. Giskard Reventlov27-Dec-11 17:17 
QuestionRe: Microsoft SQL Server 2008 R2 (between) Pin
Framework .l.27-Dec-11 17:21
Framework .l.27-Dec-11 17:21 
AnswerRe: Microsoft SQL Server 2008 R2 (between) Pin
thatraja27-Dec-11 17:46
professionalthatraja27-Dec-11 17:46 
AnswerRe: Microsoft SQL Server 2008 R2 (between) Pin
Shameel27-Dec-11 17:59
professionalShameel27-Dec-11 17:59 

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.