If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > Joins in user tables

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-10-11, 01:30
hemant_patel12 hemant_patel12 is offline
Registered User
 
Join Date: Dec 2006
Posts: 1
Joins in user tables

Hi All,

I need your help.

How can i find the joins between two tables using sybase system tables.

For Example :
I have Table A ( a_name , a_id , a_last )
Table B ( a_dep , a_depid , a_id )

Now i want to write the query that will find the Join between Table A and B

i.e. a.a_id = b.a_id ( i want to get this using query )


Please let me know how can i write the query to achieve the above.


Thanks you all in Advance!!!!

Thanks,
Hemant
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On