CodeSmith Community
Your Code. Your Way. Faster!

AutoGenerate INNER JOIN SELECT Stored Procs For Foreign Keys

Latest post 06-13-2007 8:10 PM by khodges. 0 replies.
  • 06-13-2007 8:10 PM

    • khodges
    • Not Ranked
    • Joined on 06-14-2007
    • Posts 1
    • Points 5

    AutoGenerate INNER JOIN SELECT Stored Procs For Foreign Keys

    It would be great and make a whole lot of sense, to generate SELECT stored procs (in addition to those existing) which include the joins to foreign keys.  For example:

    • table A has a foreign key to table B. 
    • table A has a foreign key to table C. 
    • add a SELECT proc which contains an inner join between table A and B
    • add a SELECT proc which contains an inner join between table A and C
    • add a SELECT proc which contains an inner join between table A, B and C
    Filed under: , ,
    • Post Points: 5
Page 1 of 1 (1 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems