Click here to Skip to main content
15,907,001 members
Home / Discussions / Database
   

Database

 
GeneralRe: Help Creating a Temp Table Pin
Hulicat3-Sep-09 13:52
Hulicat3-Sep-09 13:52 
AnswerRe: Help Creating a Temp Table Pin
Niladri_Biswas6-Nov-09 20:24
Niladri_Biswas6-Nov-09 20:24 
QuestionHelp Needed: I have a dll (vb 2005) that I want to call in a SqlFunction that returns data from an Excel file Pin
JNBG3-Sep-09 10:16
JNBG3-Sep-09 10:16 
AnswerRe: Help Needed: I have a dll (vb 2005) that I want to call in a SqlFunction that returns data from an Excel file Pin
Abhishek Sur5-Sep-09 12:12
professionalAbhishek Sur5-Sep-09 12:12 
GeneralRe: Help Needed: I have a dll (vb 2005) that I want to call in a SqlFunction that returns data from an Excel file Pin
JNBG5-Sep-09 12:33
JNBG5-Sep-09 12:33 
GeneralRe: Help Needed: I have a dll (vb 2005) that I want to call in a SqlFunction that returns data from an Excel file Pin
JNBG5-Sep-09 14:17
JNBG5-Sep-09 14:17 
QuestionHelp for an SQL query Pin
sazd13-Sep-09 3:40
sazd13-Sep-09 3:40 
AnswerRe: Help for an SQL query Pin
David Skelly3-Sep-09 6:03
David Skelly3-Sep-09 6:03 
The first thing that I notice from your query is that you are using an inner join. This will only return information for items that have an entry in both the Purchase table and the Sales table. If you have any items that are only in one table (e.g a Purchase but no Sale for the same item), they will not show up in your results.

The second thing I notice is that you are selecting on the basis of the date in the Purchase table, but you are ignoring the date in the Sales table. So, you will pick up a subset of the Purchase data but all of the Sales data, which seems a bit wrong to me.

When you say that you are not getting the desired results, what exactly is going wrong? That would help us to narrow down the problem.
GeneralRe: Help for an SQL query Pin
sazd13-Sep-09 8:35
sazd13-Sep-09 8:35 
GeneralRe: Help for an SQL query Pin
David Skelly3-Sep-09 22:34
David Skelly3-Sep-09 22:34 
Questioneasy_odbc leak memory Pin
Ruscoff3-Sep-09 0:05
Ruscoff3-Sep-09 0:05 
AnswerRe: easy_odbc leak memory Pin
Ashfield3-Sep-09 1:30
Ashfield3-Sep-09 1:30 
GeneralRe: easy_odbc leak memory Pin
Ruscoff3-Sep-09 2:47
Ruscoff3-Sep-09 2:47 
GeneralRe: easy_odbc leak memory Pin
Ashfield3-Sep-09 3:36
Ashfield3-Sep-09 3:36 
QuestionScript Check Pin
Mustafa Ismail Mustafa2-Sep-09 9:46
Mustafa Ismail Mustafa2-Sep-09 9:46 
AnswerRe: Script Check Pin
Mycroft Holmes2-Sep-09 18:06
professionalMycroft Holmes2-Sep-09 18:06 
GeneralRe: Script Check Pin
Mustafa Ismail Mustafa2-Sep-09 20:47
Mustafa Ismail Mustafa2-Sep-09 20:47 
Questionupdate issue Pin
Tauseef A2-Sep-09 2:30
Tauseef A2-Sep-09 2:30 
AnswerRe: update issue Pin
Blue_Boy2-Sep-09 2:38
Blue_Boy2-Sep-09 2:38 
AnswerRe: update issue Pin
David Mujica2-Sep-09 3:32
David Mujica2-Sep-09 3:32 
AnswerRe: update issue Pin
Abhishek Sur2-Sep-09 9:43
professionalAbhishek Sur2-Sep-09 9:43 
AnswerRe: update issue Pin
Niladri_Biswas2-Sep-09 17:18
Niladri_Biswas2-Sep-09 17:18 
Questione-blood bank Pin
noo.dyab2-Sep-09 1:07
noo.dyab2-Sep-09 1:07 
AnswerRe: e-blood bank Pin
Ashfield2-Sep-09 1:28
Ashfield2-Sep-09 1:28 
GeneralRe: e-blood bank Pin
Garth J Lancaster2-Sep-09 1:41
professionalGarth J Lancaster2-Sep-09 1:41 

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.