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

Database

 
AnswerRe: SQLDMO Application Deployment Issue Pin
Paul Brower2-Jun-06 9:27
Paul Brower2-Jun-06 9:27 
GeneralRe: SQLDMO Application Deployment Issue Pin
ThanosM2-Jun-06 13:06
ThanosM2-Jun-06 13:06 
QuestionHow to show a progressbar while loading Datatable ? Pin
Tommi0071-Jun-06 0:39
Tommi0071-Jun-06 0:39 
AnswerRe: How to show a progressbar while loading Datatable ? Pin
SeMartens1-Jun-06 5:18
SeMartens1-Jun-06 5:18 
GeneralRe: How to show a progressbar while loading Datatable ? Pin
Tommi0071-Jun-06 20:50
Tommi0071-Jun-06 20:50 
QuestionSQLXML 3.0 Pin
punam3031-May-06 19:50
punam3031-May-06 19:50 
Questionhow can i index the column ?? Pin
Mohammed Amine31-May-06 12:58
Mohammed Amine31-May-06 12:58 
AnswerRe: how can i index the column ?? Pin
Colin Angus Mackay31-May-06 23:38
Colin Angus Mackay31-May-06 23:38 
Mohammed Amine wrote:
because the default relashion gave me 1,n


n can represent 0, 1 or many. If you want to force a one-to-one relationship then you can put a second relationship in place 1-to-many going in the opposite direction. If you have two tables with a one-to-many and a many-to-one between them they end up forcing a one-to-one. (Actually, not quite - You can have a zero on one side, i.e. one-to-zero)

I'm curious. Why do you need a foreign key? Surely the primary key of of both will be the same?

one-to-one relationships can also be symptomatic of two tables that ought to be one table. Have you explored this possibility?


"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)

My: Website | Blog
Questionattach a database with code Pin
Mohammed Amine31-May-06 12:55
Mohammed Amine31-May-06 12:55 
AnswerRe: attach a database with code [modified] Pin
albCode31-May-06 23:32
albCode31-May-06 23:32 
AnswerRe: attach a database with code Pin
Eric Dahlvang1-Jun-06 2:56
Eric Dahlvang1-Jun-06 2:56 
GeneralRe: attach a database with code Pin
Mohammed Amine1-Jun-06 5:39
Mohammed Amine1-Jun-06 5:39 
GeneralRe: attach a database with code Pin
Eric Dahlvang1-Jun-06 7:07
Eric Dahlvang1-Jun-06 7:07 
GeneralRe: attach a database with code Pin
Mohammed Amine1-Jun-06 7:23
Mohammed Amine1-Jun-06 7:23 
AnswerRe: attach a database with code [modified] Pin
Eric Dahlvang1-Jun-06 7:55
Eric Dahlvang1-Jun-06 7:55 
GeneralRe: attach a database with code [modified] Pin
Mohammed Amine1-Jun-06 10:28
Mohammed Amine1-Jun-06 10:28 
AnswerRe: attach a database with code [modified] Pin
Eric Dahlvang1-Jun-06 11:13
Eric Dahlvang1-Jun-06 11:13 
QuestionCode/Decode Password Pin
MohamadJaber31-May-06 10:40
MohamadJaber31-May-06 10:40 
AnswerRe: Code/Decode Password Pin
r.stropek4-Jun-06 6:22
r.stropek4-Jun-06 6:22 
QuestionReporting Services with ODP.Net Pin
RoadieGS31-May-06 8:57
RoadieGS31-May-06 8:57 
QuestionADO - SELECT statment Pin
antonaras31-May-06 0:25
antonaras31-May-06 0:25 
AnswerRe: ADO - SELECT statment Pin
sathish s31-May-06 2:08
sathish s31-May-06 2:08 
AnswerRe: ADO - SELECT statment Pin
sathish s31-May-06 2:11
sathish s31-May-06 2:11 
QuestionBinding Radio Button to datasource Pin
mamathy30-May-06 19:45
mamathy30-May-06 19:45 
AnswerRe: Binding Radio Button to datasource Pin
Paddy Boyd31-May-06 0:18
Paddy Boyd31-May-06 0:18 

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.