Commit 00eb9d2
authored
right-click your server -> right-click the AdventureWorks2012 database
When right-clicking the server, by default the query is connected to the `master` database. Therefore, in the next step, `EXECUTE dbo.WorkOrdersForBlade` will fail with the following error:
```
Msg 2812, Level 16, State 62, Line 1
Could not find stored procedure 'dbo.WorkOrdersForBlade'.
```
Right-clicking the AdventureWorks2012 database ensures that the query will be connected to the database where the stored procedure has been previously created. In this case, `EXECUTE dbo.WorkOrdersForBlade` succeeds.1 parent 57f45ee commit 00eb9d2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
0 commit comments