index | search | no replies | posting guidelines | help | login | register |
Index » Products » ASP DataGrid |
| |||||||
Apr 12 2007, 11:11 AM |
| ||||||
boku since: Apr 12, 2007 from: somewhere | Does anyone know how to do a left join to return all records in the master table and only records in the second table where FileID is equal? Here my sql statement: "SELECT PSCMAIN.FileID, PSCMAIN.PatientID, PSCMAIN.ScanTime, " & _ "PSCCHARGE.ChargeID, PSCCHARGE.Scantime FROM PSCMAIN, PSCCHARGE " & _ "WHERE PSCCHARGE.FileID *= PSCMAIN.FileID ;" | ||||||
Apr 12 2007, 11:53 AM |
| ||||||
ghost from: Washington, DC | FOR MS SQL Server SELECT PSCMAIN.FileID, PSCMAIN.PatientID, PSCMAIN.ScanTime, ------------------------- Ghost | ||||||
Apr 12 2007, 2:03 PM |
| ||||||
boku since: Apr 12, 2007 from: somewhere | Thanks. That worked for Access as well. | ||||||
Pages: (1) [1] |