Viewing 15 posts - 91 through 105 (of 167 total)
Ok so no that I have that, I am looking to do a case so that if the value can be converted to minutes, hours or leave as seconds. Not...
November 4, 2014 at 2:31 pm
This is what I have done, then I take that and do a DATEDIFF on the 2 values to get the seconds.
CONVERT(varchar(8),CONVERT(datetime,case
...
November 4, 2014 at 1:55 pm
I am subtracting Pending time 735510.30987 from Delivered time 735510.40448 and get call duration 0.09474, but I want to convert this to standard time.
November 4, 2014 at 9:02 am
CONVERT(nvarchar(20),@startdate) + ' and ' + CONVERT(nvarchar(20),@enddate)
October 30, 2014 at 10:31 am
DECLARE @startdate datetime
declare @enddate datetime
set @enddate = '10/1/2014'
SET @startdate = '10/11/2014'
select field1,field2,COUNT(FIELD3) from TABLE where date between @startdate and @enddate group by field1,field2
October 30, 2014 at 9:19 am
I actually saw another problem with the code
I replaced between with "AND" and put BETWEEN where it should go.
between' + CONVERT(nvarchar(20),@startdate) + ' and+ CONVERT(nvarchar(20),@enddate) + ')
October 30, 2014 at 8:35 am
Now I am getting this error (Incorrect syntax near '8'.) after I converted the parameters to nvarchar.
October 30, 2014 at 8:26 am
Thank you, I will review this and give it a go, I'll post my results of the use of this process. Thank you again.
October 14, 2014 at 10:53 am
I didn't think that little of data would be that big of problem, but creating a dynamic table name is what has me stumped, from what I read it's not...
October 14, 2014 at 10:10 am
Yes it would, be however the data within these table is a lot, some more than 17mb, my lead advises not to load all of this as it would cause...
October 13, 2014 at 3:08 pm
Will this be the same with SSIS 2010?
October 10, 2014 at 9:03 am
Ok...This may be a strange question< but after the first initial load would I need to changed this SSIS package so it wouldn't reload all of these tables again. SO...
October 10, 2014 at 8:40 am
I have used this for files, but with table names I wouldn't know what or where to start, from what I have read says table names can't be dynamic.
October 10, 2014 at 8:21 am
Yes I did, and the example you provided did not help, but thanks for your attempt.
October 6, 2014 at 2:27 pm
Viewing 15 posts - 91 through 105 (of 167 total)