|
-
Aug 21st, 2013, 10:12 AM
#3
Thread Starter
Hyperactive Member
Re: Column that counts occurrences of FK in another table
OK, thanks.
The reason i was asking is that I have some code that runs a query on the Program table to get the ID and ProgramName. With the setup as you suggest (and what I currently have) another query is needed, of the ProgramStep table to get the number of steps.
I thought if there was a column with this info already in a column in the Program table it would negate the need for a second query...
Last edited by wolf99; Aug 21st, 2013 at 10:22 AM.
Thanks 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|