Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2003
    Posts
    83

    Unanswered: Identity insert on

    After setting identity_insert on for a table is there any way by which I can insert multiple or a range of records at a time?

  2. #2
    Join Date
    Nov 2002
    Location
    Jersey
    Posts
    10,322
    From where?

    INSERT INTO myTable SELECT * FROM myOtherTable?

    Or do you mean From a file?

    BULK INSERT INTO myTable FROM 'C:\TEMP\newdata.dat'
    Brett
    8-)

    It's a Great Day for America everybody!

    dbforums Yak CorralRadio 'Rita
    dbForums Member List
    I'm Good Once as I ever was

    The physical order of data in a database has no meaning.

  3. #3
    Join Date
    Oct 2003
    Posts
    83
    I mean from any table between a range of data.

  4. #4
    Join Date
    Oct 2003
    Posts
    83
    I mean from any table between a range of data.

  5. #5
    Join Date
    Nov 2002
    Location
    Jersey
    Posts
    10,322
    Well the INSERT INTO should do it with a predicate (WHERE clause)


    Your next statement will be...

    How do I get the middle 500 rows...

    Yes?
    Brett
    8-)

    It's a Great Day for America everybody!

    dbforums Yak CorralRadio 'Rita
    dbForums Member List
    I'm Good Once as I ever was

    The physical order of data in a database has no meaning.

Posting Permissions

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