Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Stored procedure Create Common functions

Posted on 2007-11-24
5
Medium Priority
?
220 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 143

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 143

Accepted Solution

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

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

886 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