The most basic syntax is
INSERT INTO tableName VALUES( value1, value2 . . . . . )
Things to bear in mind about using this approach.
1.) Your values MUST be in sequence with the table design
2.) If ANY of your values include single quotes ' then your statement will
fail.
Using Parameters if more time consuming, but far less prone to error
--
( OHM ) - One Handed Man
AKA Terry Burns -
http://TrainingOn.net
"John" <Jo**@nospam.infovis.co.uk> wrote in message
news:OZ**************@TK2MSFTNGP03.phx.gbl...
Hi
I have a set of values that I need to insert and sql server table. My
question is, out of all the methods what is the best (in terms of being
simplest/most straightforward) method to do that?
Thanks
Regards