Re: C++ Cannot find stored procedure
- From: Gina <Gina@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 31 Mar 2008 07:06:01 -0700
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
- References:
- C++ Cannot find stored procedure
- From: Gina
- Re: C++ Cannot find stored procedure
- From: Erland Sommarskog
- C++ Cannot find stored procedure
- Prev by Date: RE: Update Excel Work***
- Next by Date: How to check if SQL Server is local or remote
- Previous by thread: Re: C++ Cannot find stored procedure
- Next by thread: Update Excel Work***
- Index(es):
Loading