Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

can i write function in stored procedure and stored
procedure in function and nested procedure.Give one example
for each question?

Answer Posted / dba

You cannot define stored procedures (SP) or user-define
functions (UDF) in a nested fashion. However, you can
execute SPs and UDFs inside of stored procedures. The
nesting is limited to 32 levels deep (A calls B, which calls
C, etc). So if a recursive call is used (A calls A), you
must have some method of stopping before 32 levels is exceeded.

You can call SPs and UDFs from inside of a UDF, but this
ability is quite limited. If a SP has any side effect, it
cannot be called. So, the SP cannot be used to return any
values to the function.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the name of reporting services config file and what’s it’s used for?

132


What are translations and its use? : sql server analysis services, ssas

992


Explain about Normalization?

1012


How to update multiple rows with one update statement in ms sql server?

1135


Sql server reporting services vs. Crystal reports.

118


how many layers of tcp/ip protocol combined of? : Sql server database administration

937


how will add additional conditions in sql?

1013


What is constraints and its types?

876


Explain error and transaction handling in sql server?

953


What is dbcc updateusage?

1151


Suppose you want to implement the one-to-one relationships while designing tables. How would you do it?

912


How to rename databases in ms sql server?

1126


‘Order by’ is not allowed in a view how can you sort information from a view?

1019


What is the main purpose of having conversation group?

846


In my application I have a process which picks the scanned files (tif format) from a shared location and it links to application and shown on it.The actuall issue is that my process picks the file before it is completly written or scanned which results in displaying few parts of the image or incomplete image.I need to check if the file is not completly scanned or written then do not link it to application.Please help if any body tell me that how can i check that file is in written phase or locked through DTS.thanking you in advance

1922