This is urgent. Please help.
I am compiling a stored procedure using osql utility in batch files using shell command from my VB code. Later I am executing this stored procedure by click of a button from my VB 6 code. The problem is this stored procedure created is not being refreshed in the database. It gives me an error "Stored procedure does not exist" and this happens only the first time. Later on when I try click the same button to execute it executes fine.
Looks like a refresh problem to me. Is there a way I can refresh the database (SQL Server 2000) from my vb code ?
Please advice.
I am compiling a stored procedure using osql utility in batch files using shell command from my VB code. Later I am executing this stored procedure by click of a button from my VB 6 code. The problem is this stored procedure created is not being refreshed in the database. It gives me an error "Stored procedure does not exist" and this happens only the first time. Later on when I try click the same button to execute it executes fine.
Looks like a refresh problem to me. Is there a way I can refresh the database (SQL Server 2000) from my vb code ?
Please advice.