Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8901813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T01:27:16+00:00 2026-06-15T01:27:16+00:00

I know in SQL Server there is a way to get the inserted data,

  • 0

I know in SQL Server there is a way to get the inserted data, but I can’t for the life of me seem to remember the keywords to use.

Running a query was something along the lines of this:

INSERT INTO table1
OUTPUT inserted.id1, inserted.id2 INTO someOtherTable
(id1, id2) VALUES (1,2)

And when googling for output, inserted or other similar keywords I keep finding pages on using the insert or output keyword from a stored procedure. I know I’m not crazy and this this exist. I’m just wondering if someone could point me to the documentation page for it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T01:27:17+00:00Added an answer on June 15, 2026 at 1:27 am

    I believe you are looking for the inserted & deleted tables in SQL Server.

    http://msdn.microsoft.com/en-us/library/ms191300.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to know how can I use tinyint in SQL Server 2005
I know that in T-SQL (Server 2008 R2) I can use the 'Output' keyword
I know that SQL Server does not have boolean data type and your best
I know that SQL server use memory cache for the all operations by loading
I know you can do bulk XML inserts into SQL Server 2005 tables from
Does anyone know the best way to create a SQL Server CE (Compact 3.5)
Is there a way to know when the database is changed and get mail
I don't know much (really anything) about SQL Server 2008, but I just need
I know that I can't get a specific answer to my question, but I
Possible Duplicate: Is there a way to create a SQL Server function to "join"

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.