Click here to Skip to main content
15,888,521 members
Home / Discussions / Database
   

Database

 
AnswerRe: generate database to word from sql 2005 Pin
Wendelius6-Oct-08 7:05
mentorWendelius6-Oct-08 7:05 
AnswerRe: generate database to word from sql 2005 Pin
nelsonpaixao6-Oct-08 14:56
nelsonpaixao6-Oct-08 14:56 
GeneralRe: generate database to word from sql 2005 Pin
irvinia6-Oct-08 16:38
irvinia6-Oct-08 16:38 
QuestionFilters Pin
GxSau5-Oct-08 8:50
GxSau5-Oct-08 8:50 
QuestionIndex on a foreign key Pin
Brendan Vogt5-Oct-08 5:58
Brendan Vogt5-Oct-08 5:58 
AnswerRe: Index on a foreign key Pin
Wendelius5-Oct-08 6:08
mentorWendelius5-Oct-08 6:08 
GeneralRe: Index on a foreign key Pin
Brendan Vogt5-Oct-08 6:51
Brendan Vogt5-Oct-08 6:51 
Questionbool matrix Pin
Robert19745-Oct-08 0:59
Robert19745-Oct-08 0:59 
Hi ! I'm a beginner at transact sql and I have a question.
I have a table named person and a table named event.
person has columns personID, personName
event table has columns: eventID, eventName, date
My situation is that I want to know which persons that will go to which event so i have a table called
eventPerson
eventPerson has columns: eventID, personID
How do I construct a question in Transact SQL that returns a table over which persons that goes to wich event
The result would look someting like this

EventNo1 EventNo2 EventNo3
peter 1 0 1
lucy 1 0 1
john 0 1 1

So what I want is a matrix with boolean values. Columns is event. rows is person.
AnswerRe: bool matrix Pin
Blue_Boy5-Oct-08 2:14
Blue_Boy5-Oct-08 2:14 
AnswerRe: bool matrix Pin
Wendelius5-Oct-08 5:02
mentorWendelius5-Oct-08 5:02 
QuestionSQL quote problem Pin
Yulianto.4-Oct-08 22:22
Yulianto.4-Oct-08 22:22 
AnswerRe: SQL quote problem Pin
Meysam Mahfouzi4-Oct-08 22:37
Meysam Mahfouzi4-Oct-08 22:37 
AnswerRe: SQL quote problem Pin
Vimalsoft(Pty) Ltd5-Oct-08 0:08
professionalVimalsoft(Pty) Ltd5-Oct-08 0:08 
AnswerRe: SQL quote problem Pin
Mark Churchill5-Oct-08 4:23
Mark Churchill5-Oct-08 4:23 
QuestionFull-text search 900 bytes limitation Pin
Meysam Mahfouzi4-Oct-08 21:08
Meysam Mahfouzi4-Oct-08 21:08 
AnswerRe: Full-text search 900 bytes limitation Pin
Wendelius5-Oct-08 4:56
mentorWendelius5-Oct-08 4:56 
GeneralRe: Full-text search 900 bytes limitation Pin
Meysam Mahfouzi5-Oct-08 8:52
Meysam Mahfouzi5-Oct-08 8:52 
GeneralRe: Full-text search 900 bytes limitation Pin
Wendelius5-Oct-08 9:01
mentorWendelius5-Oct-08 9:01 
GeneralRe: Full-text search 900 bytes limitation [modified] Pin
Meysam Mahfouzi5-Oct-08 9:55
Meysam Mahfouzi5-Oct-08 9:55 
Questionwho is better Pin
abiniyam3-Oct-08 22:11
abiniyam3-Oct-08 22:11 
AnswerRe: who is better Pin
Jaime Olivares4-Oct-08 2:09
Jaime Olivares4-Oct-08 2:09 
QuestionBest way to read/write DBF files in .Net ? Pin
Jaime Olivares3-Oct-08 21:03
Jaime Olivares3-Oct-08 21:03 
AnswerRe: Best way to read/write DBF files in .Net ? Pin
Wendelius3-Oct-08 21:28
mentorWendelius3-Oct-08 21:28 
GeneralRe: Best way to read/write DBF files in .Net ? Pin
Jaime Olivares4-Oct-08 2:12
Jaime Olivares4-Oct-08 2:12 
GeneralRe: Best way to read/write DBF files in .Net ? Pin
Wendelius4-Oct-08 4:18
mentorWendelius4-Oct-08 4:18 

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.