apostolchopov
Programmer
Hi!
I have the following problem. I use ADO connection object to connect to SQL server and ADO command object to execute commands on that server. In my program I undertake the following steps.
1. Connect to the SQL server
2. Create a database on the server by using the ADO connection obejct that I have created.
3. On this database I create a set of tables, indexes and stored procedures.
4. When I try to execute some of these stored procedures on the SQL server by using the ADO command object, I got an error saying that these procedures cannot be fould on the server.
Note: when I reconnect the result is the same. But when I restart my application, the stored procedures are found. Any clues?
Thanks in advance!
P.S. I could solve my problem by closing the ADO connection object and freeing it from the heap. Then create it again and connect to the server.
I have the following problem. I use ADO connection object to connect to SQL server and ADO command object to execute commands on that server. In my program I undertake the following steps.
1. Connect to the SQL server
2. Create a database on the server by using the ADO connection obejct that I have created.
3. On this database I create a set of tables, indexes and stored procedures.
4. When I try to execute some of these stored procedures on the SQL server by using the ADO command object, I got an error saying that these procedures cannot be fould on the server.
Note: when I reconnect the result is the same. But when I restart my application, the stored procedures are found. Any clues?
Thanks in advance!
P.S. I could solve my problem by closing the ADO connection object and freeing it from the heap. Then create it again and connect to the server.