It’s T-SQL Tuesday time again, and this time it's about Trick Shots, my trick today is using SSRS to accept user input! Of course it’s not the best way to use SSRS as it’s a presentation layer and so limited in doing that using Parameters and sub-Reports which will fire a code or a stored procedure to update or delete a record…but IT COULD BE DONE!! The Trick: 1-I started by creating a new project in VS 2008, “Report Server Project” type. 2-I’m using SQL 2008 R2 as my testing platform…I’ve created a test DB called “Admin” CREATE DATABASE [Admin] 3-I created a test table called “Employees” contains only 3 columns. Create TABLE Employees ( ID int IDENTITY (1,1), Name varchar(50), Comments varchar(MAX) ) 4- Inserted 4 test records… Insert Employees VALUES('Jason', 'Lazy Employee') ,('Yousef', NULL) ,('John', 'Anything Goes') ,('Smith', NULL) 5-back to VS, Crea...