SQL Server Central is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
Search:  
 
 

Content with tag User-Defined functions Rss

Refine your search with one of the following additional tags (with number of items):

T-SQL (14)     Configuring (2)     Security (2)     Monitoring (1)    
SQL Server 7, 2000 (4)     DTS (2)     Stored Procedures (2)     OpenXML (1)    
Basic Querying (3)     Indexing (2)     Triggers (2)     Replication (1)    
Miscellaneous (3)     Installation (2)     Advanced Querying (1)     UpdateGrams (1)    
Administering (2)     Performance Tuning (2)     Distributed Queries (1)     XML (1)    
Backup and Recovery (2)     Performance Tuning and Scaling (2)     English Query (1)     XSL (1)    
   Items 1 to 14 of 14   
 

Complex Computed Columns

Computed columns in SQL Server 2000 allow you to have a calculated value available easily in a query. However by using a function instead of a simple formula you can build some very interesting solutions. New author Tim Chapman brings us a look at this technique.   Read more...
By Tim Chapman 2006/05/09 | Source: SQLServerCentral.com | Category: User-Defined functions
Rating: |  Discuss |  Briefcase | 13,408 reads

Tokenizing a String Using PARSENAME

SQL Server string manipulation using T-SQL leaves lots to be desired. Many postings and complaints about T-SQL deal with strings, but there are ways to work with it. Author Eli Leiba brings us a way to split out portions of a string that contains tokens with a user defined function. Read on to see how this is accomplished and the code used to perform the splitting.   Read more...
By Eli Leiba 2004/12/27 | Source: SQLServerCentral.com | Category: User-Defined functions
Rating: |  Discuss |  Briefcase | 8,420 reads

SQL 2000 User Defined Function Primer

Many programming languages have supported User Defined Functions for years, but they are new to SQL Server 2000. In this article we will look at some of the ways functions can be used within SQL Server 2000.   Read more...
By Neil Boyle 2004/10/22 (first posted: 2001/05/02) | Source: SQLServerCentral.com | Category: User-Defined functions
Rating: |  Discuss |  Briefcase | 17,848 reads

Exotic use of User Defined Function

User defined functions were added in SQL Server 7 and enhanced in SQL Server 2000, but they are still a relatively little used feature. Here's a look at a unique way that Leo Peysakhovich solved a problem using a UDF.   Read more...
Rating: |  Discuss |  Briefcase | 10,076 reads

Date Time Values and Time Zones

Dinesh looks at the date functions, how to work with time zones (or not), and does a brief comparison to see how you do similar tasks in Oracle.   Read more...
By Dinesh Asanka 2003/12/22 | Source: SQLServerCentral.com | Category: Advanced Querying
Rating: |  Discuss |  Briefcase | 12,774 reads

UDF as Computed Column Part 2

Dinesh is back with another article on user defined functions, giving some more great examples. If you haven't read the first one, definitely go back and read it first.   Read more...
Rating: |  Discuss |  Briefcase | 6,358 reads

UDF as Computed Column

UDF's are useful if somewhat tricky. Dinesh uses a common scenario where you have a self referencing table (the common example is an employees table where each employee has a managerid that links to another employee in the same table) to illustrate how a UDF can make querying easier, how to use it as the basis of a computed column, and how to index that column.   Read more...
Rating: |  Discuss |  Briefcase | 8,256 reads

Monitoring Performance

Vicktor has a bunch of scripts he uses to monitor performance, he explains why he built them and how to use them. Good coverage of the different reasons for slow performance.   Read more...
Rating: |  Discuss |  Briefcase | 13,985 reads

Review of SQL 2000 Fast Answers

A monster book at 980 pages, it's written in 'how-to' format and has a ton of good material. Andy gave it the once over for us and reports back - see what he thinks!   Read more...
By Andy Warren 2003/04/18 | Source: SQLServerCentral.com | Category: Installation
Rating: (not yet rated) |  Discuss |  Briefcase | 16,998 reads

Review of SQL Server 2000 Programming (MSPress)

Andy sits down with an entry level book to see if he should use it at work as a teaching aid. Did he like it? Should you buy it? Read the review now!   Read more...
By Andy Warren 2002/06/04 | Source: SQLServerCentral.com | Category: Installation
Rating: (not yet rated) |  Discuss |  Briefcase | 6,234 reads

Some Useful UDFs for SQL Server 2000

Alxander Chigrik presents some useful User Defined Functions you can add to your SQL Server.   Read more...
Rating: |  Discuss |  Briefcase | 7,960 reads

A Few Meta Data UDFs

Alexander Chigrik presents a few UDFs he has developed for getting meta data about your database objects.   Read more...
Rating: (not yet rated) |  Discuss |  Briefcase | 3,809 reads

A Few Mathematical UDFs

Alexander Chigrik presents a few Math UDFs he has developed for common functions.  Read more...
By Alexander Chigrik 2001/10/09 | Source: SQLServerCentral.com | Category: Basic Querying
Rating: |  Discuss |  Briefcase | 5,615 reads

SQL Server 2000 User-Defined Functions White Paper

The User_Defined_Functions.exe file contains the User-Defined Functions white paper. The User-Defined functions white paper outlines the characteristics of the new user-defined function (UDF) feature that is introduced in Microsoft SQL Server 2000. The white paper also summarizes how you can create your own Transact-SQL functions to extend the programmability of Transact-SQL.   Read more...
By Additional Articles 2001/08/31 | Source: Microsoft MSDN | Category: Miscellaneous
Rating:  Rate this |  Briefcase | 1,507 reads

SQL 2000 User Defined Function Primer

Many programming languages have supported User Defined Functions for years, but they are new to SQL Server 2000. In this article we will look at some of the ways functions can be used within SQL Server 2000.   Read more...
By Neil Boyle 2004/10/22 (first posted: 2001/05/02) | Source: SQLServerCentral.com | Category: User-Defined functions
Rating: |  Discuss |  Briefcase | 17,848 reads
   Items 1 to 14 of 14   
 
Most popular

Complex Computed Columns

Computed columns in SQL Server 2000 allow you to have a calculated value available easily in a query. However by using a function instead of a simple formula you can build some very interesting solutions. New author Tim Chapman brings us a look at this technique.   Read more...
By Tim Chapman 2006/05/09 | Source: SQLServerCentral.com | Category: User-Defined functions
Rating: |  Discuss |  Briefcase | 13,408 reads

Exotic use of User Defined Function

User defined functions were added in SQL Server 7 and enhanced in SQL Server 2000, but they are still a relatively little used feature. Here's a look at a unique way that Leo Peysakhovich solved a problem using a UDF.   Read more...
Rating: |  Discuss |  Briefcase | 10,076 reads

Date Time Values and Time Zones

Dinesh looks at the date functions, how to work with time zones (or not), and does a brief comparison to see how you do similar tasks in Oracle.   Read more...
By Dinesh Asanka 2003/12/22 | Source: SQLServerCentral.com | Category: Advanced Querying
Rating: |  Discuss |  Briefcase | 12,774 reads