Board index » delphi » Need Help with Problem in Using Delphi 5's ADO Stored Procedure Component
Jose
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Need Help with Problem in Using Delphi 5's ADO Stored Procedure Component
Hi, I have a very wierd problem regarding the use of Delphi 5's ADO Stored
Procedure component. When I set the Stored procedure component (this stored procedure component is pointing to the MSSQL 7 stored procedure code below) to active, it produces the following error "Insert Error: Column name or number of supplied values does not match table definition". The wierd thing was that if I use Delphi 5's stardard Stored Procedure component, it works! Also, I am using SQLOLEDB as the Provider in the ConnectionString property Can someone help with this problem? Please advise. Thank you. Jose... ***** Begin of SP ****** -- Create temporary table INSERT INTO #SPColumns exec sp_Columns @table_name = N'CUST' <-- this Select * from #SPColumns END ***** End of SP ****** |