on 10-29-2007 5:18 AM
hi,
I was looking at syntax but i could not get it right.. may be some could help me.
// Insert single row works fine
INSET INTO test_table(column_name) values (value1) IGNORE DUPLICATES
// Insert multiple rows, doesn't
INSET INTO test_table(column_name) values (value1), (value2), (value3) IGNORE DUPLICATES
Can somebody help me with this.
thanks,
sudhir.
Multiple inserts do only work with parametrized statements, usually used in interfaces like JDBC, ODBC etc.
With static SQL statements it is not possible.
Regards Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.