Solved

Stored procedure Create Common functions

Posted on 2007-11-24
5
206 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

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.
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
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.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

627 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