Re: C++ Cannot find stored procedure



That's not it, thanks anyway.
--
end war
stop greed


"Erland Sommarskog" wrote:

Gina (Gina@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:
I can login to the SQL Server (although I had to change the "Initial
Catalog=" value to "Catalog=", don't know why). However no matter how I
craft the string (_bstr_t or LPCTSTR) for the SP: owner.sp or dbo.sp or
just sp, it tells me stored procedure not found.

Try Database= rather than Catalog. It sounds as if you are not in the
right database.


--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

.


Loading