Viewing 15 posts - 3,181 through 3,195 (of 13,874 total)
What is the datatype of the ID column?
As an aside, calling columns 'ID' is rather bad practice, as it provides no hint as to what sort of ID it is.
Being...
November 8, 2019 at 3:14 pm
Hopefully I've attached all the code you need.
As in 'none at all'?
Very difficult to help without more info!
November 8, 2019 at 3:10 pm
Alternatively
SELECT ROUND(@TestNumber + 0.3, 0, 1);
November 8, 2019 at 12:22 pm
Will this work?
SELECT ROUND(@TestNumber - 0.2, 0);
November 8, 2019 at 12:18 pm
convert(varchar,mydatefield,101)
Do you prefer this over the more intuitive (in my opinion)
cast(mydatefield as date)
?
November 8, 2019 at 12:10 pm
Hi Phil, do you think its better to use Row count transformation and take the counts into variables first ?
Thanks
Getting row counts using that transformation requires reading every row...
November 7, 2019 at 12:21 pm
When you use SSIS to call procs which return data from one or more temp tables, you need to add a WITH RESULT SETS definition to your EXEC PROC call,...
November 6, 2019 at 10:50 pm
If the Comments argument is sometimes not being passed at all, you can default it like this
ALTER PROCEDURE [dbo].[APUpdateComments]
(
@DocID varchar (50),
@ID varchar (50),
...
November 6, 2019 at 6:31 pm
That is an unsatisfying resolution!
You should probably attend to those truncation warnings ... one day, when your input data changes, they'll turn into unhandled errors.
November 6, 2019 at 3:15 pm
Phil, can you please give me the exact code the for the script task ?
I could, but that would mean I was doing your job for you.
How about you...
November 6, 2019 at 1:44 pm
You want only the counts, not the data in the files?
Use a Script Task to get the counts
var rowCount = File.ReadLines(file).Count();
and write that out to a file of your choice...
November 6, 2019 at 1:34 pm
Does the All Executions report give you any additional information? It should tell you exactly which component is failing, for example.
November 5, 2019 at 9:55 pm
No Phil, as i have already mentioned above that if the job is running more than 1hr it should trigger the alert.
Am I missing something obvious here?
The Job is...
November 5, 2019 at 8:35 pm
Thanks Phil for your quick response and if its detected that will help for application team to check it further.
even we can avoid any issues from SQL server side
I...
November 5, 2019 at 4:35 pm
I'm with Thom.
Sounds like a Flat File Source, to a staging table, followed by one or more ExecuteSQL tasks to fire off the stored procs you need to process the...
November 5, 2019 at 4:32 pm
Viewing 15 posts - 3,181 through 3,195 (of 13,874 total)