Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 File Location For Queries

Author  Topic 

sirmilt
Starting Member

49 Posts

Posted - 2010-11-04 : 18:19:08
I'm new to SQL Server but have been using Access with Visual Basic for quite some time.
I am moving an existing project from Access to SQL Server 2008 Express R2. Using the SSMS I redid a number of Queries and SSMS puts the queies in a folder entitled "Project" which is not pointed at any specific database on the server.

When I try to call a query in Visual Basic I get the error "Could not find stored procedure...".

Obviously there is something that I am missing, but I don't know what. Can anyone tell me where I should have these queries filed in SSMS?

Milt

nigelrivett
Master Smack Fu Yak Hacker

3385 Posts

Posted - 2010-11-06 : 10:33:29
You need to add the SPs to the database.
Easiest is to run sql server mnagement studio and execute the SP scripts.

==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -