Click here to Skip to main content
15,889,879 members
Home / Discussions / Database
   

Database

 
AnswerRe: can a trigger have parameters Pin
vankireddy satish25-Nov-11 2:36
vankireddy satish25-Nov-11 2:36 
QuestionSQL Connection Error Pin
webpeon8020-Nov-11 13:56
webpeon8020-Nov-11 13:56 
AnswerRe: SQL Connection Error Pin
webpeon8020-Nov-11 14:53
webpeon8020-Nov-11 14:53 
AnswerRe: SQL Connection Error Pin
thatraja23-Nov-11 20:05
professionalthatraja23-Nov-11 20:05 
Questionhow to make self backup to sql-server-2008 ? Pin
Gali197820-Nov-11 7:57
Gali197820-Nov-11 7:57 
AnswerRe: how to make self backup to sql-server-2008 ? Pin
Mycroft Holmes20-Nov-11 12:09
professionalMycroft Holmes20-Nov-11 12:09 
AnswerRe: how to make self backup to sql-server-2008 ? Pin
Corporal Agarn21-Nov-11 9:23
professionalCorporal Agarn21-Nov-11 9:23 
QuestionShould every table have Primary key ? Pin
yousefshokati20-Nov-11 0:48
yousefshokati20-Nov-11 0:48 
Hi I have a group of tables that have some relationship with each other .

HardwareType( HardwareTypeID (pk) , Name )

Hardware (HardwareID , Model , ...,HardwareTypeID (FK))

Properties(PropertyID (PK) , Name , HardwareTypeID)

Values( ValueID (PK) , ValueTitle , PropertyID (FK))

Hardware-Value( PVID (PK identity), ValueID (FK), HardwareID(FK))

with these in my design i have a circuit in my design and this is very bad for my update and delete operations . so i want to know that should i have Primary keys and relationship always in my tables or i can avoid using primary key and relationships in my design under some circumstances like the
Hardware-Value( PVID (PK identity), ValueID (FK), HardwareID(FK))
can i omit the foreign key constraint in this design without loosing the normal form of my database ?
thanks
AnswerRe: Should every table have Primary key ? Pin
Jörgen Andersson20-Nov-11 3:48
professionalJörgen Andersson20-Nov-11 3:48 
AnswerRe: Should every table have Primary key ? Pin
Eddy Vluggen20-Nov-11 7:11
professionalEddy Vluggen20-Nov-11 7:11 
AnswerRe: Should every table have Primary key ? Pin
Mycroft Holmes20-Nov-11 12:06
professionalMycroft Holmes20-Nov-11 12:06 
AnswerRe: Should every table have Primary key ? Pin
SilimSayo22-Nov-11 10:46
SilimSayo22-Nov-11 10:46 
GeneralRe: Should every table have Primary key ? Pin
yousefshokati22-Nov-11 21:38
yousefshokati22-Nov-11 21:38 
GeneralRe: Should every table have Primary key ? Pin
SilimSayo23-Nov-11 9:35
SilimSayo23-Nov-11 9:35 
GeneralRe: Should every table have Primary key ? Pin
SilimSayo23-Nov-11 9:37
SilimSayo23-Nov-11 9:37 
GeneralRe: Should every table have Primary key ? Pin
jschell25-Nov-11 9:15
jschell25-Nov-11 9:15 
QuestionC# SQL Compact v3.5 Project - ComboBox is Empty Pin
namelkcip18-Nov-11 17:18
namelkcip18-Nov-11 17:18 
QuestionSQL TABLE JOIN Pin
wonder-FOOL18-Nov-11 9:34
wonder-FOOL18-Nov-11 9:34 
AnswerRe: SQL TABLE JOIN Pin
loyal ginger18-Nov-11 9:37
loyal ginger18-Nov-11 9:37 
GeneralRe: SQL TABLE JOIN Pin
wonder-FOOL18-Nov-11 9:39
wonder-FOOL18-Nov-11 9:39 
AnswerRe: SQL TABLE JOIN Pin
wonder-FOOL18-Nov-11 11:00
wonder-FOOL18-Nov-11 11:00 
GeneralRe: SQL TABLE JOIN Pin
phome25-Nov-11 23:33
phome25-Nov-11 23:33 
AnswerRe: SQL TABLE JOIN Pin
Blue_Boy19-Nov-11 6:07
Blue_Boy19-Nov-11 6:07 
GeneralRe: SQL TABLE JOIN Pin
loyal ginger19-Nov-11 10:11
loyal ginger19-Nov-11 10:11 
GeneralRe: SQL TABLE JOIN Pin
SilimSayo19-Nov-11 11:24
SilimSayo19-Nov-11 11:24 

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.