Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
MSSQL
Store Procedure Function 45 codes
Home
MSSQL
Store Procedure Function
1 A Recursion
2 A scalar function accepts any number of parameters and returns one value
3 Call the stored procedure
4 Check to see if a procedure exists
5 Creating a Parameterized Stored Procedure
6 Define function to get last name
7 Define procedure to insert or update
8 Define user function and use it in select statement
9 Drop a procedure
10 Example of Dynamic Database Context with EXEC()
11 Example to execute the store procedure
12 EXEC
13 EXEC sp_help name
14 Execute a statement
15 Execute a system function
16 Function Returning a Scalar Value
17 Function returning a sub table
18 Inline Table-Valued Functions
19 Multi-Statement Table-Valued Functions
20 Nvarchar parameter
21 Paraemter with NULL value
22 Pass table column to a user defined function
23 Performing Data Manipulation
24 Processing Return Status Values
25 RECOMPILE(ing) a Stored Procedure Each Time It Is Executed
26 Return a table-join result
27 Return int value from function
28 Return only one value from the procedure
29 Return the result of a query from a function
30 Returning a Single Result Set from a procedure
31 Select from a function returning a table
32 Specifying a Default Parameter Value
33 Store Procedure
34 Stored procedure can be executed with the parameter and assigned value
35 Stored Procedures as Parameterized Views
36 Table join with data returned from function
37 The parameters can be passed explicitly by value
38 Transaction in a procedure
39 Use defined function (UDFs) That Return a Table
40 Use of Functions in Sql statement Concatenation and EXEC
41 Use procedure as a parameteried view
42 Using OUTPUT Parameters
43 Using Parameters
44 Using the system date as a default parameter
45 You can specify the parameters by name