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.

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Difference between READONLY and READWRITE Variable

Author  Topic 

nishita_s
Yak Posting Veteran

61 Posts

Posted - 2013-01-24 : 01:55:19
Here if i use User::X as Readonly and assigning value in Script task it is allowing me to do that.So what is exactly is the difference between READONLY AND READWRITE variables in Script Task.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-01-25 : 01:34:24
ReadOnly wont allow you to assign values inside script task. for that you need to make it readwrite

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

nishita_s
Yak Posting Veteran

61 Posts

Posted - 2013-01-25 : 02:25:10
But it is allowing me to do that.
I took User::X as Readonly and assigned value 4 to it. and showed it in a message box.It allowed me to do this.
Thats why I am asking what is difference between readonly and Readwrite
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-01-25 : 03:24:40
hmm...thats impossible. Can you show the screenshot?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -