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 |
andros30
Yak Posting Veteran
80 Posts |
Posted - 2010-10-26 : 11:49:52
|
I would like to know if I can create a report that points to a stored procedure where after I have generated my results it will update the table with a flag in a column already preset so that the next time I run the report, it does not return the same records. |
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2010-10-26 : 11:56:52
|
As far as I know it is not possible that a REPORT is updating anything... No, you're never too old to Yak'n'Roll if you're too young to die. |
|
|
andros30
Yak Posting Veteran
80 Posts |
Posted - 2010-10-26 : 12:01:25
|
quote: Originally posted by webfred As far as I know it is not possible that a REPORT is updating anything... No, you're never too old to Yak'n'Roll if you're too young to die.
I'm not sure if I was clear in my question. What I have is a stored procedure that has a select statement followed by an update statement. How will SSRS take this or will it take it? |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2010-10-26 : 12:27:11
|
Be sure you have: set nocount onAnd then give it a try... No, you're never too old to Yak'n'Roll if you're too young to die. |
|
|
|
|
|