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 |
|
Raju75
Starting Member
3 Posts |
Posted - 2008-03-18 : 14:30:21
|
| changes in 2008 version |
|
|
jimf
Master Smack Fu Yak Hacker
2875 Posts |
Posted - 2008-03-18 : 15:06:34
|
| Are you trying to UPdate an existing Record or insert a new one?Jim |
 |
|
|
Raju75
Starting Member
3 Posts |
Posted - 2008-03-18 : 15:40:43
|
| When ever the buisness Analyst change the data they want to get it Updated in the Backend.Please help me.Thanks in advance. |
 |
|
|
jimf
Master Smack Fu Yak Hacker
2875 Posts |
Posted - 2008-03-18 : 18:23:20
|
| This portion of the code above does updatingUPDATE TherapeuticAreaSET TherapeuticAreadescription =@TherapeuticAreaDescriptionFROM TherapeuticArea TA, iftTherapeuticArea iftaWHERE TA.TherapeuticAreaId=ifta.TherapeuticAreaIDAND Ifta.IFTID=@iftnoAnd TA.TherapeuticAreaId=@TherapeuticAreaIdYour statement can be written asUPDATE TherapeuticAreaSET TherapeuticAreadescription = 'cancer'WHERE TherapeuticAreaId = 3Hope that's what you're looking forJim |
 |
|
|
Raju75
Starting Member
3 Posts |
Posted - 2008-03-18 : 23:17:50
|
| Hi Jim,According to my code I am inserting if the conditions dont satisfy.Actually why I have to insert I dint understand.can you please look into my Tables and if Possible can you send me an update procedure for the given requirement.Hope I am not confusing you.Thanks in advanceRequirement:Pass in iftno,TherapeuticAreaid(TAID) to update backend with selected TherapeuticArea(TA) |
 |
|
|
|
|
|