Click here to Skip to main content
16,016,580 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL SERVER 2005 INSTALLATION Pin
Member 465028714-Feb-09 8:00
Member 465028714-Feb-09 8:00 
GeneralRe: SQL SERVER 2005 INSTALLATION Pin
Wendelius14-Feb-09 9:12
mentorWendelius14-Feb-09 9:12 
Questioncan't find AdventureWorks.dbml Pin
TerRO_GirL14-Feb-09 1:25
TerRO_GirL14-Feb-09 1:25 
AnswerRe: can't find AdventureWorks.dbml Pin
Wendelius14-Feb-09 1:36
mentorWendelius14-Feb-09 1:36 
GeneralRe: can't find AdventureWorks.dbml Pin
TerRO_GirL14-Feb-09 2:08
TerRO_GirL14-Feb-09 2:08 
GeneralRe: can't find AdventureWorks.dbml Pin
Wendelius14-Feb-09 2:15
mentorWendelius14-Feb-09 2:15 
QuestionForeign Key relation is necessary for the database? Pin
vnsraj13-Feb-09 19:50
vnsraj13-Feb-09 19:50 
AnswerRe: Foreign Key relation is necessary for the database? Pin
Wendelius13-Feb-09 20:46
mentorWendelius13-Feb-09 20:46 
vnsraj wrote:
There is necessary to create foreign key relationship between tables when we create database


If you ask if it is necessary, it isn't. An application can be built without using foreign keys. However I would recommend to use them since correctly used, they make the life a whole lot easier.

vnsraj wrote:
I create a database and define references between the tables but could not define any physical relation between tables


The relation is not quite physical, but logical between two tables. In order ro use foreign key you must have primary key or unique key on master table and then you can define foreign key on the detail table. See examples A and B in CREATE TABLE[^]

The need to optimize rises from a bad design.My articles[^]

QuestionSQL Express poor performance... Pin
Jun Du13-Feb-09 3:41
Jun Du13-Feb-09 3:41 
AnswerHardware power savings Pin
David Mujica13-Feb-09 4:01
David Mujica13-Feb-09 4:01 
GeneralRe: Hardware power savings Pin
Jun Du13-Feb-09 4:04
Jun Du13-Feb-09 4:04 
AnswerRe: SQL Express poor performance... Pin
Wendelius13-Feb-09 4:04
mentorWendelius13-Feb-09 4:04 
GeneralRe: SQL Express poor performance... Pin
Luc Pattyn13-Feb-09 4:51
sitebuilderLuc Pattyn13-Feb-09 4:51 
AnswerRe: SQL Express poor performance... Pin
Ennis Ray Lynch, Jr.13-Feb-09 5:44
Ennis Ray Lynch, Jr.13-Feb-09 5:44 
AnswerRe: SQL Express poor performance... Pin
Eddy Vluggen13-Feb-09 22:46
professionalEddy Vluggen13-Feb-09 22:46 
QuestionMS Sql Sever 2005 Calculated Field Pin
jonhbt13-Feb-09 2:07
jonhbt13-Feb-09 2:07 
AnswerRe: MS Sql Sever 2005 Calculated Field Pin
Jay Royall13-Feb-09 2:22
Jay Royall13-Feb-09 2:22 
QuestionCompare date? Pin
Karthick_gc13-Feb-09 0:24
Karthick_gc13-Feb-09 0:24 
AnswerRe: Compare date? Pin
Rupesh Kumar Swami13-Feb-09 0:32
Rupesh Kumar Swami13-Feb-09 0:32 
GeneralRe: Compare date? Pin
Karthick_gc13-Feb-09 0:35
Karthick_gc13-Feb-09 0:35 
GeneralRe: Compare date? Pin
Rupesh Kumar Swami13-Feb-09 0:37
Rupesh Kumar Swami13-Feb-09 0:37 
GeneralRe: Compare date? Pin
PIEBALDconsult13-Feb-09 4:07
mvePIEBALDconsult13-Feb-09 4:07 
AnswerRe: Compare date? Pin
PIEBALDconsult13-Feb-09 4:17
mvePIEBALDconsult13-Feb-09 4:17 
JokeRe: Compare date? Pin
Wendelius13-Feb-09 4:30
mentorWendelius13-Feb-09 4:30 
GeneralRe: Compare date? Pin
PIEBALDconsult13-Feb-09 17:09
mvePIEBALDconsult13-Feb-09 17:09 

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.