can we call functions from stored procedure in SQL Server
2005 ? How?

Answers were Sorted based on User's Feedback



can we call functions from stored procedure in SQL Server 2005 ? How?..

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

can we call functions from stored procedure in SQL Server 2005 ? How?..

Answer / mukki

Yes

Is This Answer Correct ?    19 Yes 5 No

can we call functions from stored procedure in SQL Server 2005 ? How?..

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

Post New Answer

More SQL Server Interview Questions

Can you tell me the difference between DELETE & TRUNCATE commands?

15 Answers  


What is the order by used for?

0 Answers  


How can I check if a view exists in a sql server database?

0 Answers  


As per your opinion what are the five top responsibilities of a dba? : sql server database administration

0 Answers  


What is the purpose of using COLLATE in a query?

1 Answers  






What is self contained sub query?

0 Answers  


What is The Use Of TIMESTAMP DataType in SQL Server 2005?

6 Answers  


How you can change a cross join into an inner join?

0 Answers  


Where is trigger in sql server?

0 Answers  


How to use subqueries with the exists operators in ms sql server?

0 Answers  


How to compare the top two records using sql?

0 Answers  


How to optimize stored procedures in sql server?

0 Answers  


Categories