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

Database

 
AnswerRe: Whats wrong with this picture? Pin
Bruce Duncan22-Aug-02 9:34
Bruce Duncan22-Aug-02 9:34 
GeneralDleDbDataAdapter and DSNs Pin
thiggs21-Aug-02 4:02
thiggs21-Aug-02 4:02 
GeneralSQL - SELECT DISTINCT myfield Pin
Tim Rymer20-Aug-02 4:59
Tim Rymer20-Aug-02 4:59 
GeneralRe: SQL - SELECT DISTINCT myfield Pin
Mazdak20-Aug-02 9:02
Mazdak20-Aug-02 9:02 
GeneralThat doesnt work. Pin
Tim Rymer20-Aug-02 9:48
Tim Rymer20-Aug-02 9:48 
GeneralRe: That doesnt work. Pin
DanielO21-Aug-02 3:21
DanielO21-Aug-02 3:21 
GeneralMinor addition Pin
Anonymous21-Aug-02 4:38
Anonymous21-Aug-02 4:38 
GeneralRe: That doesnt work. Pin
Tim Rymer22-Aug-02 3:51
Tim Rymer22-Aug-02 3:51 
SELECT DISTINCT CustomerName, ID, Checked, FoundWith, URL

So you're saying that I will get every Record with a distinct URL with this statement? If so will the fact that it has checked(which may all be false at the beginning), or foundwith(which will more than likely have other urls to have the same FoundWith = # with them) so if i state all of those as having to be DISTINCT, does that mean it checks all before adding them? Because basically if there's a statement that says this:

SELECT DISTINCT URL, Checked FROM Emails WHERE Checked = False

Isnt that going to cause problems? because say they're all false, does that mean i'm to get only 1 urls back no matter what the difference in URLs?

And this statement,

DanielO wrote:
you could try the following

SELECT DISTINCT CUSTOMER_NAME ID CHECKED FOUNDWITH
FROM Emails WHERE checked = False ORDER BY foundwith

for all fields except url


I'm just trying to get one url that isnt checked, that's all. The only reason why i'm doing that is so that I dont have to open up another recordset and look for all Customers from that URL, then see if they've been checked or not, and if they've all been checked, then goto the next url.

This is all really just fickle, I just wanted to know if there was a way to get all the fields from a Record, where i had a DISTINCT Field that had to be different, then if i have that first distinct record, i could see if it had been checked, and if not then move onto the next one. *shrug*

Thanks guys.



~Timothy T. Rymer

http://tim.xpertz.com
http://www.digipen.edu
http://www.ttrx.com
GeneralRe: That doesnt work. Pin
Mazdak21-Aug-02 4:25
Mazdak21-Aug-02 4:25 
GeneralRe: That doesnt work. Pin
notadood26-Aug-02 7:44
notadood26-Aug-02 7:44 
GeneralCheck (create table) error Pin
Hans Ruck20-Aug-02 0:40
Hans Ruck20-Aug-02 0:40 
Generalsp_OAMethod type mismatch error Pin
Le centriste19-Aug-02 10:36
Le centriste19-Aug-02 10:36 
GeneralODBC & SQL - Modify the "Table" name in Excel Pin
Stefan_L_0119-Aug-02 10:32
Stefan_L_0119-Aug-02 10:32 
GeneralRe: ODBC & SQL - Modify the "Table" name in Excel Pin
DanielO21-Aug-02 3:44
DanielO21-Aug-02 3:44 
GeneralRe: ODBC & SQL - Modify the "Table" name in Excel Pin
Stefan_L_0121-Aug-02 7:58
Stefan_L_0121-Aug-02 7:58 
GeneralSELECT from multiple tables in a DB Pin
Robby19-Aug-02 8:04
Robby19-Aug-02 8:04 
GeneralRe: SELECT from multiple tables in a DB Pin
notadood20-Aug-02 3:49
notadood20-Aug-02 3:49 
GeneralRe: SELECT from multiple tables in a DB Pin
Robby21-Aug-02 5:56
Robby21-Aug-02 5:56 
GeneralRe: SELECT from multiple tables in a DB Pin
Daniel Turini26-Aug-02 0:54
Daniel Turini26-Aug-02 0:54 
GeneralmySQL and SSQLS w/MFC Pin
monrobot1318-Aug-02 14:40
monrobot1318-Aug-02 14:40 
QuestionHow to connect to a database Pin
Venet18-Aug-02 9:35
Venet18-Aug-02 9:35 
AnswerRe: How to connect to a database Pin
DanielO21-Aug-02 3:26
DanielO21-Aug-02 3:26 
GeneralRe: How to connect to a database Pin
Venet22-Aug-02 23:34
Venet22-Aug-02 23:34 
GeneralRe: How to connect to a database Pin
DanielO30-Aug-02 4:48
DanielO30-Aug-02 4:48 
Questionappendchunk adds to existing database. How to overwrite it? Pin
nss17-Aug-02 23:48
nss17-Aug-02 23:48 

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.