Create Function

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • OuTCasT
    Contributor
    • Jan 2008
    • 374

    Create Function

    I need to create a function that can accept string values and return the string value.

    Can anyone help ?
  • OuTCasT
    Contributor
    • Jan 2008
    • 374

    #2
    Code:
    Create Function GetHitmanID @hitmanid nvarchar(2)
    Returns Table
    As
    Return
    Select * from hitlist where hitmanid = @hitmanID
    -Execution-

    Code:
    select * from getHitmanID(1)

    Comment

    Working...