Viewing 15 posts - 91 through 105 (of 173 total)
Yes, the date field needs to be updated as well if other record matches
August 16, 2016 at 1:49 pm
It is inserting value in PAS table if the conditions matches or else updating values.
But the value for last_update_DT in stored proc is entered manually 08142016
even though when it matches...
August 16, 2016 at 12:53 pm
This table was already created and I am not sure if we can change the datatype now.
August 16, 2016 at 12:42 pm
It was from SQL Server Reports.
August 13, 2016 at 7:53 pm
I was able to find the information from Standard reports\Configuration Change history in sql server 2012.
August 13, 2016 at 6:55 pm
The value for deposit comes in form of text file with + in front of the numeric value that is the reason I had it as varchar.
August 7, 2016 at 3:56 pm
Thank you for your reply.
declare @deposit varchar(10)
set @deposit =+000000007000
select (COALESCE(CAST(NULLIF(ISNUMERIC(@deposit), 1) AS money),
CASE WHEN @deposit LIKE '%.%' THEN @deposit ELSE CAST(@deposit AS money) / 100.00...
August 7, 2016 at 3:55 pm
I have column with +000000007000 value and data type of column in varchar, I am trying to convert that data column to money\decimal.
Thanks.
August 6, 2016 at 1:58 pm
Got it. I can just do distinct count.
Thank you.
July 25, 2016 at 1:15 pm
Thank you this worked.
Other question would be how to find the count of unique values
July 25, 2016 at 12:54 pm
It didn't work for me.
Also, if the numeric value starting after 0 is of length 8 only I need to split to other column.
July 6, 2016 at 1:10 pm
Sorry to keep changing requirement:
ColA:
AAAA-AOP/W 00160000
ASSSS-DOU/W00160000
O/OF EEEE 00000000
So, I need to split the column on the criteria that if it starts with 0 then split it to...
July 6, 2016 at 12:50 pm
How do I split Characters and numbers from sql:
I have this data :DEP-A CALLEJ00025000
Need
cola ...
July 6, 2016 at 12:22 pm
It is not sometimes it can be
MDL-9054-1
Or It could be like this as well:
TX GMS-7000
July 5, 2016 at 1:54 pm
Viewing 15 posts - 91 through 105 (of 173 total)