Click here to Skip to main content
15,888,527 members
Home / Discussions / Database
   

Database

 
AnswerRe: SQL Server Management Studio Express Pin
originSH5-Apr-07 0:51
originSH5-Apr-07 0:51 
QuestionCustom Replication / Mirroring for SQL Server 2005 Express Pin
Ligblou3-Apr-07 21:30
Ligblou3-Apr-07 21:30 
QuestionMS Access as Database and SQL: Problem in WHERE clause Pin
santoshsan3-Apr-07 21:20
santoshsan3-Apr-07 21:20 
AnswerRe: MS Access as Database and SQL: Problem in WHERE clause Pin
Adeel Chaudhry3-Apr-07 21:34
Adeel Chaudhry3-Apr-07 21:34 
GeneralRe: MS Access as Database and SQL: Problem in WHERE clause Pin
Colin Angus Mackay3-Apr-07 21:38
Colin Angus Mackay3-Apr-07 21:38 
GeneralRe: MS Access as Database and SQL: Problem in WHERE clause Pin
santoshsan3-Apr-07 23:15
santoshsan3-Apr-07 23:15 
GeneralRe: MS Access as Database and SQL: Problem in WHERE clause Pin
santoshsan3-Apr-07 22:54
santoshsan3-Apr-07 22:54 
AnswerRe: MS Access as Database and SQL: Problem in WHERE clause Pin
Colin Angus Mackay3-Apr-07 21:37
Colin Angus Mackay3-Apr-07 21:37 
santoshsan wrote:
get_cat is a long variable, but when i enclose it in ' ' qoutes SQL or ODBC treats it as string and does not uses the value inside it which I wanted to.


That is because the database has no idea of the variables you have in your C++ applicaiton. They are separate applications, running in separate processes. The only way they communicate is through SQL. You have to tell the SQL the value you want. It cannot peer into another process and pull the value out.

It has been over 7 years since I did MFC and C++ so your best bet is to find out how to generate parameterised queries in MFC and put the value in as a parameter to the SQL query.


GeneralRe: MS Access as Database and SQL: Problem in WHERE clause Pin
santoshsan3-Apr-07 23:09
santoshsan3-Apr-07 23:09 
AnswerRe: MS Access as Database and SQL: Problem in WHERE clause Pin
ChandraRam4-Apr-07 0:17
ChandraRam4-Apr-07 0:17 
Questionproblem when creating database independant access layer Pin
Hassan Amaar3-Apr-07 21:11
Hassan Amaar3-Apr-07 21:11 
AnswerRe: problem when creating database independant access layer Pin
Paddy Boyd3-Apr-07 23:55
Paddy Boyd3-Apr-07 23:55 
GeneralRe: problem when creating database independant access layer Pin
Hassan Amaar5-Apr-07 1:49
Hassan Amaar5-Apr-07 1:49 
GeneralRe: problem when creating database independant access layer Pin
Paddy Boyd5-Apr-07 2:29
Paddy Boyd5-Apr-07 2:29 
AnswerRe: problem when creating database independant access layer Pin
Hayder Marzouk4-Apr-07 2:26
Hayder Marzouk4-Apr-07 2:26 
GeneralRe: problem when creating database independant access layer Pin
Hassan Amaar5-Apr-07 1:51
Hassan Amaar5-Apr-07 1:51 
Questiondatabase deletion Pin
jithbiz00333-Apr-07 20:51
jithbiz00333-Apr-07 20:51 
AnswerRe: database deletion Pin
Paddy Boyd3-Apr-07 23:07
Paddy Boyd3-Apr-07 23:07 
QuestionThe data types varchar and image are incompatible in the add operator in sql server 2005 Pin
24891283-Apr-07 20:04
24891283-Apr-07 20:04 
AnswerRe: The data types varchar and image are incompatible in the add operator in sql server 2005 Pin
Colin Angus Mackay3-Apr-07 21:02
Colin Angus Mackay3-Apr-07 21:02 
GeneralRe: The data types varchar and image are incompatible in the add operator in sql server 2005 Pin
24891283-Apr-07 21:10
24891283-Apr-07 21:10 
GeneralRe: The data types varchar and image are incompatible in the add operator in sql server 2005 Pin
Colin Angus Mackay3-Apr-07 21:32
Colin Angus Mackay3-Apr-07 21:32 
AnswerRe: The data types varchar and image are incompatible in the add operator in sql server 2005 Pin
24891283-Apr-07 22:03
24891283-Apr-07 22:03 
GeneralRe: The data types varchar and image are incompatible in the add operator in sql server 2005 Pin
Colin Angus Mackay3-Apr-07 22:43
Colin Angus Mackay3-Apr-07 22:43 
GeneralRe: The data types varchar and image are incompatible in the add operator in sql server 2005 Pin
24891284-Apr-07 0:00
24891284-Apr-07 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.