Viewing 15 posts - 1 through 15 (of 25 total)
I normally use SP to restrict what user can and can't see, by passing the user ID as parameter from the SSRS report. The soluting in this article is...
May 18, 2010 at 3:22 am
Thanks for the good article, Amit. I was looking for a way this morning to find all the dates between start date and end date, and there you go,...
December 14, 2009 at 3:43 am
Nice one! thanks for sharing.
July 23, 2009 at 3:15 am
After browsing through the internet, it seems like that feature is not support in the current SSRS versions.
July 23, 2009 at 3:08 am
the following article would be a good example for you to understand the varaibles in SSIS package:
http://sqlis.com/post/Looping-over-files-with-the-Foreach-Loop.aspx
July 22, 2009 at 8:55 am
you can use a variable to hold the table name. The new file name can then pass to this variable while running the SSIS package.
July 22, 2009 at 8:49 am
_simon_ (6/18/2009)
Both scripts are OK, thank you very much 🙂
yes, only on the assumption that no price changes will be made on the same day, otherwise both scripts will break...
June 18, 2009 at 7:01 am
_simon_, try the script in my last post, it should only return 6 rows, rather than 7 rows..
June 18, 2009 at 6:41 am
Dugi (6/18/2009)
As I can see and little bit...
June 18, 2009 at 6:34 am
_simon_ (6/18/2009)
Maybe this is better representation of actual data:
if object_id('tempdb..#temp') is not null drop table #temp
create table #temp (item varchar(10), price1 money, price2...
June 18, 2009 at 6:11 am
VM (6/18/2009)
Pyay Nyein (6/18/2009)
SQL Server returns the resultset which it can return fastest. So it would be that 4 is fastest to return for this statment.
What do...
June 18, 2009 at 5:17 am
try this one..
SELECTItem, price1, price2, date
FROM#temp
WHEREdate = (select max(date) from #temp)
UNION
SELECTdistinct T.Item, T.price1, T.price2, (case when (T.price1 = C.price1andT.price2 = C.price2) then C.Date else t.Date end)
FROM#temp T
INNER JOIN#temp...
June 18, 2009 at 4:47 am
SQL Server returns the resultset which it can return fastest. So it would be that 4 is fastest to return for this statment.
If ORDER BY clause is...
June 18, 2009 at 4:13 am
if you are expecting 1, try this
select @id = min(id) from @table where [name] = 'SQL Server 2005'
and why are you expecting 1?
June 18, 2009 at 3:59 am
Viewing 15 posts - 1 through 15 (of 25 total)