Viewing 15 posts - 91 through 105 (of 215 total)
Hi
Please check
1. The locale settings for the server, typically happens if you passed date as MM/DD/YYYY and should be DD/MM/YYYY (or vice versa).
2. Nvarchar values are less than 1753-01-01...
September 2, 2015 at 12:53 pm
Very nice :cool:, but as I see most of us prefer (and me too) 3 definitions of aliases
Thanks
September 2, 2015 at 12:32 pm
Hi
For unsigned:LEFT( (DT_WSTR, 20) @[User::zonevalue],3)
Regards.
Mike
September 1, 2015 at 2:25 am
Hi
Here is very good example of incremental load http://sqlblog.com/blogs/andy_leonard/archive/2007/07/09/ssis-design-pattern-incremental-loads.aspx
As the last step add Execute T-SQL Statement Task to update status_flag = 'D' for rows which are not exist...
August 31, 2015 at 5:48 am
Hi Charmer
Regarding the FileSpec Expression. I saw in your PS code that you processing only files with names that contain the value passed
by parameter $FileName, so I did the same...
August 31, 2015 at 1:01 am
Hi
Is the another server (where your windows app reside) under same domain as the SQL?
Best regards
Mike
August 29, 2015 at 3:28 pm
Charmer, You can do that with For Each Loop Container & Script Task instead of Process Task.
1. Add Each Loop Container:
- set Foreach File Enumerator in Collection
- add Expression for...
August 28, 2015 at 6:50 am
Hi
Please do the right click on Powershell shortcut and choose 'Run as Administrator'.
Regards
Mike
August 27, 2015 at 1:21 am
Don't worry, I'm also not a Master Blaster with PowerShell, I used trivial batches with Process Task over a decade,
I just started using PS this year.
To run PowerShell scripts...
August 26, 2015 at 6:30 am
Small example from my ps script:
Start-Process -FilePath "C:\Program Files\7-Zip\7z.exe" -ArgumentList "-wG:\TEMP e dbcopy.tgz" -PassThru -Wait
Regards
Mike
August 26, 2015 at 4:58 am
Hi Charmer
Imho it will be better if you change the extension to ps1.
There is another issue with PowerShell and Ssis, when you call any Start-Process
in ps script, add -PassThru -Wait
...
August 26, 2015 at 4:26 am
Hi
Please try to set in "Arguments" something like that: -ExecutionPolicy ByPass -command ". 'D:\db_r\scripts\wipe.ps1'"
and replace D:\db_r\scripts\wipe.ps1 with your path&filename.ps1
Regards
Mike
August 26, 2015 at 3:48 am
Hi
Hmm, won't be easier if you simply set *vendor*.csv
in Enumerator configuration section
for Foreach File Enumerator?
Bet regards
Mike
August 26, 2015 at 2:09 am
That's a quite easy question, it is well-know from SQL Server 2000.
Thanks
August 26, 2015 at 1:29 am
Hello Stylez
You can try to set expression on the text box:
=Switch(Fields!GrandTotal.Value < 1000,Format(Fields!GrandTotal.Value, "Yor first Format"),Fields!GrandTotal.Value > 1000,Format(Fields!GrandTotal.Value, "Your second Format"))
Best regards
Mike
August 25, 2015 at 3:00 pm
Viewing 15 posts - 91 through 105 (of 215 total)