Click here to Skip to main content
15,904,339 members
Home / Discussions / Database
   

Database

 
AnswerRe: Selecting records of last two days: Pin
Christian Graus20-Jul-07 21:47
protectorChristian Graus20-Jul-07 21:47 
AnswerRe: Selecting records of last two days: Pin
bablu_singh22-Jul-07 19:49
bablu_singh22-Jul-07 19:49 
Questionhelp for sql query plz Pin
amjad ali shah20-Jul-07 2:09
amjad ali shah20-Jul-07 2:09 
AnswerRe: help for sql query plz Pin
leckey20-Jul-07 4:13
leckey20-Jul-07 4:13 
AnswerRe: help for sql query plz Pin
andyharman20-Jul-07 4:19
professionalandyharman20-Jul-07 4:19 
GeneralRe: help for sql query plz Pin
Paul Conrad20-Jul-07 5:54
professionalPaul Conrad20-Jul-07 5:54 
AnswerRe: help for sql query plz Pin
DQNOK20-Jul-07 8:37
professionalDQNOK20-Jul-07 8:37 
Questiondata type mismatch when i try to insert data [modified] Pin
kudorgyozo20-Jul-07 1:10
kudorgyozo20-Jul-07 1:10 
Hello, i have some visual foxpro tables and i try to insert data into them using ole db. I have the following command:

INSERT INTO comanda_a (comanda, data, agent, sofer, client, magazin, discount)
VALUES ('2', '07/20/2007', 104, 1, '10016705', 2, 30)

the comanda_a table looks like this:

---------------------------
comanda | OleDbType.Char
data | OleDbType.DBDate
agent | OleDbType.Integer
sofer | OleDbType.Integer
client | OleDbType.Char
magazin | OleDbType.Integer
discount| OleDbType.Double
---------------------------

After the insert i get a data type mismatch error, i dont know which column.
Sniff | :^)

I never used ole db before, (but i know the sql commands,) if u know some links or tutorials please post them also.

In the meantime i have found a way to insert rows using parameters(in c#).

any help would be greatly appreciated.


-- modified at 7:59 Friday 20th July, 2007
AnswerRe: data type mismatch when i try to insert data Pin
Rob Graham21-Jul-07 4:13
Rob Graham21-Jul-07 4:13 
Questionquery + ms sql 2005 Pin
ritu432120-Jul-07 0:21
ritu432120-Jul-07 0:21 
AnswerRe: query + ms sql 2005 Pin
Pete O'Hanlon20-Jul-07 1:08
mvePete O'Hanlon20-Jul-07 1:08 
GeneralRe: query + ms sql 2005 Pin
ritu432120-Jul-07 1:28
ritu432120-Jul-07 1:28 
Questionhai insert query problem Pin
srinivassam19-Jul-07 22:27
srinivassam19-Jul-07 22:27 
AnswerRe: hai insert query problem Pin
Colin Angus Mackay19-Jul-07 22:48
Colin Angus Mackay19-Jul-07 22:48 
AnswerRe: hai insert query problem Pin
Paddy Boyd20-Jul-07 0:50
Paddy Boyd20-Jul-07 0:50 
QuestionFine-tune SP Pin
Joe19-Jul-07 21:56
Joe19-Jul-07 21:56 
AnswerRe: Fine-tune SP Pin
Colin Angus Mackay19-Jul-07 22:52
Colin Angus Mackay19-Jul-07 22:52 
Questionselect alst record was added Every minute Pin
Dr.PHP19-Jul-07 21:03
Dr.PHP19-Jul-07 21:03 
AnswerRe: select alst record was added Every minute Pin
Paul Conrad20-Jul-07 5:55
professionalPaul Conrad20-Jul-07 5:55 
GeneralRe: select alst record was added Every minute Pin
Dr.PHP20-Jul-07 19:24
Dr.PHP20-Jul-07 19:24 
GeneralRe: select alst record was added Every minute Pin
Paul Conrad21-Jul-07 4:56
professionalPaul Conrad21-Jul-07 4:56 
Questionvalue of variable Pin
harsh_c19-Jul-07 19:51
professionalharsh_c19-Jul-07 19:51 
AnswerRe: value of variable Pin
N a v a n e e t h19-Jul-07 22:43
N a v a n e e t h19-Jul-07 22:43 
GeneralRe: value of variable Pin
harsh_c19-Jul-07 23:57
professionalharsh_c19-Jul-07 23:57 
GeneralRe: value of variable Pin
Pete O'Hanlon20-Jul-07 0:03
mvePete O'Hanlon20-Jul-07 0:03 

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.