Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Composite primary key Table Insertion Problem in SQL

Composite primary key Table Insertion Problem in SQL

Scheduled Pinned Locked Moved Database
databasehelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vishnukamath
    wrote on last edited by
    #1

    hi, i have to insert record in table ,and it has Composite Primary Keys col 1=PRJID and Col2=RSRID and both columns has foreign keys on two tables. The problem was when i try to insert a record in table through query analyzer ,i got error msg as time out expire and my lan connection also working fine.

    B 1 Reply Last reply
    0
    • V vishnukamath

      hi, i have to insert record in table ,and it has Composite Primary Keys col 1=PRJID and Col2=RSRID and both columns has foreign keys on two tables. The problem was when i try to insert a record in table through query analyzer ,i got error msg as time out expire and my lan connection also working fine.

      B Offline
      B Offline
      Bassam Saoud
      wrote on last edited by
      #2

      If a reindexing is going on in that table or the table is being locked by another update/insert that could happen I guess... or maybe a snipper [you are blocking someone else so DBA killed your connection or something like that]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups