Click here to Skip to main content
15,921,577 members
Home / Discussions / Database
   

Database

 
Questionconvert varchar to bigint Pin
Jassim Rahma24-Nov-10 3:31
Jassim Rahma24-Nov-10 3:31 
AnswerRe: convert varchar to bigint Pin
Pete O'Hanlon24-Nov-10 3:47
mvePete O'Hanlon24-Nov-10 3:47 
GeneralRe: convert varchar to bigint Pin
PIEBALDconsult24-Nov-10 4:12
mvePIEBALDconsult24-Nov-10 4:12 
QuestionFurther Help with Select Required Please [modified] Pin
djhankypark23-Nov-10 7:42
djhankypark23-Nov-10 7:42 
AnswerRe: Further Help with Select Required Please Pin
Luc Pattyn23-Nov-10 7:51
sitebuilderLuc Pattyn23-Nov-10 7:51 
GeneralRe: Further Help with Select Required Please Pin
djhankypark23-Nov-10 8:05
djhankypark23-Nov-10 8:05 
GeneralRe: Further Help with Select Required Please Pin
Luc Pattyn23-Nov-10 8:08
sitebuilderLuc Pattyn23-Nov-10 8:08 
GeneralRe: Further Help with Select Required Please Pin
djhankypark23-Nov-10 8:16
djhankypark23-Nov-10 8:16 
Hi again Luc Pattyn

When you say an example would help?

I basically want to include another table in the query so as to break the list to fewer comments being shown your are correct.

As a user is logged they have buddies "friends" and that is represented by their login_id in the buddies table, so the account holders login_id is held in the Author_id field of the buddies table. If the user befriends someone else that has an account that persons login_id is held in the buddy_id field of the buddies table.

Everytime someone adds a buddy "friend" a new record is added to the table again holding the Author_id and Buddy_id.

When a comment is made it puts the Authors id and the buddies id in the comments table, and of cause the comment that has been made.

So the query you helped me with previously now has to only show comments to an Author where th person is in their own Buddies list. a bit like myspace really where you only see comments that have been made by your friends and not every man and his dog.

I hope i am putting this across in an understandable way lol

Kind Regards

Ray
GeneralRe: Further Help with Select Required Please Pin
Luc Pattyn23-Nov-10 8:43
sitebuilderLuc Pattyn23-Nov-10 8:43 
GeneralRe: Further Help with Select Required Please Pin
Corporal Agarn23-Nov-10 9:49
professionalCorporal Agarn23-Nov-10 9:49 
GeneralRe: Further Help with Select Required Please Pin
Luc Pattyn23-Nov-10 10:16
sitebuilderLuc Pattyn23-Nov-10 10:16 
GeneralRe: Further Help with Select Required Please Pin
djhankypark23-Nov-10 11:04
djhankypark23-Nov-10 11:04 
AnswerRe: Further Help with Select Required Please Pin
Luc Pattyn23-Nov-10 11:29
sitebuilderLuc Pattyn23-Nov-10 11:29 
GeneralRe: Further Help with Select Required Please Pin
djhankypark23-Nov-10 12:13
djhankypark23-Nov-10 12:13 
GeneralRe: Further Help with Select Required Please Pin
Luc Pattyn23-Nov-10 12:32
sitebuilderLuc Pattyn23-Nov-10 12:32 
GeneralRe: Further Help with Select Required Please Pin
djhankypark23-Nov-10 13:01
djhankypark23-Nov-10 13:01 
GeneralRe: Further Help with Select Required Please [modified] Pin
Luc Pattyn23-Nov-10 13:16
sitebuilderLuc Pattyn23-Nov-10 13:16 
GeneralRe: Further Help with Select Required Please Pin
djhankypark23-Nov-10 13:33
djhankypark23-Nov-10 13:33 
GeneralRe: Further Help with Select Required Please Pin
Luc Pattyn23-Nov-10 13:37
sitebuilderLuc Pattyn23-Nov-10 13:37 
GeneralRe: Further Help with Select Required Please Pin
djhankypark23-Nov-10 14:17
djhankypark23-Nov-10 14:17 
AnswerRe: Further Help with Select Required Please Pin
Luc Pattyn23-Nov-10 14:15
sitebuilderLuc Pattyn23-Nov-10 14:15 
GeneralRe: Further Help with Select Required Please Pin
djhankypark23-Nov-10 14:24
djhankypark23-Nov-10 14:24 
GeneralRe: Further Help with Select Required Please Pin
Luc Pattyn23-Nov-10 14:48
sitebuilderLuc Pattyn23-Nov-10 14:48 
QuestionDatabase design Pin
digicd123-Nov-10 7:31
digicd123-Nov-10 7:31 
AnswerRe: Database design Pin
fjdiewornncalwe23-Nov-10 7:51
professionalfjdiewornncalwe23-Nov-10 7:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.