Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

Trying to add a date parameter in Report Builder 3.0

$
0
0
I have the following code:[code]Select create_timeFrom ticket_historyAs CreateDate[/code]This of course works the way it supposed to and lists every ticket.I need to add a date parameter similar to the following the parameter is @BeginningDate[code]SELECT TransactionTypeCd, BookDtFROM spi.dbo.AccountStatsWHERE TransactionTypeCd = 'FlatCancel' AND BookDt BETWEEN (@StartDate) AND (@EndDate)[/code]I have tried adding a Where CreateDate = @BeginnignDate but that does not work.Can someone help me with the syntax on this?

Viewing all articles
Browse latest Browse all 2791

Trending Articles