AdventureWorks Database > dbo Schema : dbo.ufnGetContactInformation User Defined Function |
Creation Date | 08/01/2010 08:41 |
Encrypted | ![]() |
Ansi Nulls | ![]() |
Parameter | Direction | Description | Data Type | Size |
---|---|---|---|---|
@ContactID | In | Input parameter for the table value function ufnGetContactInformation. Enter a valid ContactID from the Person.Contact table. | int | 4 |
@TABLE_RETURN_VALUE | Return Value | Result table returned by table valued function | 0 | 0 |
Database Object | Object Type | Description | Dep Level | |
---|---|---|---|---|
![]() | dbo.AccountNumber | User Defined Data Type | 3 | |
![]() | Person.Contact | Table | Names of each employee, customer contact, and vendor contact. | 1 |
![]() | Person.ContactType | Table | Lookup table containing the types of contacts stored in Contact. | 1 |
![]() | Sales.Customer | Table | Current customer information. Also see the Individual and Store tables. | 2 |
![]() | HumanResources.Employee | Table | Employee information such as salary, department, and title. | 1 |
![]() | dbo.ErrorLog | Table | Audit table tracking errors in the the AdventureWorks database that are caught by the CATCH block of a TRY...CATCH construct. Data is inserted by stored procedure dbo.uspLogError when it is executed from inside the CATCH block of a TRY...CATCH construct. | 4 |
![]() | Sales.Individual | Table | Demographic data about customers that purchase Adventure Works products online. | 1 |
![]() | dbo.NameStyle | User Defined Data Type | 2 | |
![]() | dbo.Phone | User Defined Data Type | 2 | |
![]() | Sales.SalesPerson | Table | Sales representative current information. | 3 |
![]() | Sales.SalesTerritory | Table | Sales territory lookup table. | 3 |
![]() | Sales.Store | Table | Customers (resellers) of Adventure Works products. | 2 |
![]() | Sales.StoreContact | Table | Cross-reference table mapping stores and their employees. | 1 |
![]() | dbo.ufnLeadingZeros | User Defined Function | Scalar function used by the Sales.Customer table to help set the account number. | 3 |
![]() | dbo.uspLogError | Stored Procedure | Logs error information in the ErrorLog table about the error that caused execution to jump to the CATCH block of a TRY...CATCH construct. Should be executed from within the scope of a CATCH block otherwise it will return without inserting error information. | 3 |
![]() | dbo.uspPrintError | Stored Procedure | Prints error information about the error that caused execution to jump to the CATCH block of a TRY...CATCH construct. Should be executed from within the scope of a CATCH block otherwise it will return without printing any error information. | 3 |
![]() | Purchasing.Vendor | Table | Companies from whom Adventure Works Cycles purchases parts or other goods. | 2 |
![]() | Purchasing.VendorContact | Table | Cross-reference table mapping vendors and their employees. | 1 |
|