Viewing 15 posts - 196 through 210 (of 223 total)
You can use tally table. Do a a not in with the tally table and your table.
You can read about tally table here - http://www.sqlservercentral.com/articles/T-SQL/62867/
Ping back if you...
April 1, 2010 at 3:22 am
Check this out but it is not simpler than Dave's solution. There are no assumptions here. I assume that if you have a group classification, you would like a Group...
April 1, 2010 at 3:15 am
Chandradyani (3/26/2010)
Well, I still don't understand. If I should got that result like that from DB then I don't understand why I got to pivot that query?
Is there any...
March 26, 2010 at 3:58 am
I am guessing here, aided by faint memory from a past experience. So you may want to check this with someone who is better equipped.
If you need to display it...
March 26, 2010 at 3:39 am
Can you post some data?
The input data as you get from DB and the output as you want to display it in SSRS.
- arjun
March 26, 2010 at 3:04 am
Ok, i see. Let me check around. But i think it won't be possible straightaway.
- arjun
March 26, 2010 at 12:20 am
Paul White NZ (3/25/2010)
Nugby (3/24/2010)
...I'd get nothing back despite there being a potential match for the 21st.
Ah, I see! Thanks for clarifying that. Just for completeness, all we...
March 26, 2010 at 12:02 am
Do you need this row-wise?
By 'this' I mean
xxxx
Productname unitprice
pppp 50
zzzz 10
yyyy
Productname unitprice
qqqq 20
If you need it column-wise, you can simply add a group by in your table or matrix. And...
March 25, 2010 at 11:51 pm
If you expect an answer, you should do better than that Mr Raja.
- Arjun
March 25, 2010 at 6:50 am
Cool, just let us know if you face any roadblock.
-Arjun
March 25, 2010 at 1:18 am
Check out the following query to get a hang of pivot. It is part of a solution that i suggested for a post.
When you run it, you will get to...
March 25, 2010 at 1:04 am
Hey no problem buddy 🙂
March 24, 2010 at 11:21 pm
You can use tally table and pivot to get the output mentioned. I don't have much time to give you a query as of now. I could probably post a...
March 24, 2010 at 6:36 am
If you want the data in separate columns, try this:
create table #t(customernumber varchar(10), notes varchar(10), lastvisitdate smalldatetime, nr int)
insert into #t values(100000, 'text 1', '10.feb.2010',1)
insert into #t values(100000, 'text 2',...
March 24, 2010 at 6:00 am
Did that solve your problem Jagger?
I don't quite understand what you mean by
but I still need all columns.
columns are:
customernumber
lastvisitdate
nr (1)
nr (2)
nr (3)
row -> 100000,10.feb.2010, New York, London, Paris
If the...
March 24, 2010 at 5:15 am
Viewing 15 posts - 196 through 210 (of 223 total)