Solved

Stored procedure Create Common functions

Posted on 2007-11-24
5
165 Views
Last Modified: 2010-03-19
Currently I am using SQLServer 2005 and Stored Procedures. Can you please list down Commom UserDefined functions that can be used in my Stored Procedures......... currently I have Storedproc's returning Data, Insert and Update Operations.
0
Comment
Question by:dotnet0824
  • 2
  • 2
5 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 20343847
I am not 100% sure what you are asking for?
I mean, "common userdefined functions" ... are you trying to find out what functions are commonly created/used in databases, for general usage?
0
 
LVL 6

Expert Comment

by:PaultheBroker
ID: 20343912
hmmm -  Maybe try searching EE for 'user defined function' in the database zone to give you some kind of idea of how and why you might want to use a function.  Mainly though you use them for bits of Business Logic that you think you will want to reuse in several different stored procedures in an application - so they tend to be (a) personal (I might have a few favourite ways to handle dates or suchlike) and/or (b) application specific - so there probably ain't no such thing as 'common' user defined functions ...
0
 

Author Comment

by:dotnet0824
ID: 20344151
hi angel am not 100% sure what you are asking for?
I mean, "common userdefined functions" ... are you trying to find out what functions are commonly created/used in databases, for general usage

Yes ur right
0
 

Author Comment

by:dotnet0824
ID: 20344153
Generic UserDefined functions which would be useful in any CRUD Operations I mean
0
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 250 total points
ID: 20344162
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now