Solved

Stored procedure Create Common functions

Posted on 2007-11-24
5
181 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 250 total points
ID: 20344162
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access join syntax when converting to T-SQL query 4 34
SQL, add where clause 5 24
SQL Query 2 33
SQL USE DATABASE VARIABLE 5 28
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

860 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