Viewing 15 posts - 1 through 15 (of 22 total)
Thanks guys ...... Got it to work!!! The nvarchar column is part of a different table and basically this update is used in a stored procedure where multiple columns are...
July 24, 2012 at 3:21 pm
Jared I know you have commented on one of my other posts about this same procedure so we will see if this code looks familiar, but here is the code...
July 11, 2012 at 7:52 am
Jeff I think this is just being used within the company to protect some of the more sensitive client information from employees within the company that may have "devious agendas"....
July 11, 2012 at 7:20 am
Jared, believe me you are not the only person that is asking that same question. If I had to guess, I would say that this is something relatively low priority...
July 10, 2012 at 3:12 pm
Jared,
The data is being used in a production environment and the purpose of this data obfuscation is just to prevent any sensitive data from being seen by people that...
July 10, 2012 at 2:32 pm
Thank you for your response. I ran it and it seems to work great thanks! ..... That being said, it doesn't seem to be "jiving" with my procedure that the...
July 10, 2012 at 1:38 pm
if(@aud_flag = 1)
begin
Print @STR
EXEC (@str)
Print convert(varchar(10),@@rowcount) + ' rows updated for ' + @database_name + '.' + @schema_name + '.' + @table_name
end
else
begin
set @aud_str = 'select count(*) from '...
June 13, 2012 at 2:00 pm
I used the pseudocode that Cindy posted to solve my @@rowcount issues and was able to achieve the desired output. I started getting various other errors when I added the...
June 13, 2012 at 1:59 pm
FINALLY!!! ....... I got it to work and it was a problem with the @@rowcount. Also there was some setting in SSMS that was disabled or something that's why I...
June 13, 2012 at 1:41 pm
@@rowcount returns the number of rows affected by the last statement so this could be an issue, but I'm pretty sure count(*) should return the number of rows in a...
June 13, 2012 at 1:07 pm
Ok here is the entire procedure, but keep in mind that the script runs just fine and I am not interested in any performance related stuff, "Why did you do...
June 13, 2012 at 12:33 pm
Sorry I posted it ^^ but it went to a new page. The procedure itself executes successfully, but when I try to execute it using the statement exec insert_table_column('dbo', 'test1',...
June 6, 2012 at 12:10 pm
In my code I had quotes around it (typo when I posted). Putting quotes around it does not help. Same error ... same place.
June 6, 2012 at 12:04 pm
Thank you all for your responses ..... I was able to get the procedure to run, but now when I call the procedure it gives me an error. It's just...
June 6, 2012 at 10:44 am
Viewing 15 posts - 1 through 15 (of 22 total)