Viewing 15 posts - 466 through 480 (of 1,233 total)
I myself advocate for the lowest possible granularity unless you know for sure you wont need the details. For example, can one of those transactions be reversed at a later...
October 3, 2016 at 12:51 pm
this has to be done by grouping and expression in ssrs . So , cannot use CTE.
I am curious about this requirement. Would you mind sharing why?
October 3, 2016 at 12:32 pm
Another way to approach this is if you have a rowID column in your table , you can derive one into a temp table from the base table if you...
September 30, 2016 at 4:53 pm
Hmm, I would rather do this in the SQL code ...
I scrapped up the following >>
with cte as
(
selectcast('20140701' as date) as cteDate
Union all
selectdateadd(d, 1,c.cteDate)
fromcte as c
wherec.cteDate <'20140731'
)
,nextCte as
(
select top...
September 30, 2016 at 4:35 pm
Spiff (9/29/2016)
MMartin1 (9/29/2016)
(DT_DATE)((DT_WSTR, 4) year(getdate())+"-"+ REPLICATE( "0", 2-LEN((DT_WSTR, 2)(month(getdate())+1) )) + (DT_WSTR, 2)( month(getdate())+1) +"-01")
EDIT : This will give you...
September 29, 2016 at 4:25 pm
xr280xr (9/29/2016)
drew.allen (9/26/2016)
Luis Cazares (9/26/2016)
drew.allen (9/26/2016)
xr280xr (9/26/2016)
September 29, 2016 at 3:33 pm
In the SSIS expression builder , enter:
(DT_DATE)((DT_WSTR, 4) year(getdate())+"-"+ REPLICATE( "0", 2-LEN((DT_WSTR, 2)(month(getdate())+1) )) + (DT_WSTR, 2)( month(getdate())+1) +"-01")
EDIT : This will give you the first...
September 29, 2016 at 12:57 pm
If you absolutely are identifying a row here base on the values of emp1, emp2 and emp3, then you can create a calculated field that persists in the table. This...
September 29, 2016 at 12:14 pm
Another option you can try is the fixed width delimiter in SSIS. THere is no guarantee here though as it totally depends on the way your data is laid out.
September 28, 2016 at 1:45 pm
You are in a tight spot here. You have text files with commas as the field separators and some of those fields are strings with commas within them. You cant...
September 28, 2016 at 1:44 pm
RonKyle (9/28/2016)
I have several dozen csv files where the data quality is poor, so is difficult to load directly into the SQL Server 2012.
I have trouble imaging this, and certainly...
September 28, 2016 at 11:41 am
Michael L John (9/27/2016)
and Access does a better job pulling spread sheets in then SSIS.
So you would not use SSIS to pull into Access? I think the user wants...
September 27, 2016 at 1:59 pm
If you are able to access the folder and file then you may want to study creating a proxy account for the SQL SERVER Agent account. This allows the agent...
September 27, 2016 at 1:54 pm
I am not totally certain but you may want to install the appropriate version of the provider (32 bit, 64 bit) on both the machine where Office is installed and...
September 27, 2016 at 1:44 pm
If DAX in any way resembles MDX then I would say yes it is hard. Like any language, if you dont use it you begin to lose this. This holds...
September 27, 2016 at 1:31 pm
Viewing 15 posts - 466 through 480 (of 1,233 total)