Viewing 15 posts - 76 through 90 (of 148 total)
Setup a subscription to shared folder (not email).
Then use SSIS to first compress (zip) the file (say Excel) and then copy to FTP site folder.
Have done this and it works.
April 28, 2011 at 4:39 pm
Thanks Joe, it worked fine.
I modified your code slightly to cater for instances where the student_name is null by using
OVER (PARTITION BY school_name) instead of OVER (PARTITION BY student_name).
Code...
April 18, 2011 at 2:08 pm
Hi Jack, in some of the rows the value for [Student] column is NULL.
This causes your query to give incorrect results. How do I fix ?
April 16, 2011 at 2:46 pm
Objective: where there is multiple SourceType for a Student, only return rows where SourceType is
minimum value. Thanks Jack, your query worked like a charm.
Had to modify your query a slight...
April 14, 2011 at 2:36 pm
If the subreport back button ( <--) works in Visual Studio (BIDS) then the subreport back button (web browser) should work in Report Manager. Many times the back button in...
April 1, 2011 at 1:05 pm
select . . .,
SUM(CASE WHEN DATEPART(wk, mydate) = 1 THEN myfield ELSE 0 END) as Week1Total,
SUM(CASE WHEN DATEPART(wk, mydate) = 2 THEN myfield ELSE 0 END) as Week2Total,
.
.
.
SUM(CASE WHEN DATEPART(wk,...
March 22, 2011 at 3:00 pm
Looking at all the weekday examples, here is my 2 cents.
SELECT -- convert StartDate to weekdays
CASE
WHEN DATEPART(day,[StartDate]) - datepart(day,DATEADD(ww,0,getdate())) = 0 THEN 'MON'
WHEN DATEPART(day,[StartDate]) - datepart(day,DATEADD(ww,0,getdate())) =...
November 16, 2010 at 12:05 pm
Hi veeren4urs, can you give examples of join on report side ?
October 6, 2010 at 3:17 pm
Hi Jack Corbett, your example illustrated the basic use of Cursor and While Loop, can you use the same example and provide a set based example. I have a number...
July 12, 2010 at 1:34 pm
Thanks ravi4work. Your method worked excellent in the one type of stored procedure. In the other type of stored procedure my method worked excellent. Thanks again.
May 25, 2010 at 4:32 pm
Hi Jeff, it worked like a charm. Not to mention that the code is not complicated or cumbersome,
yet extremely effective. Thanks again.
May 10, 2010 at 5:53 pm
Hi Jeff, thanks, you're a genius. I also had a look at some of your other articles:
http://www.sqlservercentral.com/articles/T-SQL/62867/
The "Numbers" or "Tally" Table: What it is and how it replaces...
May 8, 2010 at 6:37 am
Hi Bhuvnesh, I think you misunderstood my post.
The Stored Procedure has one date parameter (UpdateDate).
Want to execute the stored procedure in a loop while the UpdateDate is between
'2010-01-05' and '2010-01-25'.
April 16, 2010 at 1:42 pm
/*
The Stored Procedure has a date parameter.
myProc should run in a loop while the date is between '2010-01-05' and '2010-01-25',
so date '2010-01-28' will be skipped.
I dont want to add anything...
April 15, 2010 at 11:47 pm
Hi dehqon, my problem is almost identical to your's. Hope someone can assist us.
March 12, 2010 at 3:43 pm
Viewing 15 posts - 76 through 90 (of 148 total)