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 |
Can you tell me the difference between DELETE & TRUNCATE commands?
What is the order by used for?
How can I check if a view exists in a sql server database?
As per your opinion what are the five top responsibilities of a dba? : sql server database administration
What is the purpose of using COLLATE in a query?
What is self contained sub query?
What is The Use Of TIMESTAMP DataType in SQL Server 2005?
How you can change a cross join into an inner join?
Where is trigger in sql server?
How to use subqueries with the exists operators in ms sql server?
How to compare the top two records using sql?
How to optimize stored procedures in sql server?