Click here to Skip to main content
15,893,161 members
Home / Discussions / Database
   

Database

 
QuestionLink to Microsoft Virtual System Pin
Shweta N Mishra31-Oct-14 3:41
professionalShweta N Mishra31-Oct-14 3:41 
AnswerRe: Link to Microsoft Virtual System Pin
Vijay Gill31-Oct-14 3:47
professionalVijay Gill31-Oct-14 3:47 
GeneralRe: Link to Microsoft Virtual System Pin
Shweta N Mishra31-Oct-14 5:21
professionalShweta N Mishra31-Oct-14 5:21 
QuestionUncertain on What to Use as Foreign Key of a Table Pin
ASPnoob30-Oct-14 5:19
ASPnoob30-Oct-14 5:19 
GeneralRe: Uncertain on What to Use as Foreign Key of a Table Pin
PIEBALDconsult30-Oct-14 5:59
mvePIEBALDconsult30-Oct-14 5:59 
AnswerRe: Uncertain on What to Use as Foreign Key of a Table Pin
Eddy Vluggen30-Oct-14 6:08
professionalEddy Vluggen30-Oct-14 6:08 
GeneralRe: Uncertain on What to Use as Foreign Key of a Table Pin
ASPnoob30-Oct-14 6:34
ASPnoob30-Oct-14 6:34 
Questionplsql Pin
Member 1118871528-Oct-14 21:28
Member 1118871528-Oct-14 21:28 
AnswerRe: plsql Pin
Mycroft Holmes28-Oct-14 22:03
professionalMycroft Holmes28-Oct-14 22:03 
GeneralRe: plsql Pin
PhilLenoir29-Oct-14 3:04
professionalPhilLenoir29-Oct-14 3:04 
RantRetrieve Data Using Comma Separated List Pin
ASPnoob28-Oct-14 20:10
ASPnoob28-Oct-14 20:10 
GeneralRe: Retrieve Data Using Comma Separated List Pin
Mycroft Holmes28-Oct-14 22:01
professionalMycroft Holmes28-Oct-14 22:01 
GeneralRe: Retrieve Data Using Comma Separated List Pin
Shweta N Mishra29-Oct-14 1:23
professionalShweta N Mishra29-Oct-14 1:23 
GeneralRe: Retrieve Data Using Comma Separated List Pin
Mycroft Holmes29-Oct-14 3:13
professionalMycroft Holmes29-Oct-14 3:13 
QuestionAdvice on Perfomance Turning of the Query Pin
Vimalsoft(Pty) Ltd28-Oct-14 7:27
professionalVimalsoft(Pty) Ltd28-Oct-14 7:27 
GeneralRe: Advice on Perfomance Turning of the Query Pin
PIEBALDconsult28-Oct-14 8:04
mvePIEBALDconsult28-Oct-14 8:04 
AnswerRe: Advice on Perfomance Turning of the Query Pin
Eddy Vluggen28-Oct-14 8:59
professionalEddy Vluggen28-Oct-14 8:59 
AnswerRe: Advice on Perfomance Turning of the Query Pin
Mycroft Holmes28-Oct-14 12:59
professionalMycroft Holmes28-Oct-14 12:59 
GeneralRe: Advice on Perfomance Turning of the Query Pin
Vimalsoft(Pty) Ltd4-Nov-14 21:56
professionalVimalsoft(Pty) Ltd4-Nov-14 21:56 
QuestionCombine results from 2 foxpro DBF files using union Pin
jkirkerx27-Oct-14 12:30
professionaljkirkerx27-Oct-14 12:30 
AnswerMakes no sense how it works Pin
jkirkerx27-Oct-14 13:01
professionaljkirkerx27-Oct-14 13:01 
QuestionSelect count on 2 DBF files Pin
jkirkerx27-Oct-14 11:11
professionaljkirkerx27-Oct-14 11:11 
Sort of a dumb question here, I have 2 DBF files, fox-pro DBF files that are identical, in which I want to union all and get the count of the FITEMNO, which there is 1 in the first file and 1 in the 2nd file, so I get a count of 2.

Is this normal behavior or did I construct the statement wrong below?

SELECT COUNT(FITEMNO) AS hCount
 FROM
   ( 
     SELECT
     FITEMNO
     FROM ARTRS01H.dbf
     WHERE
     FSHIPDATE >= @startDate AND FSHIPDATE <= @stopDate
     AND
     FCUSTNO = @FCUSTNO
     AND
     FITEMNO = @FITEMNO
   	GROUP BY FITEMNO
   	UNION ALL
    SELECT
	FITEMNO
    FROM ARTRS01H.dbf
    WHERE
    FSHIPDATE >= @startDate AND FSHIPDATE <= @stopDate
    AND
    FCUSTNO = @FCUSTNO
    AND
    FITEMNO = @FITEMNO
    GROUP BY FITEMNO
 ) 

GeneralRe: Select count on 2 DBF files Pin
PIEBALDconsult27-Oct-14 11:25
mvePIEBALDconsult27-Oct-14 11:25 
GeneralRe: Select count on 2 DBF files Pin
jkirkerx27-Oct-14 12:23
professionaljkirkerx27-Oct-14 12:23 
QuestionRewrit a Scalar function to a table valued function Pin
Ambertje21-Oct-14 0:00
Ambertje21-Oct-14 0:00 

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.