Click here to Skip to main content
15,900,466 members
Home / Discussions / Database
   

Database

 
QuestionConnectionString Pin
blackjack215023-Apr-07 23:19
blackjack215023-Apr-07 23:19 
AnswerRe: ConnectionString Pin
Colin Angus Mackay23-Apr-07 23:50
Colin Angus Mackay23-Apr-07 23:50 
AnswerRe: ConnectionString Pin
Pete O'Hanlon24-Apr-07 0:55
mvePete O'Hanlon24-Apr-07 0:55 
GeneralRe: ConnectionString Pin
Aaron VanWieren25-Apr-07 3:54
Aaron VanWieren25-Apr-07 3:54 
QuestionProcedure or function SummerizeInsert has too many arguments specified. Pin
rkherath23-Apr-07 23:13
rkherath23-Apr-07 23:13 
AnswerRe: Procedure or function SummerizeInsert has too many arguments specified. Pin
Colin Angus Mackay23-Apr-07 23:48
Colin Angus Mackay23-Apr-07 23:48 
GeneralRe: Procedure or function SummerizeInsert has too many arguments specified. Pin
rkherath24-Apr-07 0:00
rkherath24-Apr-07 0:00 
GeneralRe: Procedure or function SummerizeInsert has too many arguments specified. Pin
Colin Angus Mackay24-Apr-07 0:07
Colin Angus Mackay24-Apr-07 0:07 
It appears your insert command exists prior to the loop. The loop adds the necessary parameters. On the second iteration it adds the parameters again to the command. So there are now two sets of parameters in the command. (Hence the too many parameters exception)

You need to either
* setup the parameters once (before the loop) and assign the values only on each loop.
Or
* remove all the parameters in the command at the start of the loop.




Upcoming events:
* Glasgow: Introduction to AJAX (2nd May), SQL Server 2005 - XML and XML Query Plans, Mock Objects, SQL Server Reporting Services...

Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton


My website

GeneralRe: Procedure or function SummerizeInsert has too many arguments specified. Pin
rkherath24-Apr-07 0:14
rkherath24-Apr-07 0:14 
GeneralRe: Procedure or function SummerizeInsert has too many arguments specified. Pin
rkherath24-Apr-07 1:24
rkherath24-Apr-07 1:24 
GeneralRe: Procedure or function SummerizeInsert has too many arguments specified. Pin
Elina Blank24-Apr-07 2:42
sitebuilderElina Blank24-Apr-07 2:42 
AnswerRe: Procedure or function SummerizeInsert has too many arguments specified. Pin
gauthee23-Apr-07 23:50
gauthee23-Apr-07 23:50 
GeneralRe: Procedure or function SummerizeInsert has too many arguments specified. Pin
Colin Angus Mackay23-Apr-07 23:51
Colin Angus Mackay23-Apr-07 23:51 
GeneralRe: Procedure or function SummerizeInsert has too many arguments specified. Pin
rkherath24-Apr-07 0:09
rkherath24-Apr-07 0:09 
AnswerRe: Procedure or function SummerizeInsert has too many arguments specified. Pin
Elina Blank24-Apr-07 2:36
sitebuilderElina Blank24-Apr-07 2:36 
Questionlimit in mssql Pin
Deques23-Apr-07 22:28
Deques23-Apr-07 22:28 
AnswerRe: limit in mssql Pin
Colin Angus Mackay23-Apr-07 22:47
Colin Angus Mackay23-Apr-07 22:47 
GeneralRe: limit in mssql [modified] Pin
Deques23-Apr-07 23:01
Deques23-Apr-07 23:01 
QuestionA question about automated tasks,relication in SQL Pin
phap23-Apr-07 22:27
phap23-Apr-07 22:27 
AnswerRe: A question about automated tasks,relication in SQL Pin
Colin Angus Mackay23-Apr-07 22:46
Colin Angus Mackay23-Apr-07 22:46 
QuestionInserting multiple rows in SQL Server 2005 Pin
ShanSuresh23-Apr-07 21:31
ShanSuresh23-Apr-07 21:31 
AnswerRe: Inserting multiple rows in SQL Server 2005 Pin
Colin Angus Mackay23-Apr-07 22:21
Colin Angus Mackay23-Apr-07 22:21 
QuestionQuery for deleting duplicate row Pin
Ajeet mittal23-Apr-07 21:29
Ajeet mittal23-Apr-07 21:29 
AnswerRe: Query for deleting duplicate row Pin
Fatbuddha 123-Apr-07 23:05
Fatbuddha 123-Apr-07 23:05 
QuestionQuery for deleting duplicate row Pin
Ajeet mittal23-Apr-07 23:53
Ajeet mittal23-Apr-07 23:53 

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.