ssrs report

Is it possible to insert,update and delete statement through SSRS report?
LVL 5
VIVEKANANDHAN_PERIASAMYAsked:
Who is Participating?
 
liijaCommented:
Yes it is. It of course requires enough rights for the report user credentials.
0
 
VIVEKANANDHAN_PERIASAMYAuthor Commented:
Is there any sample rdl for this kind of report?

 enough rights for the report user credentials. << I didn't get this
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

 
liijaCommented:
Normally report user only has rights to read data.
Now, if the report has to write to db, more rights are required. Its not ok in every environment.

Report has SQL as data source, so in principle, whatever you are able to do with SQL, is possible to do with report.

Some things that I have done:
- write to own log table, more detailed log that SSRS can give e.g. used parameters
- save the user parameter defaults to db to be reused next time (SSRS doesn't have this capability)
- control the report printing - some data is allowed to be printed only once
0
 
VIVEKANANDHAN_PERIASAMYAuthor Commented:
Thanks,Is there any sample report like this?
0
 
liijaCommented:
Well, follow these instructions, create your first SSRS report:
http://www.soheib.com/technical-knowledge/create-your-first-ssrs-2008-report/

And replace the SQL in step 16 with this one:

SELECT
   Title,
   FirstName,
   LastName,
   EmailAddress,
   Phone
FROM Contacts
WHERE Title IS NOT NULL
UPDATE Contacts SET FirstName = LastName
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.