?
Solved

SQL SERVER STORED PROCEDURE INFO

Posted on 2007-12-04
2
Medium Priority
?
184 Views
Last Modified: 2010-03-20
This is a very basic question however I am not sure what the following line is stating.

USE [SpeakerheartDev]  -  this is the first statement in the procedure.

I believe that it is stating to use the SpeakerheartDev datatbase, but what is the need for this?  If the procedure is created within that database, what is the purpose?
0
Comment
Question by:TroyCrowe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 11

Accepted Solution

by:
fanopoe earned 150 total points
ID: 20404884
so that any calls made from an outside source will be explicitly routed to the correct location. It's not required code, bit it's not bad code.


hth
0
 

Author Comment

by:TroyCrowe
ID: 20404902
thanks for your input fanopoe
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question