Click here to Skip to main content
15,905,028 members
Home / Discussions / Database
   

Database

 
AnswerRe: myisam or innodb? how would you decide? Pin
Richard MacCutchan8-Jul-13 21:34
mveRichard MacCutchan8-Jul-13 21:34 
QuestionSql injection Attack Pin
Aatif Ali from Bangalore5-Jul-13 3:32
professionalAatif Ali from Bangalore5-Jul-13 3:32 
AnswerRe: Sql injection Attack Pin
Eddy Vluggen5-Jul-13 3:38
professionalEddy Vluggen5-Jul-13 3:38 
GeneralRe: Sql injection Attack Pin
Aatif Ali from Bangalore5-Jul-13 21:16
professionalAatif Ali from Bangalore5-Jul-13 21:16 
GeneralRe: Sql injection Attack Pin
Eddy Vluggen6-Jul-13 11:37
professionalEddy Vluggen6-Jul-13 11:37 
AnswerRe: Sql injection Attack Pin
Richard Deeming5-Jul-13 3:41
mveRichard Deeming5-Jul-13 3:41 
GeneralRe: Sql injection Attack Pin
Aatif Ali from Bangalore5-Jul-13 21:15
professionalAatif Ali from Bangalore5-Jul-13 21:15 
GeneralRe: Sql injection Attack Pin
GuyThiebaut7-Jul-13 23:34
professionalGuyThiebaut7-Jul-13 23:34 
GeneralRe: Sql injection Attack Pin
Richard Deeming8-Jul-13 1:46
mveRichard Deeming8-Jul-13 1:46 
QuestionCalculation For Time Attendance System Pin
caulsonchua3-Jul-13 22:13
caulsonchua3-Jul-13 22:13 
AnswerRe: Calculation For Time Attendance System Pin
Mycroft Holmes4-Jul-13 23:26
professionalMycroft Holmes4-Jul-13 23:26 
AnswerRe: Calculation For Time Attendance System Pin
Amol_B7-Jul-13 20:58
professionalAmol_B7-Jul-13 20:58 
GeneralRe: Calculation For Time Attendance System Pin
caulsonchua7-Jul-13 21:13
caulsonchua7-Jul-13 21:13 
Questionsqlserver 2005 connection problem Pin
hamadam212-Jul-13 23:13
hamadam212-Jul-13 23:13 
AnswerRe: sqlserver 2005 connection problem Pin
Eddy Vluggen3-Jul-13 0:30
professionalEddy Vluggen3-Jul-13 0:30 
QuestionSQL Server 2012 - forming relationship between tables Pin
RickBStewart2-Jul-13 10:53
RickBStewart2-Jul-13 10:53 
This is my first database project and I am having difficulties forming the correct relationship between two tables. The database is storing inventory records for approximately 20 buildings, and the room numbers in many of the building are numbered the same.

One table has columns like Asset Number, PO Number, Equipment Type, Manufacturer, Model Number, Serial Number. The PK is the Asset Number.

The second table has Building Name, Room Number, Room Type, Staff Name. The key for this table is a combination of Building Name and Room Number. I need both to uniquely identify the location.

My question is, how do I go about creating the relationship between the tables. The relationship would be described as each Asset having a unique Building/Room Number, but each Building/Room Number can have many Assets.

When I try to create the one-to-many relationship it tells me "Both sides of a relationship must have the same number of columns"
AnswerRe: SQL Server 2012 - forming relationship between tables Pin
Richard Deeming2-Jul-13 11:06
mveRichard Deeming2-Jul-13 11:06 
GeneralRe: SQL Server 2012 - forming relationship between tables Pin
RickBStewart2-Jul-13 11:47
RickBStewart2-Jul-13 11:47 
GeneralRe: SQL Server 2012 - forming relationship between tables Pin
Mycroft Holmes2-Jul-13 13:01
professionalMycroft Holmes2-Jul-13 13:01 
GeneralRe: SQL Server 2012 - forming relationship between tables Pin
Ralph D. Wilson II10-Jul-13 6:50
Ralph D. Wilson II10-Jul-13 6:50 
GeneralRe: SQL Server 2012 - forming relationship between tables Pin
RickBStewart10-Jul-13 9:29
RickBStewart10-Jul-13 9:29 
QuestionDefault Button is not working using different (skinid) Pin
rubonkumar2-Jul-13 0:02
rubonkumar2-Jul-13 0:02 
AnswerRe: Default Button is not working using different (skinid) Pin
Eddy Vluggen2-Jul-13 0:31
professionalEddy Vluggen2-Jul-13 0:31 
GeneralRe: Default Button is not working using different (skinid) Pin
Mycroft Holmes2-Jul-13 1:23
professionalMycroft Holmes2-Jul-13 1:23 
GeneralRe: Default Button is not working using different (skinid) Pin
Shameel8-Jul-13 19:29
professionalShameel8-Jul-13 19:29 

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.