Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
deep2006
Starting Member
3 Posts |
Posted - 2006-08-23 : 14:16:33
|
| I have two fields CourseID and Erpid in table.CourseID has identity property with integer datatype.I need to add a default value for Erpid column which will show a value like 'A' + CourseID column. Erpid is Varchar column.How can I use Convert function in default constraint? Or shall I use a Trigger?Thanks! |
|
|
Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)
7020 Posts |
|
|
|
|
|