Viewing 15 posts - 8,281 through 8,295 (of 9,641 total)
That is what the multivalued parameter is for. You need 2 datasets in your report. Dataset 1 will return a list of employee names and ids and dataset...
July 24, 2008 at 7:18 am
david.sims (7/23/2008)
July 23, 2008 at 8:45 pm
Grant Fritchey (7/23/2008)
July 23, 2008 at 8:25 pm
Are you using SSRS 2000 or 2005? In 2005 you can create a Multi-Value drop-down list parameter that passes a commas delimited list. In your Report you would...
July 23, 2008 at 2:30 pm
Here are a couple of T-SQL options:
[font="Courier New"]IF @ActionID IS NULL -- or @ActionId = [DefaultValue]
BEGIN
SELECT
*
FROM
dbo.Actions
END
ELSE
BEGIN
SELECT
*
FROM
dbo.Actions
WHERE
ActionID = @ActionId
END
-- OR
SELECT
*
FROM
dbo.Actions
WHERE
ActionId = CASE
WHEN @ActionID IS NULL THEN @ActionID--...
July 23, 2008 at 2:13 pm
I just ran these procs I created to answer another forum question in AdventureWorks:
[font="Courier New"]ALTER PROCEDURE temp_table_test_1
AS
CREATE TABLE #test
(
test_id INT IDENTITY(1,1),
test NVARCHAR(50)
)
INSERT INTO #test
(
test
)
SELECT
name
FROM
production.product
SELECT * FROM #test
EXEC temp_table_test_2
SELECT *...
July 23, 2008 at 2:04 pm
spamhdp (7/23/2008)
I am pretty sure I have seen this behavior on my SQL. I mean, update a value, query it and have the old value for a few seconds, and...
July 23, 2008 at 1:56 pm
You could put a textbox on the report and set the visibility (Hidden Property) by checking the value of the parameter like this =IIF(Parameters!test.Value = "x", False, True) and set...
July 23, 2008 at 1:44 pm
You cannot pass a temporary table to a stored procedure. You can create a temporary table in stored procedure 1 and then manipulate the data in the temporary table...
July 23, 2008 at 1:24 pm
kayuca (7/23/2008)
July 23, 2008 at 10:02 am
Andy,
Good advice from both Grant and Herve. You should also know that you can use Profiler to create the trace, script it, and then run it on the server...
July 23, 2008 at 9:51 am
In SSMS connect to a server using Object Explorere then Go to SQL Server Agent -> Jobs. Right-click -> New Job, etc..
July 23, 2008 at 9:32 am
Cross post. Original here: http://www.sqlservercentral.com/Forums/Topic539362-145-1.aspx
July 23, 2008 at 9:03 am
If currently the data from DB2 is being loaded nightly, why is there a need to hit it dynamically now?
Also your biggest hit as a percentage of the query plan...
July 23, 2008 at 8:45 am
Please do not cross post. Original post is here: http://www.sqlservercentral.com/Forums/Topic539275-1063-1.aspx
July 23, 2008 at 8:16 am
Viewing 15 posts - 8,281 through 8,295 (of 9,641 total)