Re: Little Lock Symbols
- From: "Aaron Bertrand [SQL Server MVP]" <ten.xoc@xxxxxxxxxxxxxx>
- Date: Mon, 15 Jan 2007 18:05:10 -0500
if I 'check (green check)' it, the programs returns: "query excecuted
successfully".
Yes, if you hold your mouse over the green check you decided to click, you
will see that means "parse" (syntax check). The success message means that
the command didn't have any syntax errors.
Then when I try to run as suggested the command errors out saying "There
is
no text for object 'SQL_myquery'"
Are you sure your query is running in the correct database? When you
right-clicked "the database" was it db_ReportSource, or some other database?
Are you sure you were in an Object Explorer context of the correct server?
What happens when you execute the following in a properly created New Query
window:
USE db_ReportSource;
GO
EXEC SQL_myquery;
GO
EXEC dbo.SQL_myquery;
GO
?
Could the file actuallly be residing on the other users machine and not in
SQL Server? or network?
No, from your earlier description, this is a stored procedure in a database.
There are many differences between a stored procedure in the database and a
file in the file system. They are certainly not the same, and a file
somewhere on your network is certainly not going to magically appear under
the stored procedures node in object explorer.
A
.
- References:
- Re: Little Lock Symbols
- From: Aaron Bertrand [SQL Server MVP]
- Re: Little Lock Symbols
- From: Aaron Bertrand [SQL Server MVP]
- Re: Little Lock Symbols
- From: Candyman
- Re: Little Lock Symbols
- Prev by Date: Re: Little Lock Symbols
- Next by Date: Re: Little Lock Symbols
- Previous by thread: Re: Little Lock Symbols
- Next by thread: Re: Little Lock Symbols
- Index(es):
Relevant Pages
|
|