Click here to Skip to main content
15,922,015 members
Home / Discussions / Database
   

Database

 
QuestionMDAC, JET and Windows Vista Pin
rajas10-Nov-06 7:47
rajas10-Nov-06 7:47 
QuestionInserting records.... Pin
dansoft9-Nov-06 21:41
dansoft9-Nov-06 21:41 
QuestionVariables in Proceedures Pin
oskardiazdeleon9-Nov-06 12:51
oskardiazdeleon9-Nov-06 12:51 
AnswerRe: Variables in Proceedures Pin
Colin Angus Mackay9-Nov-06 16:55
Colin Angus Mackay9-Nov-06 16:55 
QuestionCreating a sql server data dictionary for our corporation? Pin
Goalie359-Nov-06 9:59
Goalie359-Nov-06 9:59 
AnswerRe: Creating a sql server data dictionary for our corporation? Pin
User 17164929-Nov-06 14:28
professionalUser 17164929-Nov-06 14:28 
QuestionCalling Procedures Pin
Dayekh9-Nov-06 3:07
Dayekh9-Nov-06 3:07 
AnswerRe: Calling Procedures Pin
Eric Dahlvang9-Nov-06 3:33
Eric Dahlvang9-Nov-06 3:33 
Here is an example.
CREATE PROCEDURE MyFirstProc @cParam varchar(10)
AS
PRINT 'MyFirstProc ' + @cparam
EXEC MySecondProc @cparam
GO

CREATE PROCEDURE MySecondProc @cTest varchar(20)
AS
PRINT 'This is in MySecondProc ' + @cTest
GO


Call this from SQL Query Analyzer like this:
EXEC MyFirstProc 'testing'

and you will see this:

MyFirstProc testing<br />
This is in MySecondProc testing


However, you said that "Stored Procedure (A) that is being called contains code for a caculated field." This sounds like you would be better off with a User Defined Function.

--EricDV Sig---------
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them.
- Laurence J. Peters

GeneralRe: Calling Procedures Pin
Dayekh9-Nov-06 3:52
Dayekh9-Nov-06 3:52 
GeneralRe: Calling Procedures Pin
indianet9-Nov-06 6:53
indianet9-Nov-06 6:53 
GeneralRe: Calling Procedures Pin
Eric Dahlvang9-Nov-06 9:25
Eric Dahlvang9-Nov-06 9:25 
GeneralRe: Calling Procedures Pin
Dayekh9-Nov-06 23:19
Dayekh9-Nov-06 23:19 
QuestionHow to merge two triggers to one Pin
andreas_6359-Nov-06 1:55
andreas_6359-Nov-06 1:55 
AnswerRe: How to merge two triggers to one Pin
Eric Dahlvang9-Nov-06 3:11
Eric Dahlvang9-Nov-06 3:11 
GeneralRe: How to merge two triggers to one Pin
andreas_6359-Nov-06 4:03
andreas_6359-Nov-06 4:03 
GeneralRe: How to merge two triggers to one Pin
Eric Dahlvang9-Nov-06 10:09
Eric Dahlvang9-Nov-06 10:09 
QuestionSign-On Question from Extreme Novice Pin
Jethro639-Nov-06 1:50
Jethro639-Nov-06 1:50 
AnswerRe: Sign-On Question from Extreme Novice Pin
Mike Dimmick9-Nov-06 6:07
Mike Dimmick9-Nov-06 6:07 
GeneralRe: Sign-On Question from Extreme Novice Pin
Jethro639-Nov-06 7:50
Jethro639-Nov-06 7:50 
Questionimage insertion in sqlserver Pin
yuvachandra9-Nov-06 1:13
yuvachandra9-Nov-06 1:13 
AnswerRe: image insertion in sqlserver Pin
saqib829-Nov-06 20:56
saqib829-Nov-06 20:56 
QuestionSQL Query ?? Pin
tadhg889-Nov-06 0:53
tadhg889-Nov-06 0:53 
QuestionRemote data access Pin
kalyanchakravarthi8-Nov-06 22:27
kalyanchakravarthi8-Nov-06 22:27 
Questionlook ahead in SQL Server Reporting Services Pin
dove118-Nov-06 13:55
dove118-Nov-06 13:55 
QuestionAccess and comparing dates Pin
eggsovereasy8-Nov-06 11:18
eggsovereasy8-Nov-06 11: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.