Re: SQL INSERT syntax error, but the statement is correct!
From: kosta (Kostagroups_at_dodgeit.com)
Date: 10/18/04
- Next message: kosta: "Re: SQL INSERT syntax error, but the statement is correct!"
- Previous message: Nicholas Paldino [.NET/C# MVP]: "Re: XML"
- In reply to: Jon Skeet [C# MVP]: "Re: SQL INSERT syntax error, but the statement is correct!"
- Next in thread: Joep: "Re: SQL INSERT syntax error, but the statement is correct!"
- Messages sorted by: [ date ] [ thread ]
Date: 18 Oct 2004 11:31:29 -0700
Jon Skeet [C# MVP] <skeet@pobox.com> wrote in message news:<MPG.1bdccd4d6682cc4a98b70d@msnews.microsoft.com>...
> <anonymous@discussions.microsoft.com> wrote:
> > first of all, I havent tried to use another date format,
> > but i have numerous other insert queries with the same
> > format, which work just fine, so I really dont think that's
> > the problem...
>
> If you haven't tried, you just don't know. If you can't see anything
> wrong, but people have suggested a way of testing something, why not
> test it?
>
> > as for the OleDbParameter, could you please elaborate a
> > bit? Im kinda doing what ive been taught... cwhy is my way
> > wrong/not a good idea? what adventeges does oledbparameter
> > has over my way? and how is it used?
>
> See http://www.pobox.com/~skeet/csharp/faq/#db.parameters
>
> If you've been taught to embed values in SQL statements, btw, I would
> have a very close look at what else you've been taught from the same
> source.
wow, ive been posting from msdn... now i looked at it from google
groups since it finally worked, and I see that i maw maybe half of the
messages posted...
thanks to everyone who posted! I will try all of these!
- Next message: kosta: "Re: SQL INSERT syntax error, but the statement is correct!"
- Previous message: Nicholas Paldino [.NET/C# MVP]: "Re: XML"
- In reply to: Jon Skeet [C# MVP]: "Re: SQL INSERT syntax error, but the statement is correct!"
- Next in thread: Joep: "Re: SQL INSERT syntax error, but the statement is correct!"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|