Viewing 15 posts - 31 through 45 (of 85 total)
using Microsoft.SqlServer.Dts.Runtime
should be there in the namespace list.
September 3, 2014 at 7:08 am
I believe there is a better way to this.
--(Employee) (Allocated_From) (Allocated_To) (Allocation)
--(E1) (2014-08-08 ) (2014-09-07) (36)
--(E1) (2014-09-08 ) (2014-10-30) (76)
--(E1) (2014-11-01 ) ( 2014-11-30) (40)
;with Employee(Emp,Project,Allocation,Allocated_From,Allocated_To)
as (select 'E1','P1',36,'2014/08/08','2014/10/30'
union all
select...
September 2, 2014 at 2:55 pm
Not able to figure out how to handle the allocation. Can some one take it fwd to the final solution.
--(Employee) (Allocated_From) (Allocated_To) (Allocation)
--(E1) (2014-08-08 ) (2014-09-07) (36)
--(E1) (2014-09-08 ) (2014-10-30)...
September 2, 2014 at 9:29 am
sp_help[spname] already do that job. you have any specific reason to do that in the sp with an additional parameter.
August 29, 2014 at 8:33 am
tdanley (8/29/2014)
August 29, 2014 at 7:49 am
errolthomasql (8/28/2014)
since i cant change the data type for existing columns in the Derived Column transformation
We cann't change the data type for existing columns but you can always...
August 28, 2014 at 9:41 am
I have tried the following in Derived Column Transformation editor and failed
REPLACE(REPLACE([QuantityUnits],”(“,”-”),”)“,””)
I don't understand whythat is not working for you in the Derived Column Transformation .
I used exactly the same...
August 28, 2014 at 8:51 am
SELECT distinct jNMBR, sNMBR FROM #myTable
WHERE cDate IS NOT NULL
August 28, 2014 at 7:39 am
rxm119528 (8/27/2014)
with CTE AS(select * from dbo.test where diagnosis = '427.31' and DiagnosisSeqID>1
union all
select * from dbo.test
where DiagnosisSeqID = 1 and diagnosis...
August 28, 2014 at 6:52 am
Can you upload the sample CSV file. I am not able to reproduce the problem.
August 27, 2014 at 2:38 pm
As per my understanding of the requirment
with CTE AS(select * from dbo.test where diagnosis = '427.31' and DiagnosisSeqID>1
union all
select * from dbo.test
where DiagnosisSeqID = 1 and diagnosis in...
August 27, 2014 at 12:51 pm
First In your SSIS package you are going to save you row count into variable (for example vartotal).
Then when you open the script task editor, in the script section you...
August 27, 2014 at 12:02 pm
keshabsingh (8/27/2014)
Hints: you need to join the same table multiple times.
with CTE(rn,steps)
As
(
select row_number() over ( order by steps),steps from #table1)
select t1.steps,t2.steps from CTE t1
left outer join CTE t2
on t1.rn =...
August 27, 2014 at 10:09 am
I am able to bring it to this level.
Not getting how to handle the nulls in unipovt.
May be someone will be have a better answer.
declare @sample table(
NHS_NUMBER_ANON varchar(14),
NHS_NUMBER...
August 26, 2014 at 8:41 am
declare @d datetime = '2/1/2014 05:28:13 AM'
select dateadd(HOUR,-3,@d)
August 25, 2014 at 2:54 pm
Viewing 15 posts - 31 through 45 (of 85 total)