Viewing 15 posts - 556 through 570 (of 7,164 total)
If "business day" = "weekday" then call it that in your code. "business day" implies you're accounting for things like holidays or other events proprietary to your business.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
January 12, 2016 at 6:38 am
Dave C. (1/11/2016)
How can I identify the value of the variable or csv file it is failing on when it's running via sql agent?
This is a basic logging requirement...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
January 11, 2016 at 11:48 pm
Database grants, revokes and denies are logged so with Log Shipping they are applied to the Secondary. Replication allows you to have mismatched permissions and even mismatched schemas and data...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
January 11, 2016 at 11:40 pm
Polymorphist (1/11/2016)
[Execute Process Task] Error: In Executing "C:\MyFolder\my.exe"...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
January 11, 2016 at 11:22 pm
PS May I ask what it is these PowerShell scripts do and why you need to kick them off from a T-SQL context and who or what will be calling...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
January 11, 2016 at 11:10 pm
A couple options:
1. Setup a SQL Agent Job to run each of your PowerShell scripts and start the jobs from within your proc using msdb.dbo.sp_start_job which will start the job...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
January 11, 2016 at 11:08 pm
I love what TVPs bring to the party especially when coupled with .NET since you can seamlessly pass an ADO.NET DataTable to a stored proc, how great. Performance with a...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
January 11, 2016 at 1:33 pm
Oh, and archive this set with the date/time stamp so that you can recreate the files they accidentally lose without having to re-query the source data.
Why not just archive the...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
January 11, 2016 at 12:03 pm
Phil Parkin (1/11/2016)
Orlando Colamatteo (1/11/2016)
Phil Parkin (1/11/2016)
Orlando Colamatteo (1/11/2016)
1. Execute SQL Task gets all IDs needing to go into the...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
January 11, 2016 at 11:59 am
Yet another option that still uses SSIS but that puts more focus into the T-SQL selection logic is to generate a resultset where the data is already interleaved that contains...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
January 11, 2016 at 11:50 am
Alvin Ramard (1/11/2016)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
January 11, 2016 at 11:41 am
Phil Parkin (1/11/2016)
Orlando Colamatteo (1/11/2016)
1. Execute SQL Task gets all IDs needing to go into the file and stores in...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
January 11, 2016 at 11:32 am
For SSIS I was thinking more along the lines of this:
1. Execute SQL Task gets all IDs needing to go into the file and stores in SSIS variable of type...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
January 11, 2016 at 11:02 am
I think you are on a good track. Inwould start out watching your memory usage really closely to make sure you leave enough for the OS to do file streaming...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
January 11, 2016 at 9:28 am
This group-concat SQLCLR aggregate generally outperforms the XML techniques available in T-SQL:
http://groupconcat.codeplex.com
The code on the site has test scripts comparing it to the XML techniques if you want to try...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
January 9, 2016 at 10:06 am
Viewing 15 posts - 556 through 570 (of 7,164 total)