Procedure Not Found Error
Contents |
log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about could not find stored procedure in sql server 2008 Stack Overflow the company Business Learn more about hiring developers or posting ads with could not find stored procedure c# us Database Administrators Questions Tags Users Badges Unanswered Ask Question _ Database Administrators Stack Exchange is a question and answer site
Could Not Find Stored Procedure But It Exists
for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question
Stored Procedure Not Found
Anybody can answer The best answers are voted up and rise to the top "Could not find stored procedure' even though the stored procedure have been created in MS SQL Server Management Studio up vote 8 down vote favorite 2 I have created a table testtable inside the database testbase that have the following structure: product_no (int, not null) product_name (varchar(30), not null) price (money, null) expire_date (date, null) expire_time (time(7), visual studio could not find stored procedure null) which I used the Microsoft SQL Server 2008 Management Studio. I created a stored procedure testtable_pricesmaller as follows use testbase go create procedure testtable_pricesmaller @pricelimit money as select * from testtable where price = @pricelimit; go and are able to view the Stored Procedures on the Object Explorer of the Microsoft SQL Server Management Studio. (It is listed in the following tree structure of the Object Explorer) Databases + testbase + Tables + dbo.testtable + Programmability + Stored Procedures + dbo.testtable_pricesmaller I find it very strange when I receive the following error: Could not find the stored procedure 'dbo.testtable_pricesmaller'. when I execute the following SQL statement: execute dbo.testtable_pricesmaller 50 What could it be missing? sql-server-2008 stored-procedures ssms share|improve this question asked Sep 10 '12 at 4:38 Jack 760102235 Did you make sure your execute statement is running under the context of "testbase" database? You might try adding a USE statement or fully qualifying the object name. –Shawn Melton Sep 10 '12 at 5:24 Yes, I did add the USE statement but it give me the error. –Jack Sep 10 '12 at 5:37 I had to explicitly define the database name in my execute statement: EXEC [testbase].[dbo].[testtable_pricesmaller] 50 –Jroonk Oct 14 '15 at 19:42
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta
Could Not Find Stored Procedure Dbo
Discuss the workings and policies of this site About Us Learn sqlcmd could not find stored procedure more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us could not find stored procedure vb net Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, http://dba.stackexchange.com/questions/23983/could-not-find-stored-procedure-even-though-the-stored-procedure-have-been-cre helping each other. Join them; it only takes a minute: Sign up “could not find stored procedure” up vote 7 down vote favorite I am maintaining a classic ASP website that has a SQL Server 2005 backend. For a small piece of new functionality I wrote a stored procedure to do an insert. This is the only http://stackoverflow.com/questions/847879/could-not-find-stored-procedure user stored procedure in the database. When I attempt to call the stored procedure from code I get the following error: Microsoft OLE DB Provider for SQL Server error '80040e14' Could not find stored procedure 'InsertGroup'. /newGroup.asp, line 84 The DB uses SQL Server authentication. When I connect to the DB server in Visual Studio using the same user/pw as in the connection string the stored procedure is not visible but all tables are. The user has datareader and datawriter roles and explicit execute permission on the stored procedure. What am I missing? UPDATE: My apologies, the server admin misinformed me that it was a 2000 server when it is actually a 2005 server (running on Windows Server 2003 x64). sql-server stored-procedures share|improve this question edited Oct 9 '13 at 3:00 Drew 19.7k53850 asked May 11 '09 at 12:30 Chloraphil 1,39872740 add a comment| 5 Answers 5 active oldest votes up vote 28 down vote accepted Walk of shame: The connection string was pointing at the live database.
360 games PC games https://support.microsoft.com/en-us/kb/2635071 Windows games Windows phone games Entertainment All Entertainment Movies & TV Music Business & Education Business Students & educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet stored procedure Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Lumia All could not find Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft