Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
Need help in designing a database table stucture
Old 04-28-2006, 06:49 AM Need help in designing a database table stucture
Junior Talker

Posts: 2
Trades: 0
Hi all,
Help me to build a table structure having 3 tables. Let me explain.

The stream , Audio, Video tables are present. Stream table has the following properties:

Streamid, Stream name,Location, Program_Count

Audio table properties:

Audio PID,PCR PID,AUDIO TYPE, SAMPLING RATE,LOCATION

and Video table has the foll properties:

Video pid, pcr pid,resolution ,chroma format, Aspect ratio,framerate,mux. bitrate and Audio type.

Primary key is Steam id. Now how to link all the 3 tables.

Plz help.
ramki067 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-02-2006, 02:36 PM Re: Need help in designing a database table stucture
Ultra Talker

Posts: 264
Location: UK
Trades: 3
I dont really understand what you are looking for. can you explain a bit clearer
__________________
UKTV Index

Please login or register to view this content. Registration is FREE

Comprehensive resource for UK Television
uktvindex is offline
Reply With Quote
View Public Profile
 
Old 05-03-2006, 07:35 AM Re: Need help in designing a database table stucture
Experienced Talker

Posts: 33
Trades: 1
do you mean linking them to make your query?
kashem is offline
Reply With Quote
View Public Profile
 
Old 05-03-2006, 05:53 PM Re: Need help in designing a database table stucture
Super Talker

Posts: 129
Trades: 0
Here's a simple database based upon the fields you supplied. of course the field types may need altering and I've taken liberties in assuming that Stream is the parent of Audio that is the parent of Video. if none of these terms make any sense you aren't ready to mess with relational databases.

Cheers, Lol
Attached Files
File Type: zip db1.zip (11.3 KB, 12 views)
Lol999 is offline
Reply With Quote
View Public Profile Visit Lol999's homepage!
 
Old 05-17-2006, 07:22 AM Re: Need help in designing a database table stucture
Novice Talker

Posts: 12
Trades: 0
Is your StreamID the super set of audio pid and video pid ?
if so, you are all set . You got the tables right.
if your question about creating foreign key constraints, you need to issue alter table commands on audio and video tables.
__________________
Govind Uppaluri

Please login or register to view this content. Registration is FREE
: Free, Open Source Software Resources
uppaluri is offline
Reply With Quote
View Public Profile
 
Old 05-17-2006, 11:27 AM Re: Need help in designing a database table stucture
Experienced Talker

Posts: 30
Trades: 0
You should have a primary key for each table. You may consider using the primary key for each table as the foreign key to link with other tables. In other words, you will have an additional "parent id" field for referring to the primary key of the tables you want to link with.
__________________

Please login or register to view this content. Registration is FREE
MyOpinion is offline
Reply With Quote
View Public Profile
 
Old 05-20-2006, 04:08 PM Re: Need help in designing a database table stucture
Novice Talker

Posts: 5
Trades: 0
i also need help
Twine is offline
Reply With Quote
View Public Profile
 
Old 05-20-2006, 04:09 PM Re: Need help in designing a database table stucture
Novice Talker

Posts: 5
Trades: 0
this stuff is hard ! =|
Twine is offline
Reply With Quote
View Public Profile
 
Old 05-20-2006, 10:09 PM Re: Need help in designing a database table stucture
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,898
Name: Keith Marshall
Location: Connecticut
Trades: 0
Quote:
Originally Posted by Twine
i also need help ...
...this stuff is hard ! =|
Hi Twine - Don't feel bad, there are tons of ppl hear with good knowledge and resource who would be happy to help you out in any way they can. If you're stumped on a particular project or idea, feel free to post a question!

- It's a community here, and we're all happy to help
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 05-21-2006, 11:07 AM Re: Need help in designing a database table stucture
Super Talker

Posts: 129
Trades: 0
Twine, post your db problem and perhaps we can help. I'll be honest my db forte is Access and relational layouts in general so if that's what you need perhaps I can be of help.

Cheers, Lol
__________________

Please login or register to view this content. Registration is FREE
- Street Photography
Lol999 is offline
Reply With Quote
View Public Profile Visit Lol999's homepage!
 
Reply     « Reply to Need help in designing a database table stucture
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.55052 seconds with 13 queries