Click here to Skip to main content
15,921,716 members
Home / Discussions / Database
   

Database

 
Questionnth highest salary Pin
sudharsong9-Aug-06 21:37
sudharsong9-Aug-06 21:37 
AnswerRe: nth highest salary Pin
Arvind Srivastava9-Aug-06 21:47
Arvind Srivastava9-Aug-06 21:47 
AnswerRe: nth highest salary Pin
Ainapuram9-Aug-06 21:54
Ainapuram9-Aug-06 21:54 
GeneralRe: nth highest salary Pin
sudharsong9-Aug-06 22:49
sudharsong9-Aug-06 22:49 
GeneralRe: nth highest salary Pin
sudharsong9-Aug-06 23:38
sudharsong9-Aug-06 23:38 
AnswerRe: nth highest salary Pin
Paul Conrad10-Aug-06 5:56
professionalPaul Conrad10-Aug-06 5:56 
QuestionSelect distinct date? Pin
blurMember9-Aug-06 21:15
blurMember9-Aug-06 21:15 
Questionrunning a proc with parameter in reporting services Pin
uglyeyes9-Aug-06 16:39
uglyeyes9-Aug-06 16:39 
Hi I am using sql reporting services 2000.
I have a stored proc as below,

----------------
CREATE PROC Casual_Hirers_Event_List
(
@StartDate Datetime
,@EndDate Datetime
)
AS

SET NOCOUNT ON

SELECT VENUE.Venue_Name
,EVENT.Start_Date
,EVENT.End_Date
,EVENT.Event_Name
,EVENT.Event_Number
,STATUS_DESC.Status_RecNo
,EVENT.Event_Status_Desc_RecNo
FROM EVENT EVENT
INNER JOIN EVENT_VENUE EVENT_VENUE ON EVENT.Event_RecNo = EVENT_VENUE.Event_RecNo
INNER JOIN EVENT_STATUS EVENT_STATUS ON EVENT.Event_RecNo = EVENT_STATUS.Event_RecNo
INNER JOIN STATUS_DESC STATUS_DESC ON EVENT_STATUS.Status_RecNo = STATUS_DESC.Status_RecNo
INNER JOIN VENUE VENUE ON EVENT_VENUE.Venue_RecNo = VENUE.Venue_RecNo
WHERE (EVENT.Start_Date >= @StartDate)
AND (EVENT.Start_Date < @EndDate)
AND (STATUS_DESC.Status_RecNo = 4
OR STATUS_DESC.Status_RecNo = 37)
AND (EVENT.Event_Status_Desc_RecNo = 1)
ORDER BY VENUE.Venue_Name, EVENT.Start_Date

SET NOCOUNT OFF

Return
GO
----------------------

I want this proc to be executed in reporting service without creating another dataset which prompts me first for the start and end date and display the results.

is this possible in sql reporting services.

if i run with only one data set i get following error
----
c:\reports\casual hirers event list\Report1.rdl The report parameter ‘StartDate’ has a DefaultValue or a ValidValue that depends on the report parameter “StartDate”. Forward dependencies are not valid.

----

please help.
QuestionReturning latest location by date - Query Help [modified] Pin
martin_hughes9-Aug-06 10:06
martin_hughes9-Aug-06 10:06 
AnswerRe: Returning latest location by date - Query Help Pin
Eric Dahlvang9-Aug-06 10:28
Eric Dahlvang9-Aug-06 10:28 
QuestionCalculating Costs Pin
si_699-Aug-06 5:16
si_699-Aug-06 5:16 
AnswerRe: Calculating Costs Pin
Chris Meech9-Aug-06 5:39
Chris Meech9-Aug-06 5:39 
GeneralRe: Calculating Costs Pin
si_699-Aug-06 5:45
si_699-Aug-06 5:45 
AnswerRe: Calculating Costs Pin
Jon Sagara9-Aug-06 6:21
Jon Sagara9-Aug-06 6:21 
QuestionIs there any way I can get SQL to return XML wrapped in root tags ? Pin
Red_Wizard_Shot_The_Food9-Aug-06 4:55
Red_Wizard_Shot_The_Food9-Aug-06 4:55 
QuestionBulk insert into SQL Server 2005 with a Generic List .NET 2.0 Pin
abnorm9-Aug-06 3:03
abnorm9-Aug-06 3:03 
QuestionTwo BindingContext's don't work Pin
KeesVer9-Aug-06 1:22
KeesVer9-Aug-06 1:22 
Questionwav files Pin
md_refay8-Aug-06 11:30
md_refay8-Aug-06 11:30 
AnswerRe: wav files Pin
Colin Angus Mackay8-Aug-06 12:29
Colin Angus Mackay8-Aug-06 12:29 
QuestionStored procedures and DataAdapters Pin
TheJudeDude8-Aug-06 6:36
TheJudeDude8-Aug-06 6:36 
AnswerRe: Stored procedures and DataAdapters Pin
Stephen McGuire8-Aug-06 12:32
Stephen McGuire8-Aug-06 12:32 
GeneralRe: Stored procedures and DataAdapters Pin
Krisky8-Aug-06 20:59
Krisky8-Aug-06 20:59 
QuestionDatabase Projects: Is there an equivalent in VS2005 for Generate Command File from VS2003?? [modified] Pin
LongRange.Shooter8-Aug-06 6:03
LongRange.Shooter8-Aug-06 6:03 
QuestionSqlDataTable queries Pin
TintinV3ck8-Aug-06 1:54
TintinV3ck8-Aug-06 1:54 
AnswerRe: SqlDataTable queries Pin
Frank Kerrigan8-Aug-06 3:06
Frank Kerrigan8-Aug-06 3:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.