Click here to Skip to main content
15,895,799 members
Home / Discussions / Database
   

Database

 
AnswerRe: HiiSQL Server Database Name Pin
Colin Angus Mackay24-Oct-05 20:13
Colin Angus Mackay24-Oct-05 20:13 
Questionraw_Open Pin
Karim Shehadeh24-Oct-05 11:03
Karim Shehadeh24-Oct-05 11:03 
QuestionLast unique inserted row Pin
Anonymous24-Oct-05 1:14
Anonymous24-Oct-05 1:14 
AnswerRe: Last unique inserted row Pin
miah alom24-Oct-05 4:50
miah alom24-Oct-05 4:50 
AnswerRe: Last unique inserted row Pin
toxcct25-Oct-05 0:24
toxcct25-Oct-05 0:24 
QuestionJoining Tables Pin
Greeky23-Oct-05 21:53
Greeky23-Oct-05 21:53 
AnswerRe: Joining Tables Pin
miah alom24-Oct-05 4:54
miah alom24-Oct-05 4:54 
QuestionUsing where clause with .CSV files Pin
Adeel68823-Oct-05 19:15
Adeel68823-Oct-05 19:15 
I use ODBC programming in order to connect VC++ with database. For that i First create system DSN, Use CDatabase class SQLConnect(...) function in order to connect to the DSN, Then use SQLExecDirect in order to run the querry. But i am facing problem with CSV files.

I Created a system DSN of Microsoft Text Driver and then connected it worked. As you know in CSV files it automatically takes first rows as the field name. Therefore if I run the query "SELECT * FROM TableName.csv", IT works. But if I write a querry "SELECT Col1, Col2,....Coln FROM TableName.csv" It does'nt work cuz it is unable to recognize and individual column. Now I need to run a querry in order to check for an existing data "SELECT * FROM TableName.csv WHERE Col1 = 'MyName'" even this query generates an error.

So can anyone help me how to reslove this selection problem?Confused | :confused: Confused | :confused: Confused | :confused: Confused | :confused: Confused | :confused:
QuestionADO SECURITY WARNING! Pin
delnaz23-Oct-05 6:52
delnaz23-Oct-05 6:52 
QuestionADO WARNING SECURITY Pin
delnaz23-Oct-05 0:10
delnaz23-Oct-05 0:10 
AnswerRe: ADO WARNING SECURITY Pin
S Douglas7-Nov-05 23:03
professionalS Douglas7-Nov-05 23:03 
Questionmysql query browser (newbie) - running multiple queries Pin
tjawed22-Oct-05 8:50
tjawed22-Oct-05 8:50 
AnswerRe: mysql query browser (newbie) - running multiple queries Pin
dabuskol23-Oct-05 19:52
dabuskol23-Oct-05 19:52 
QuestionTutotial Link[modified] Pin
ddmcr22-Oct-05 3:39
ddmcr22-Oct-05 3:39 
AnswerRe: Tutotial Link Pin
Stanciu Vlad22-Oct-05 7:51
Stanciu Vlad22-Oct-05 7:51 
GeneralRe: Tutotial Link Pin
ddmcr22-Oct-05 10:31
ddmcr22-Oct-05 10:31 
QuestionDeleting duplicate rows based on timestamps ? Pin
Aditi48422-Oct-05 2:23
Aditi48422-Oct-05 2:23 
AnswerRe: Deleting duplicate rows based on timestamps ? Pin
dabuskol23-Oct-05 19:39
dabuskol23-Oct-05 19:39 
GeneralRe: Deleting duplicate rows based on timestamps ? Pin
Aditi48423-Oct-05 21:29
Aditi48423-Oct-05 21:29 
QuestionSQL datediff Pin
dabuskol22-Oct-05 0:14
dabuskol22-Oct-05 0:14 
AnswerRe: SQL datediff Pin
Colin Angus Mackay23-Oct-05 5:55
Colin Angus Mackay23-Oct-05 5:55 
GeneralRe: SQL datediff Pin
dabuskol23-Oct-05 19:36
dabuskol23-Oct-05 19:36 
GeneralRe: SQL datediff Pin
Colin Angus Mackay23-Oct-05 20:34
Colin Angus Mackay23-Oct-05 20:34 
QuestionNeed a bit of an advice... Pin
Stanciu Vlad21-Oct-05 23:16
Stanciu Vlad21-Oct-05 23:16 
AnswerRe: Need a bit of an advice... Pin
André Ziegler22-Oct-05 4:51
André Ziegler22-Oct-05 4:51 

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.