Click here to Skip to main content
15,885,366 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Join over two databases Pin
Mike20154-Mar-05 0:40
Mike20154-Mar-05 0:40 
GeneralRe: SQL Join over two databases Pin
ppp0015-Mar-05 19:00
ppp0015-Mar-05 19:00 
Generalsmallmoney Pin
pickron28-Feb-05 8:28
pickron28-Feb-05 8:28 
GeneralRe: smallmoney Pin
Rob Graham28-Feb-05 8:43
Rob Graham28-Feb-05 8:43 
GeneralRe: smallmoney Pin
pickron28-Feb-05 8:48
pickron28-Feb-05 8:48 
GeneralRe: smallmoney Pin
Luis Alonso Ramos28-Feb-05 18:46
Luis Alonso Ramos28-Feb-05 18:46 
QuestionHow do i run a system stored procedure Pin
Anonymous28-Feb-05 5:57
Anonymous28-Feb-05 5:57 
AnswerRe: How do i run a system stored procedure Pin
Rob Graham28-Feb-05 8:49
Rob Graham28-Feb-05 8:49 
From where?
SQL server treats stored procedures whose name begins with sp_ as special, and will look them up in the master database regardless of what database you are currently connected to (but runs them in the context of the connected db).

To run them from the copmmand line (in a dos window)
type OSQL -E
then at the OSQL prompt (>)
type execute sP_XXX,'p1','p2'
then exit to leave OSQL

to execute them in C# use the execute method of your connection, or create a an SQlCommand object, set its text to the sp name, append the appropriate SQLParameters, and call the SQLCommand's executenorecords method.

Anger is the most impotent of passions. It effects nothing it goes about, and hurts the one who is possessed by it more than the one against whom it is directed.
Carl Sandburg

GeneralRe: How do i run a system stored procedure Pin
Anonymous28-Feb-05 23:22
Anonymous28-Feb-05 23:22 
GeneralUpdate Table Pin
jetset3228-Feb-05 5:29
jetset3228-Feb-05 5:29 
GeneralRe: Update Table Pin
Yulianto.28-Feb-05 15:21
Yulianto.28-Feb-05 15:21 
GeneralRe: Update Table Pin
jetset3228-Feb-05 20:34
jetset3228-Feb-05 20:34 
GeneralJoin Table in 2 different database files Pin
ting66827-Feb-05 22:55
ting66827-Feb-05 22:55 
GeneralRe: Join Table in 2 different database files Pin
Yulianto.27-Feb-05 23:09
Yulianto.27-Feb-05 23:09 
GeneralRe: Join Table in 2 different database files Pin
ting66827-Feb-05 23:45
ting66827-Feb-05 23:45 
GeneralRe: Join Table in 2 different database files Pin
Yulianto.28-Feb-05 18:03
Yulianto.28-Feb-05 18:03 
GeneralProgramming Microsoft Outlook... two problems Pin
devvvy27-Feb-05 16:04
devvvy27-Feb-05 16:04 
GeneralUpdate an item in MySQL with VS2003 Pin
kd834127-Feb-05 15:21
kd834127-Feb-05 15:21 
QuestionHow to display menu in a child form of SQL Server Enterprise Manager Pin
xshi00527-Feb-05 9:22
xshi00527-Feb-05 9:22 
GeneralSyntax error on IF ELSE statement Pin
rudemusik27-Feb-05 7:22
rudemusik27-Feb-05 7:22 
GeneralRandom data Pin
vuthaianh26-Feb-05 17:00
vuthaianh26-Feb-05 17:00 
GeneralRe: Random data Pin
NeverHeardOfMe27-Feb-05 11:32
NeverHeardOfMe27-Feb-05 11:32 
GeneralRe: Random data Pin
vuthaianh28-Feb-05 15:08
vuthaianh28-Feb-05 15:08 
GeneralRe: Random data Pin
NeverHeardOfMe2-Mar-05 22:45
NeverHeardOfMe2-Mar-05 22:45 
QuestionHow to serialize the database (SQL Server) Pin
oohungoo26-Feb-05 15:18
oohungoo26-Feb-05 15:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.