Viewing 13 posts - 16 through 28 (of 28 total)
Solution Found:
Line: chppon Not In ('OUT', 'NAB', 'NHB',' ', 'NON') was missing second )
should of read: chppon Not In ('OUT', 'NAB', 'NHB',' ', 'NON'))
otherwise it...
March 17, 2016 at 2:07 pm
I tested that but it still doesn't like that second select for some reason
March 17, 2016 at 1:44 pm
New error:
Msg 156, Level 15, State 1, Line 12
Incorrect syntax near the keyword 'Select'.
;with cte as (select chppon, datediff(day,
case when chrcdt between 19000101 and 30000101 then
convert(date,cast(chrcdt as varchar(8)),112) end,...
March 17, 2016 at 1:32 pm
unfortunately it is built into the software that way. I cant alter the production database column types. I can create temp tables.
Lowell (3/17/2016)
March 17, 2016 at 12:16 pm
Lynn Pettis (3/17/2016)
Try converting the integer values to character strings first, then to datetime.
Can you provide an example as I am not used to this version of SQL?
March 17, 2016 at 12:08 pm
Yes it worked. I just wanted to make sure incase I need to run the other direction as this query is about 12 pages long already. Working with over 300...
March 15, 2016 at 8:04 am
Phil Parkin (3/15/2016)
WHERE [column] not in ('x','y','z')
So in order to Flip this Statement to True what would I change "Not in" too?
March 15, 2016 at 7:58 am
can you give me an example of how to place that statement?
Does it go in the FROM section or the WHERE section?
March 15, 2016 at 7:11 am
unfortunately I do not have those options see screen shot attached.
Luis Cazares (3/10/2016)
rcooper 78099 (3/10/2016)
=DateAdd("d",-1,Today())I am assuming it would be
=DateAdd("d",+1,Today())
or
=DateAdd("d",1,Today())
which have both not worked.
What do you mean by have not...
March 10, 2016 at 12:53 pm
The value provided for the report parameter 'ChkPrintDate' is not valid for its type.
This is the error produced on my front end.
March 10, 2016 at 12:50 pm
I am told that both of those are incorrect
with a basic error of Value not recognized.
March 10, 2016 at 12:46 pm
=DateAdd("d",-1,Today())
I am assuming it would be
=DateAdd("d",+1,Today())
or
=DateAdd("d",1,Today())
which have both not worked.
March 10, 2016 at 12:15 pm
so in SSRS what if I wanted the date to always be tomorrows date?
March 10, 2016 at 7:02 am
Viewing 13 posts - 16 through 28 (of 28 total)