|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
for joins.. does sql need to know of the relationships..
Ok so if you need to to a join between two tables..
do you HAVE to define the relationships in SQL.. ? I also assume that you do that with the DIAGRAM section of entreprise manager? |
|
#2
|
||||
|
||||
|
Example of a JOIN statement.
Code:
SELECT A.*, B.* FROM Table1 A INNER JOIN Table2 As B On (A.FieldName = B.FieldName) Returns all fields and all records where Table1.FieldName's value equals Table2.FieldName's value. |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > for joins.. does sql need to know of the relationships.. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|