Viewing 9 posts - 1 through 9 (of 9 total)
You mean like this? This is throwing error. I thought the convert 101 is for T-SQL.
CONVERT(DT_STR,REPLACE(LEFT((DT_WSTR,20)DATEADD("d",-1,DATEADD("m",DATEDIFF("m",(DT_DATE)"1901-01-01",GETDATE()),(DT_DATE)"1901-01-01")),10),"-","/"),101)
April 14, 2021 at 7:08 pm
Nevermind... I got it...
SELECT ID,
MIN(CASE AddrType WHEN 'Home' THEN HomeCity END) AS HomeCity,
MIN(CASE...
April 5, 2021 at 5:33 pm
I tried =IIf(Round(Fields!Qty1.Value,3) = Round(Fields!Qty2.Value,3),"Red","Black") and it is not working. Could it be because we have some NULL values?
September 3, 2020 at 6:08 pm
It is giving me error on TRIM that 'TRIM' is not a recognized built-in function name. We are on SQL Server 2016.
August 28, 2020 at 7:28 pm
I am sorry. I should have been more clear. Actually I would like to DELETE the records which are NOT matching.
July 20, 2020 at 8:09 pm
select Replace(Reverse(stuff(reverse(@Text),CHARINDEX(reverse('files_'),reverse(@Text)),len(@Text),'')),'.xls','')
January 24, 2020 at 7:25 pm
Don't know how come I missed that. The BWAvg will be NULL when the data is inserted and will be updated later.
insert into tblData3 Values ('4567','ABC',NULL)
insert into...
November 19, 2019 at 2:44 pm
It comes in file and then we have SSIS package to insert it into SQL table which has data type of varchar. Now when we want to use the Amount...
October 30, 2019 at 5:49 pm
I had tried string_function, but that only output single column.
Thanks
July 25, 2019 at 6:31 pm
Viewing 9 posts - 1 through 9 (of 9 total)