Solved

Stored procedure Create Common functions

Posted on 2007-11-24
5
156 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]
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
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 and will be exposed to the many uses the SELECT statement has.

771 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

10 Experts available now in Live!

Get 1:1 Help Now