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 |
|
jim_jim
Constraint Violating Yak Guru
306 Posts |
Posted - 2011-01-25 : 16:42:20
|
| I need to alter the below stored procedure such that whenever the asgto value is being inserted to the database as NullIt needs to be changed to 10ALTER PROCEDURE [dbo].[Assignment](@RDID as int=null,@AsgTo as int=null,@AgnDt datetime = null)ASUPDATE SELECTED_REPORTSET assignto =@AsgTo, Confirmdt = @AgnDtWHERE reqid = @RQIDneed helpThanks |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
jim_jim
Constraint Violating Yak Guru
306 Posts |
Posted - 2011-01-26 : 10:19:53
|
| It actually did not work for me.It is still inserint null values to the table |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
|
|
|