Click here to Skip to main content
16,011,754 members
Home / Discussions / Database
   

Database

 
AnswerRe: dataset not populated whereas Query Analyzer generates rows using the same query Pin
Giorgi Dalakishvili14-May-07 1:21
mentorGiorgi Dalakishvili14-May-07 1:21 
GeneralRe: dataset not populated whereas Query Analyzer generates rows using the same query Pin
fulbright14-May-07 1:35
fulbright14-May-07 1:35 
GeneralRe: dataset not populated whereas Query Analyzer generates rows using the same query Pin
Giorgi Dalakishvili14-May-07 1:38
mentorGiorgi Dalakishvili14-May-07 1:38 
GeneralRe: dataset not populated whereas Query Analyzer generates rows using the same query Pin
fulbright14-May-07 1:45
fulbright14-May-07 1:45 
AnswerRe: dataset not populated whereas Query Analyzer generates rows using the same query Pin
sam#14-May-07 1:37
sam#14-May-07 1:37 
GeneralRe: dataset not populated whereas Query Analyzer generates rows using the same query Pin
fulbright14-May-07 1:41
fulbright14-May-07 1:41 
GeneralRe: dataset not populated whereas Query Analyzer generates rows using the same query Pin
sam#14-May-07 1:54
sam#14-May-07 1:54 
Questionselecting from 3 different tables Pin
regin14-May-07 0:11
regin14-May-07 0:11 
im a begginer,i have 3 different tables [customer,invoice,projects]

Customer table

intcid[PK]
Companyname

ProjectTable

intprojectId[PK],
intCid[FK],
strName ,
startdate,

Invoice Table

intinvoiceId[PK]
intCid[FK]
intProjectId[FK]
monTotal

i want to select these tables based on the Project name i give..
if the project doesnt have invoice also i have show the output as null in the corresponing row.

i given this query


SELECT
c.intCid,
c.strCompany_name,
p.intProjId,
p.strName,
p.dteStartDate,
p.dteFinalEndDate,
p.strDescription,
i.monTotalamount,
i.intInvoiceId

FROM Invoice i,Customers c,Projects p

WHERE p.intProjId=i.intProjectId

and p.intCid=c.intCid

and p.intProjId=@intProjId

but it givs the value only if the project has invoice record.
can any one help me??

AnswerRe: selecting from 3 different tables Pin
sam#14-May-07 0:45
sam#14-May-07 0:45 
GeneralRe: selecting from 3 different tables Pin
regin14-May-07 0:51
regin14-May-07 0:51 
GeneralRe: selecting from 3 different tables [modified] Pin
sam#14-May-07 0:55
sam#14-May-07 0:55 
GeneralRe: selecting from 3 different tables Pin
regin14-May-07 1:07
regin14-May-07 1:07 
Questionlooking for bool data type Pin
Saira Tanwir13-May-07 21:38
Saira Tanwir13-May-07 21:38 
AnswerRe: looking for bool data type Pin
Colin Angus Mackay13-May-07 23:50
Colin Angus Mackay13-May-07 23:50 
QuestionTransaction management Pin
tamasan13-May-07 15:30
tamasan13-May-07 15:30 
QuestionTable join Pin
A kamath13-May-07 7:53
A kamath13-May-07 7:53 
AnswerRe: Table join Pin
Giorgi Dalakishvili13-May-07 8:00
mentorGiorgi Dalakishvili13-May-07 8:00 
GeneralRe: Table join Pin
Paul Conrad13-May-07 9:18
professionalPaul Conrad13-May-07 9:18 
GeneralRe: Table join Pin
Giorgi Dalakishvili13-May-07 9:39
mentorGiorgi Dalakishvili13-May-07 9:39 
GeneralRe: Table join Pin
Paul Conrad13-May-07 10:14
professionalPaul Conrad13-May-07 10:14 
GeneralRe: Table join Pin
Giorgi Dalakishvili13-May-07 10:48
mentorGiorgi Dalakishvili13-May-07 10:48 
GeneralRe: Table join Pin
A kamath14-May-07 3:30
A kamath14-May-07 3:30 
QuestionManipulating data in a table Pin
Jon Henry13-May-07 5:29
Jon Henry13-May-07 5:29 
AnswerRe: Manipulating data in a table Pin
gauthee16-May-07 1:58
gauthee16-May-07 1:58 
GeneralRe: Manipulating data in a table Pin
Jon Henry16-May-07 6:19
Jon Henry16-May-07 6:19 

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.