Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2003
    Location
    Romania
    Posts
    70

    Unanswered: INSERT INTO ... From a stored procedure

    For example:

    INSERT INTO Table_1
    SELECT
    Source_Table.Field_1,
    Source_Table.Field_2,
    Source_Table.Field_3,
    ???? OUTPUT parameter returnet from a stored procedure ???????
    FROM Source_Table

    Is posible this ?

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    You might be able to fake it via script, but I don't think that you can do it using just Transact-SQL syntax.

    -PatP

  3. #3
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    ...but it could probably be done EASILY using a User-defined Function.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •