can we call functions from stored procedure in SQL Server
2005 ? How?
Answers were Sorted based on User's Feedback
Answer / monal
Yes you can call function from stored procedure, so far i
haven't had a chance to use it, but still would like to give
it a shot:
As per my guess you can call function in SP using select
statement as you would execute function usually.
Is This Answer Correct ? | 26 Yes | 5 No |
Answer / suraj
Yes, we can.
Eg:
create proc Test
as
select getdate()
GO
-- EXEC Test
-- in the above query getdate() is a system function.
Is This Answer Correct ? | 16 Yes | 5 No |
How to update values in a table with update statements in ms sql server?
what is mean by constraints in sql?
What is the difference between Normalization and De-normalization?
If no size is defined while creating the database, what size will the database have?
There are two tables (T1, T2) with different rows. Find the output of query. Select count(*) from T1,T2.
Can you name a few encryption mechanisms in sql server?
What is the meaning of sql server?
what information is maintained within the msdb database? : Sql server administration
How to tune a stored procedure?
Suppose i have one sql query that contains 2 minute to execute.After one weekly i am executing same query that is taking 5 minute.Why our same query is taking more time.what would be my approach to reduce execution time.Please help.
1 Answers Cognizant, HCL, Value Labs,
What is a raid and what are different types of raid configurations?
What is the importance of a recovery model?