Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Column default value

Status
Not open for further replies.

AndrejSlo

Programmer
Jun 14, 2005
3
SI
Hi,

i was just wondering if the default value for a column can be set if i only have ("what should be") systables available (i'd like to update destination database to the current state with all the neccesary design modifications and i only have database "snapshot" consisting of all the sys* tables). In sysobjects, there is a row with the appropriate default ID, but default value isn't there. Is there a way to reconstruct it from systables or is it stored only in table definition (which is hmmm [surprise], in systables )?
Thanks for your help !
 
Ok, should have checked syscomments where everything is recorded. Problem solved.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top