Stored Procedure + sql server 2005 + insertion

S

Sumanta Das

hi..... can any body help me?
i want to insert data into sql server(2005)database...
i have a int value to pass......
how can i send it to the stored procedure
.....
here IndID is the integer value but when i want to pass it... it is
showing the follwing error:


DBI::DatabaseError: Execute
OLE error code:80040E07 in Microsoft OLE DB Provider for SQL Server
Error converting data type varchar to int //// here also showing
scalar
variable must be declared if
single
quote taken off
HRESULT error code:0x80020009
Exception occurred.: exec SP_peopleinsert
'@fname','@mname','@lname','@sex','@dob','@IndID'




thanx for helping... in advance
 
S

Sumanta Das

Sumanta said:
hi..... can any body help me?
i want to insert data into sql server(2005)database...
i have a int value to pass......
how can i send it to the stored procedure
.....
here IndID is the integer value but when i want to pass it... it is
showing the follwing error:


DBI::DatabaseError: Execute
OLE error code:80040E07 in Microsoft OLE DB Provider for SQL Server
Error converting data type varchar to int //// here also showing
scalar
variable must be declared if
single
quote taken off
HRESULT error code:0x80020009
Exception occurred.: exec SP_peopleinsert
'@fname','@mname','@lname','@sex','@dob','@IndID'




thanx for helping... in advance



i need it urgently.... plz helppp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top